Telerik Forums
UI for WinForms Forum
2 answers
346 views
Hi -

I have a RadDateTimePicker column in my grid that is initially null. So I am calling SetToNullValue.

But when the user opens the RadDateTimePicker, we would like to set a default date. It appears to use the MinDate for the default date, which my user's don't like.

For example, for a search feature the system defaults to no date criteria (a null value date). But the user can search up to 3 months back (.MinDate = Today.AddMonths(-3)) But the user's don't want to default to this date when the calendar opens.

So is there an easy way to set a default date in this case?

Thanks!
Deborah
Top achievements
Rank 1
 answered on 23 Nov 2010
13 answers
437 views
Hi,

I could easily change the RadListDataItem ForeColor by setting its ForeColor property, but I can't find out the way to change its backcolor, instead. What should I do?

Thanks, 
Giovanni
Peter
Telerik team
 answered on 23 Nov 2010
2 answers
270 views
Hello,

Suppose, i am having the a RadListControl with 5 items.
I programatically select two item from it before loading the form.
 

 

For Each typeItem In LcChecklistType.Items
  If typeItem.Value = 1 OR typeItem.Value = 3 Then
      typeItem.Selected = True
  End If
Next


I have added handler progarmatically after this for each loop.
now when the form is loaded completely.
1.  if I "deSelect" the selected item say 1, the selectedindexchange event is not firing but the item is deSelected. now again back I Select the same item 1, then the event is fired.


2. if I "Select" other item which is not selected say 2, then the event is fired.


Help Appreciated.
ASAP

 

 

Thanks!
Sachin


 

 

Peter
Telerik team
 answered on 23 Nov 2010
9 answers
176 views
Hi Guys,

I have an issue where I am trying to set the BackColor property of a RadForm to a paler blue than the default. It displays fine in DesignTime, but in runtime it reverts back to the standar mid blue.

Please advise what I am doing wrong? Is it something to do with the theme? If so how do I change or dsiable this?

Best regards,
Duane.
Stefan
Telerik team
 answered on 23 Nov 2010
4 answers
140 views
I installed Telerik Rad Control Windows From Q3 2010 .

And I Download : Telerik_RadControls_for_WinForms_VS_Projects.rar in this Homepage

I try to run any Solution.But i have Bug and I cant Run.....:



click here to see My Error

Please help me !

 
Dobry Zranchev
Telerik team
 answered on 23 Nov 2010
2 answers
217 views

Hi,
I try to use the RadDataGridWiew to binding my collection of Object.

I define 5 columns wich one is a checkboxcolumn.

But when i click on the checkboxcell, the datagridwiew throw an exception "Data Exception".
the error indicates that it's impossible to convert the value "Off" to boolean type.

???

Best regards.
Richard Slade
Top achievements
Rank 2
 answered on 23 Nov 2010
1 answer
204 views
hi team,

toolstrip for q2 relase.

After closeing a radtoolstrip .I mean when it is floating and closed.I need to show again.

please let  me know on closing i wan to hide and show again the same toolstrip.

Thanks
suresh.
Ivan Todorov
Telerik team
 answered on 23 Nov 2010
2 answers
150 views
Hi
I have a hierarchy gridview.
how I can get the value of a specific cell in a specific row in the subgrid which name is GridViewTemplate1.  
Richard Slade
Top achievements
Rank 2
 answered on 23 Nov 2010
6 answers
294 views
hi there..
i have some problem when i tried to show / hide from some panel or forms...
here my code for show / hide the panel when the radribbon image clicks...

'hide all of the panel...
 
    Public Sub bikinPanjangNol()
        Me.PanelDataBuku.Visible = False
        Me.PanelDataKaryawan.Visible = False
        Me.PanelDataMahasiswa.Visible = False
    End Sub
 
'then show the panel when radribbon image click....
    Private Sub TombolDataBuku_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TombolDataBuku.Click
        bikinPanjangNol()
        PanelDataBuku.Visible = True
        'Me.PanelDataBuku.BringToFront()
    End Sub
 
    Private Sub tblDataMahasiswa_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tblDataMahasiswa.Click
        bikinPanjangNol()
        PanelDataMahasiswa.Visible = True
        Me.PanelDataMahasiswa.BringToFront()
    End Sub


that's code just work for the first panel....for the rest of panel..it didn't work.....
can u give me some of the solutions..???
thanks...
mampus
Top achievements
Rank 1
 answered on 23 Nov 2010
9 answers
170 views
Hello,

I have upgraded Telerik for Winforms to version Q3 2010 (version 2010.3.10.1109) .
In the _CellFormatting-event I add a RadComboBoxElement to a cell.
Since new version the event behaves strange or different.
e.CellElement.RowIndex is always -1 ?
void gridPositionen_CellFormatting(object sender, CellFormattingEventArgs e)
{
       if (e.CellElement.ColumnInfo is GridViewDataColumn && ((GridViewDataColumn)e.CellElement.ColumnInfo).Name == "Me_Dropdown")
       {
       
          if (e.CellElement.Children.Count > 0 || e.CellElement.RowIndex<0)//the comboxbox is already added to cell                        
          return;
 
                    
//NEVER GETS HERE !!!!  e.CellElement.RowIndex is always -1
 
 
                    RadComboBoxElement element = new RadComboBoxElement();
                    e.CellElement.Children.Add(element);
....



How do I get the RowIndex in the CellFormatting-event ? Or is there a new way to add a RadComboBoxElement to a cell ?




Richard Slade
Top achievements
Rank 2
 answered on 23 Nov 2010
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?