Telerik Forums
UI for WinForms Forum
24 answers
2.7K+ views
Hi Guys

I recently added a radiobutton element to the standard RadComboBoxItem by overriding the CreateChildElements() method on the control.

I was wondering if there was an override on the RadTreeNode which I could use to disable the checkbox which displays on a Node. I want the user to be able to see the checked state without being able to change it? Could I add a method to an inherited node which would allow me to use code like this.  

RadCustomTreeNode.Checkbox.Enabled = false;"

Many thanks in advance

Regards
Ian Carson
Stefan
Telerik team
 answered on 05 Aug 2013
2 answers
75 views
Hello,

Is it possible to count the days separating two dates excluding weekends ?
Sorry if the topic has already been discussed, I did not find anything similar on the forum

Thank you in advance !

Best regards,

Eric
ERIC
Top achievements
Rank 2
 answered on 02 Aug 2013
3 answers
273 views
Hi I don't have chance to use c# and radcontrol .

so please help me .

I want to know AppointmentEditDialogShowing method use,

If  "Scheduler_AppointmentResized" activate like this

   private void Scheduler1_AppointmentResized(object sender, Telerik.WinControls.UI.AppointmentResizedEventArgs e)
        {
            //this.radScheduler1_AppointmentEditDialogShowing(sender,e);
           //this.radScheduler1_AppointmentEditDialogShowing();
          
     
        }
I want to show the AppointmentEditDialog, but i don't know the method 




Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2013
5 answers
442 views
I am trying to display gridlines in the Detail View of a ListView control. I am currently using the VisualStudio2012Dark theme and it does not show the gridlines that separate each row. I have watched several of your webinars on the themebuilder but cannot figure out how to modify the theme to have gridlines.

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2013
1 answer
160 views
I've been reading through the tutorials and forums to see if this is possible or if maybe my approach is wrong. Here's what i am doing.

I am using a pretty simple grid with an id number in the second column.  The first column is a checkbox cell.  All I want to do is to check the checkbox of say 4 or 5 of the rows and them ask the grid which rows have been selected.  Does the grid's selected rows collection maintain this for me or do I have to code this myself to store the key's seperately, which is easy enough to do.  But from looking at the various forum threads, it looks like the grid will do this if you allow mulitple row selections.  But when I set this and check the selectedrows collection, it is always empty.

This sounds like a VERY common question and approach, but I cannot find the anwser.  What I would like to do is something like the following.  This doesn't work because the selectedrows(0) is always empty.  In fact, when I view just the selectedrows, the count is always 0.  So the grid is not keeping track of this for me.

I do have the option turned on to select multiple rows.  I can add my own logic to track this, but I think the grid is handling it based on other threads and the sample code below. 

Private Sub dgvLoanRestore_ValueChanged(sender As System.Object, e As System.EventArgs) Handles dgvLoanRestore.ValueChanged
            dgvLoanRestore.EndEdit()
  
            Dim selectedRows As New List(Of GridViewDataRowInfo)
            Dim item As Object = dgvLoanBackup.SelectedRows(0).DataBoundItem
            selectedRows.Clear()
            selectedRows.Add(item)
  
            ' Recount rows selected (i.e. the number of checked checkboxes in the grid)
            lblSelectedRowCount.Text = selectedRows.Count.ToString()
        End Sub




Anton
Telerik team
 answered on 02 Aug 2013
1 answer
108 views

Hello Telerik !
How to get Selected Index of items from Multi Rad Select List View :(

[url=http://upanh.com/view/?id=8vpe0zekflh][img]http://i5.upanh.com/2013/0731/15//57016499.untitled.png[/img][/url]

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2013
1 answer
155 views
Hi,

i have a RadDropDownList programmatically filled as

radDropDownListTempo.AutoSizeItems = true;
 
radDropDownListTempo.Items.Add(new RadListDataItem() { Text = "Item 1", Tag = "1", Selected = true, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....Resources.Clock32, ImageAlignment =ContentAlignment.MiddleLeft});
 
radDropDownListTempo.Items.Add(new RadListDataItem() { Text = "Item 2", Tag = "7", Selected = false, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....ResourcesClock32, ImageAlignment = ContentAlignment.MiddleLeft});
 
radDropDownListTempo.Items.Add(new RadListDataItem() { Text = "Item 3", Tag = "-1", Selected = false, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....Resources.Clock32, ImageAlignment =ContentAlignment.MiddleLeft});
 
radDropDownListTempo.Items.Add(new RadListDataItem() { Text = "Item 4", Tag = "-2", Selected = false, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....Resources.Clock32, ImageAlignment =ContentAlignment.MiddleLeft});
 
radDropDownListTempo.Items.Add(new RadListDataItem() { Text = "Item 5", Tag = "-3", Selected = false, TextAlignment = ContentAlignment.MiddleCenter, Image = global::....Resources.Clock32, ImageAlignment = ContentAlignment.MiddleLeft});
 
radDropDownListTempo.DropDownMinSize = new Size(0, (this.radDropDownListTempo.Items.Count * 32) + 2);
radDropDownListTempo.Enabled = true;

this are the images of the initial state and after the the popup opened.
i have searched the entire properties in the design options and can't figure what's is wrong.

what i am missing here ?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2013
1 answer
103 views
I see that for asp.net you can set your page format (like footer, page number) when you export a grid to pdf. I see it was added relatively recently. Do you have the same functionality for winforms? If so how do you do it?
If the function is not added when do you think the functionality could be added?
Thank you for your time and help.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2013
2 answers
157 views
1.I added programmatically a button to the navigator bar. Where can I find the handler for the newly created button so I can add my code there?
2.How do you add to the new created button the save image?
3.I don't wish the users to add/modify the buttons they can see on the pdf navigator. What should I do to disallow this?

Thank you for your help and time.
George
Telerik team
 answered on 02 Aug 2013
4 answers
208 views
I have read you can use this to manually invoke the context menu.

this
.radGridView1.ContextMenuManager.ShowContextMenu(radGridView1.CurrentCell)
)

However, what if you want to display the menu and there are no rows? What do i pass as a parm?

Thanks,

Kim  
Dimitar
Telerik team
 answered on 02 Aug 2013
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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?