Telerik Forums
UI for WinForms Forum
3 answers
606 views

Hi, I'm trying to use Telerik UI for Winforms in my C# application to create a dashboard widget. Is there a control in Telerik UI for Winforms that similar to card dashboard on web application ?

Like this figure (this is a screenshot of my Telerik's profile page)

What I want to create is something like this

 

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Mar 2022
1 answer
188 views

Hi,

I have some questions on RadPageView Winforms UI. How can I change the color of hamburger button and RadPageViewPage when I hover my mouse on to it ? Let say, I want to change it to #3373ba hex color.

And also, is it possible to change the dropdown arrow color for hierarchical navigation menu here ?

 

Thanks before.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Mar 2022
1 answer
95 views

Hello,

I am knee deep converting our business app over to Telerik (which is an awesome suite of tools I wish I would have gotten it sooner!) and am running into an issue with the RadListView in detail view. I really need the ItemMouseHover event to work so I can show a custom form while the mouse is over the item but for some reason it's not firing. I have tested the ItemMouseEnter and ItemMouseLeave events and they fire correctly. Is there something I am missing to enable this event?

My test code is really simple:

  Private Sub lvBusinessApps_ItemMouseHover(sender As Object, e As ListViewItemEventArgs) Handles lvBusinessApps.ItemMouseHover
        Debug.Print("Hover")
  End Sub

 

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Mar 2022
1 answer
219 views
Hi,
  We are try to use Rad Pdf viewer which load pdf file with 10 to 20 pages, in that some of thumbnail showing blank page and when click that blank page thumbnail we getting error like "Object reference not set to an instance of an object", If close and open it show blank page for different pages.
Our code is :

        Me.RadPdfViewer1.LoadDocument(System.Windows.Forms.Application.StartupPath + "\pdf\Sample.pdf")

Here we attach error screenshot and exe and testing file at your end, We cant send whole project bcz size more that 30 mb, so we send exe and testing file, In form load event just used above one line code.

Pls reply asap

Thanks
M Kumar
Top achievements
Rank 1
Iron
Veteran
 updated question on 11 Mar 2022
1 answer
127 views

Hello,

I have Raddropdownlist control with list of items. Some of the items have the same display value but whole objects are different. DropDownListElement.AutoCompleteSuggest.SuggestMode property is set on SuggestMode.Contains value. When I use filter for descripted situation I get list of items (number of items is correct) but all position on filtered list is pointing on the same item (selected indexes alsow are the same). Could you tell my what can I do to get correct filtering result for this situation?

 

All the best

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Mar 2022
1 answer
78 views

We were using the built-in windows DateTimePicker for all of our dates, and have changed to using RadDateTimePicker, and i am having a few issues/questions.

1. We have Overrides setup on KeyPressEventArgs to trap the ENTER key which then sends a TAB - so our users can just hit enter to move to the next field instead of being required to hit tab (this works on all data entry fields except raddatetimepicker).

2. The user is required to type in the full year. We have the format set to Short. Using standard windows DateTimePicker, the user could type 22 and it would make it 2022. But, if the user types 22 now, it just puts the 22 in the year. So if the year was 2003 and you type in 22, the year now becomes 0322. We want the year to be entered as 2 digits and use the current century. How would we do that?

3. We don't want the user to be able to clear out the date completely, we want a date to be entered. Windows didn't allow this (we never set min date values). I even set the NullDate to be "1/1/1901" and that made it when i "cleared out" the date it displayed 1/1/0001.

Thanks for your help.

Dinko | Tech Support Engineer
Telerik team
 answered on 09 Mar 2022
1 answer
272 views
RadTextbox  by Default text should be highlight or selected
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Mar 2022
1 answer
1.0K+ views

Hi

After fetching information from the database and performing calculations, I want to add the information to the data grade view.
I have already made the columns based on the data type
I get this error when running the program:

"Rows can not be add programmatically added to the rad radgridview's  Rows collection when the control is data-bound"

This error does not always occur and it happens by accident

Whatever I searched for, I did not find the reason

Maybe my solution to this is wrong

Thank you in advance for your support

 

This code snippet is inside a loop and may run hundreds of times :

var item = new GridViewDataRowInfo(dailyGridView.MasterView);

                        if (dailyGridView.Columns.Any(c => c.Name == "Code"))
                            item.Cells["Code"].Value = personelInfo.First().Code;
                        if (dailyGridView.Columns.Any(c => c.Name == "FirstName"))
                            item.Cells["FirstName"].Value = personelInfo.First().FirstName;
                        if (dailyGridView.Columns.Any(c => c.Name == "LastName"))
                            item.Cells["LastName"].Value = personelInfo.First().LastName;
                        if (dailyGridView.Columns.Any(c => c.Name == "Date"))
                            item.Cells["Date"].Value = PersianDateTime.FromDateTime(report.Date).ToShortDateString();
                        if (dailyGridView.Columns.Any(c => c.Name == "DayName"))
                            item.Cells["DayName"].Value = PersianDateTime.FromDateTime(report.Date).DayName;
And more line ...


dailyGridView.Rows.Add(item);

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Mar 2022
1 answer
91 views

I'm using the RadSpreadProcessing library to import Excel files, process them, and export back out.

I come across an issue when cells have complex formulas.

These complex formulas have dependencies on other cell values which those values get set (SetValue(...) method) while processing the worksheet after its been imported.

When I try to get the cell value of the complex formula using this call:

cellSelection.GetValue().Value.GetResultValueAsString(cellSelection.GetFormat().Value)

it returns me a value of #NAME?.

When I try to get the value of the complex formula using this call:

cellSelection.GetValue().Value

I noticed a ResultValueType of Error.

But when the workbook is exported back out the cells do not contain #NAME? in them. They contain the correctly auto-calculated values.

In the attached ComplexFormulaIssue.PNG, Row 1 column A value gets set while processing the worksheet using the SetValue(...) method (set it from NX: 12 to 12 for example).

Row 1 Column B formula depends on Row 1 column A value (which works fine since it's an easier formula I guess. No issue here).

Row 1 Column C and D are normal text values.

Row 1 Column E has a complex formula that has dependencies to all the other cell values (this is the one that gives me issues).

I attached 2 other PNGs as examples of formulas I used in Row 1 Columns B and E.

Vladislav
Telerik team
 answered on 09 Mar 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?