Telerik Forums
UI for WinForms Forum
1 answer
69 views
Hi,

I want to show more days in day view. Rite now I can see only 3 days (I have assigned StartDate and EndDate is readonly !)
Is there any other method/property to show more days?

Thanks,
Divyesh Chapaneri
Boyko Markov
Telerik team
 answered on 24 Dec 2009
5 answers
208 views
I was wondering if there is a way to disable the NodeCheckedChanged event from being fired for all children nodes when AutoCheckChildNodes is set to true.

The reason why I want to know this is that I store an xml string inside the tag of each node.  Every node is a possible record in a database.  The xml being stored inside each node contains the information for the current node along with all its children nodes.  When the user checks or unchecks a node, I need to give this xml to another component which in turns inserts or removes the proper information to/from the database.  I know I could keep raising this event for every node and simply keep the info for the current node in the tag, but this could make for a lot of back and forth between components and the database while this way only one call is being made.

I was thinking of keeping a flag inside the NodeCheckedChanged event and checking this flag before processing like the following:
        private void radTreeView1_NodeCheckedChanged(object sender, RadTreeViewEventArgs e)  
        {  
            if (!m_processing)  
            {  
                m_processing = true;  
                // do work....  
                m_processing = false;  
            }  
        }  
 
but I noticed that the calls weren't nested and that it was actually doing all the code before moving on to the next child/sibling node.

Is there a workaround or another event I could use for this?  I want to do the work only once and for the node that was actually checked/unchecked.
Boyko Markov
Telerik team
 answered on 24 Dec 2009
2 answers
310 views
Hello,
I have the two following routines.  They are both finding the control and the correct toggle state, however the .Focusable, .ReadOnly and .Focus on the RadTexBox are not changing.  .Focusable, .ReadOnly display that they have changed, but .Focus does not.
Why is this?
Thanks.

 

Private Sub SRSOther_ToggleStateChanged(ByVal sender As System.Object, ByVal args As Telerik.WinControls.UI.StateChangedEventArgs) Handles SRSOther.ToggleStateChanged 

 

Dim txt As RadTextBox = Nothing

 

 

 

Dim ICon As System.Windows.Forms.Control.ControlCollection = PersonTabStrip.SuspectList.Item(CInt(SusNum)).Controls

 

 

 

For Each cont As Control In ICon

 

 

 

If cont.Name.StartsWith("SgrpSResident") Then 'get textbox from group controls

 

 

 

Dim theGrpBox As RadGroupBox = DirectCast(cont, RadGroupBox)

 

 

 

For Each Gctrl As Control In theGrpBox.Controls

 

 

 

If Gctrl.Name.StartsWith("SRSOtherTxt") Then

 

 

 

txt = DirectCast(Gctrl, RadTextBox)

 

 

 MsgBox(txt.Name)

 

If args.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On Then

 

 

 

txt.Focusable = True

 

 

 

txt.ReadOnly = False

 

 

 

txt.Focus()

 

MsgBox(

"Toggle On, focusable=" & txt.Focusable & " readonly=" & txt.ReadOnly & " focused=" & txt.Focused)

 

 

 

ElseIf args.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Off Then

 

 

 

txt.Focusable = False

 

 

 

txt.ReadOnly = True

 

 

 

txt.Text = ""

 

 

 

MsgBox("Toggle Off")

 

 

 

End If

 

 

 

Exit For

 

 

 

End If

 

 

 

Next

 

 

 

End If

 

 

 

Next

 

 

 

End Sub 'SRSOther_ToggleStateChanged

 

 

 

 

 

 

Private Sub SCatOther_ToggleStateChanged(ByVal sender As System.Object, ByVal args As Telerik.WinControls.UI.StateChangedEventArgs) Handles SCatOther.ToggleStateChanged

 

 

 

Dim ICon As System.Windows.Forms.Control.ControlCollection = PersonTabStrip.SuspectList.Item(CInt(SusNum)).Controls

 

 

 

For Each cont As Control In ICon

 

 

 

If cont.Name.StartsWith("SCatOtherTxt") Then 'get textbox from group controls

 

 

 

MsgBox(cont.Name & " type=" & cont.GetType.ToString)

 

 

 

Dim txt As RadTextBox = DirectCast(cont, RadTextBox)

 

 

 

If args.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On Then

 

 

 

txt.Focusable = True

 

 

 

txt.ReadOnly = False

 

 

 

txt.Focus()

 

MsgBox(

"Toggle On")

 

 

 

Else

 

 

 

txt.Focusable = False

 

 

 

txt.ReadOnly = True

 

 

 

txt.Text = ""

 

 

 

End If

 

 

 

Exit For

 

 

 

End If

 

 

 

Next

 

 

 

End Sub 'SCatOther_ToggleStateChanged

 

 

 

 

Nikolay
Telerik team
 answered on 23 Dec 2009
5 answers
153 views
Hello everybody,

has anyone tried to anchor a RadTextBox top, bottom and right (Q3 SP1)??

Using the Designer View:
I just have a Form, drop a RadTextBox onto that Form, anchor the RadTextBox top, bottom and right and when I start the application I just see the Form. There´s no RadTextBox.

Greetings,
Daniel
Victor
Telerik team
 answered on 23 Dec 2009
3 answers
583 views
How to handle null value with the GridViewCheckBoxColumn, GridViewMaskBoxColumn, GridViewDateTimeColumn, GridViewDecimalColumn, GridViewImageColumn, GridViewTextColumn, GridViewComboBoxColumn ?

Is there any documentation available ?

Kind Regards,

Ramius
Svett
Telerik team
 answered on 23 Dec 2009
1 answer
121 views
Hi,
I have a little problem. When I add columns into the GridView, I can't seem to be able to edit the rows after. The ReadOnly is at false and the AllowEditRow is at true. I don't understand  why I can't edit the GridView rows.

 Thank's

GridViewDataColumn col1 = new GridViewDataColumn("ID","ID");
GridViewDataColumn col2 = new GridViewDataColumn("name","name");
col1.DataType = typeof(int);
col2.DataType = typeof(string);
radGridView1.Columns.Add(col1);
radGridView1.Columns.Add(col2);

object[] row = new object [] {1, "John"}  

radGridView1.Rows.Add(row);

radGridView1.ReadOnly = false;
radGridView1.MasterGridViewTemplate.AllowEditRow = true;

 

 

 

 

 

  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Jack
Telerik team
 answered on 23 Dec 2009
3 answers
197 views
Anybody has come across a situation where the radComboBox.DataSource is not null and different from radComboBox.Items even after going through the regular databinding code for a radcombbox?
I was curious since I have just come across such a case. I am using latest Q3 version of Winforms RadControls.

I have found that the radComboBox.DataSource is not null but a generic List<> with a count of 4 elements and the radComboBox.Items  collection is a count of 0 elements.
To me this seems strange and counter-intuitive.
Victor
Telerik team
 answered on 23 Dec 2009
3 answers
98 views
When we are deploying a project which is developed by sing Telerik controls for winforms, is it necessary to install the controls first and then the application?

Can we not just install the project without doing Telerik?
Nick
Telerik team
 answered on 23 Dec 2009
1 answer
132 views
I am programming in Visual Basic.

Let's say i have 4 arrays (a,b,c,d) with values in them.
I want to databind these arrays programmaticaly, to a datachart so that that have 4(or n) different series for item on the Y-axis.

Something like the attached image.

Can you help me ?
Ves
Telerik team
 answered on 23 Dec 2009
1 answer
142 views
Hello everybody,

as a feature request it would be nice, if the calendar portion of the DateTimePicker could not show dates outside of MinDate and MaxDate (like the MS DateTimePicker).

At the moment it works more like "MinMonth" and "MaxMonth" - you are able to click a day before MinDate, but it is not used.


Greetings,
Daniel
Boyko Markov
Telerik team
 answered on 22 Dec 2009
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?