Telerik Forums
UI for WinForms Forum
1 answer
141 views
I have several columns in a RadGridView control available for editing a percentage value.  The "P" mask works great using a GridViewTextBoxColumn except I can't figure out how to set a limit on the number of digits a user can enter into a cell.  There USED to be a MaxLength property to define the maximum length, but in the recent versions of the Rad Controls, this property has been removed ... no longer available.  Can you tell me how I can maintain the nice formatting that the "P" mask provides (while editing) and still specify the maximum length of the string of digits the user is allowed to enter?
George
Telerik team
 answered on 05 Aug 2013
24 answers
2.4K+ 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
54 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
245 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
407 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
122 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
85 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
121 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
82 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
132 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
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?