Telerik Forums
UI for WinForms Forum
1 answer
37 views
Hi,
     I want to enable up and down key for  rad grid to select to row and get values from that. In winform how to achieve this ?

Note:  My grid have simply row it not have sub grid or some other. Please provide sample code in vb .

Pls replace asap.

Regards
Aravind
Nadya | Tech Support Engineer
Telerik team
 answered on 27 Jun 2024
1 answer
21 views
1
Nadya | Tech Support Engineer
Telerik team
 answered on 27 Jun 2024
1 answer
41 views

Using RadCalendar and I thought is would be simple

I want all dates in the past to be disabled and I thought this would do it:

        private void radCalendar1_ElementRender(object sender, RenderElementEventArgs e)

        {
            if (e.Day.Date < DateTime.Now)
                e.Day.Disabled = true;
        }

Th goals is to have it look like this but it seems to have no effect and I can selected dates that the code set as disabled.

What am I missing?

Thanks

Carl

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Jun 2024
1 answer
39 views

Hellow!

How can i change the following properties in the object "RadGanttView" (check image for color usage)

  • Height (RED)
  • Width (BLUE)
Nadya | Tech Support Engineer
Telerik team
 answered on 14 Jun 2024
2 answers
64 views

Hi!

When endUpdate occurs in gridview, the scroll moves to the begin.

In my environment I have to beginUpdate and Endupdate.

But 1 dont' want the scroll to move even if the data is Updated(endupdate timing)!

Please tell me how to prevent the scroll from moving automatically when editing mode is released by double-clicking or when endupdate occurs.

The method of updating the scroll value after endupdate by storing the scroll value before beginupdate failed.

A gif Image and simple project are attached. Please help me!!!

Thank you :)

 

 

Park
Top achievements
Rank 1
Iron
 answered on 13 Jun 2024
1 answer
37 views

Hello Team

How to set horizontal scroll position left most in the RadTreeView ?

Note: telerik version 2024.1.312.48

Attached screenshot for reference:

Thanks

Rajkannan

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Jun 2024
1 answer
43 views

I'm experiencing weird behavior when trying to remove a row using v2023.3.1114. I created a test form in my main app and launch it like this:

Form1 form = new();

form.ShowDialog();

The form populates a grid  by setting the DataSource to a collection of POCOs.

The grid has a a hyperlink column. When the user clicks the column, the goal is to have the clicked row disappear. I'm implementing it like this:

private void gvTaskNotifyType_HyperlinkOpening(object sender, HyperlinkOpeningEventArgs e)

{
    try
    {
        int rowIndex = e.Row.Index;

        gvTaskNotifyType.Rows.RemoveAt(rowIndex);
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message);
    }

}

 

Problem is when the RemoveAt() method is called it throws a Object reference not set to an instance of an object . It may happen the first time or more often the 3rd. It also happens if I use Remove() and pass in a reference to the row object and also if I try to set the IsVisible property to false. The really strange part is that the error doesn't enter the catch handler. Rather, its stops on the form.ShowDialog(); line and breaks there.

Any ideas?

Carl

Nadya | Tech Support Engineer
Telerik team
 answered on 10 Jun 2024
1 answer
40 views

Hello!

I was trying to upgrade several programs to have the font connected to the program size ("dynamic" font). I wasn't able to do it in a simple way because i kept finding problems and i assumed it was some minor telerik object bugs. But then i found out that some of the bugs weren't simple to fix because the fix would impact the program performance. So i created a program from scratch to see if the problem was in my program (i could be doing something wrong since it hd a lot of code) but i came to the conclusion that this problem is actually because of the theme and not mine or the programs fault.

When i use a radgridview and change the font to a higher size (ex: 27) some of the text in the grid won't change if i'm using the theme 'TelerikMetroBlue'. But if i use the default theme 'Office2010Blue' the object works great.

Please check the attached images.

Note: I'm only using a radgridview in this example but the problem was also detected in other objects, like radlistview and radganttview.

 

JP

Nadya | Tech Support Engineer
Telerik team
 answered on 10 Jun 2024
1 answer
32 views

Hi Telerik,

 

I'm using C# and and RadPageView NavigationBar component for my WinForms application.

I think I'll give a background story first.

I implement a RadPageView with NavigationBar, and also implement a search bar between the hamburger menu and the RadPageView items

The item's is populated from a class

 

The "search menu" is used to filter the displayed menu 



And when I clear the search menu's filter, the RadPageViewItems is re-loaded with the previous class data. But, it takes a long time due to a lot of records (FYI, i have ~1000 menus that equivalent to ~1000 RadPageViewItems)



Is it possible to improve the load speed? Like, maybe, any mechanism that stores the fully loaded menu as a local-storage in RadPageView's function/module that I should call when the search menu is cleared after it has been filled?

Thanks in advance!

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Jun 2024
2 answers
44 views

Hello Team,

 I try to set tooltip for combobox lineitem which is disabled , it is not showing tooltip, Is there any way to show tooltip while it disabled ? could you please help on this ASAP?

Please refer below code snippet and attached screenshot. 

private void cmbPlugtype_VisualListItemFormatting(object sender, VisualItemFormattingEventArgs args)
 {
if (cmbPlugtype.DropDownListElement.TextBox.Fill.BackColor != Color.Cyan)
{
    args.VisualItem.ToolTipText = args.VisualItem.Data.DisplayValue.ToString();
}
else
{
    args.VisualItem.Enabled = false;

   args.VisualItem.ToolTipText = "It is Disabled".

}

}

Thanks

Rajkannan

Raj
Top achievements
Rank 1
Iron
Iron
 answered on 07 Jun 2024
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
TaskBoard
Styling
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?