Telerik Forums
UI for WinForms Forum
3 answers
478 views
Hello,

How do I let the user enter in a null or empty date using the RadDateTimePicker? Shouldn't there be a checkbox, which the user can uncheck if they want to specify an empty date?

There is a "Checked" property on the RadDateTimePicker, but it doesn't appear to do much, and all the documentation says is: "When ShowCheckBox is true, determines that the user has selected a value"

Any ideas?
Boyko Markov
Telerik team
 answered on 08 Feb 2008
1 answer
160 views
I have figured out how to change the StartButtonImage just fine, however where do I go to change the color of the round element behind it (And the mouseOver colors)?  I've looked at the Edit UI option and perhaps I missed it when I looked for it, but I can't find it anyways, surely it's possible to change those colors?
Nikolay
Telerik team
 answered on 08 Feb 2008
4 answers
120 views
Hi all,

It seems to be a quiet easy thing, but I can't find the way to remove all groups (each one with a radtreeview on it) from the radPanelBar. I was using items.clear sentence before Q3 and it was working, but now when I requery the data source of the radPanelBar to reload all new groups dinamically, there are problems with the previous treeviews... they are still there after execute radPanelBar.Items.Clear().

Any idea's?

Thanks & regards,

Julio
Boyko Markov
Telerik team
 answered on 08 Feb 2008
2 answers
186 views
Hi
At this moment I'm busy with evaluation the Telerik RadGrid in combination with NetTier. I'm trying to make the master/detail functionality working. I tried to do this at design time and in code. I looked at the examples but all of them used dataset instead of list of objects. I think that I make a mistake when setting the key for the master and for the detail in the relation ship The reason for this thinking is that I have the same problem when I add a combobox The combobox is filled but the underlaying value (the text instead of the id (FK)) is not showed (same for the detail)
I tried several things like getting the data for the master and for the details separatly or by using a deepload but nothing works (except for one time but instead of displaying the detail data the grid showed the master data in the detail data so it was a one on one situation but offcourse not correct) Below you will find the code of my last attempt (purly in code not in design) Maybe someone call tell me what is wrong or can give me an working example Thanks for your time.
The code is for binding modules (the master) to modules session (an in between table in the database) The key fields have the same name


//Get the data for the master

EducationModuleService serviceModule = new EducationModuleService();

TList<EducationModule> modules = serviceModule.GetAll();

grdvModules.DataSource = modules;

 

//Get the data for the Detail

EducationModuleSessionService serviceModuleSession = new EducationModuleSessionService();

TList<EducationModuleSession> moduleSession = serviceModuleSession.GetAll();

// bindingSourceModuleSession.DataSource = moduleSession;

//Create the Detail template

Telerik.WinControls.UI.

GridViewTemplate templateModuleSessions = new Telerik.WinControls.UI.GridViewTemplate();

templateModuleSessions.AllowAddNewRow =

false;

templateModuleSessions.DataSource = moduleSession;

templateModuleSessions.SummaryDisplayStyle = Telerik.WinControls.UI.

SummaryDisplayStyle.None;

 

//Add the detail template to the master template

this.grdvModules.MasterGridViewTemplate.ChildGridViewTemplates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {

templateModuleSessions});

//Create the relation and add it the the RadGridView

GridViewRelation relation = new GridViewRelation(this.grdvModules.MasterGridViewTemplate);

relation.ParentColumnNames.Add(

"EducationModuleId");

relation.ChildColumnNames.Add(

"EducationModuleId");

relation.ChildTemplate = templateModuleSessions;

relation.RelationName =

"ModulesSessions";

this.grdvModules.Relations.Add(relation);


Benny
Top achievements
Rank 1
 answered on 08 Feb 2008
2 answers
121 views
I have the following code:

private void gridAttributes_RowFormatting(object sender, RowFormattingEventArgs e) 
        { 
            AttributeBase obj = e.RowElement.RowInfo.DataBoundItem as AttributeBase; 
            GridCellElement cell = null
 
            if (obj.DataType == "varchar"
                cell = e.RowElement.RowInfo.Cells[2].CellElement; 
            else if (obj.DataType == "bit"
                cell = e.RowElement.RowInfo.Cells[1].CellElement; 
 
            cell.Enabled = false
            cell.DrawFill = true
            cell.GradientStyle = Telerik.WinControls.GradientStyles.Solid; 
            cell.BackColor = SystemColors.ControlLightLight; 
        } 

It works fine on initially setting up which cells should be enabled or disabled, either cell 1 or cell 2 will be enabled, but not both.  The problem comes when I've got enough rows to cause a vertical scroll bar to appear.  As I scroll down, BOTH cells will be disabled.  Then as I scroll up and down, the problem works its way up the grid until all cells in columns 1 and 2 are disabled and grayed.

Any ideas?  Thanks.  Please let me know if you need more info.
Nordy
Top achievements
Rank 1
 answered on 07 Feb 2008
4 answers
505 views

I'm trying to use the "IsChecked" property for DataBinding, but it doesn't change the underlaying DataSource - not like a standard CheckBox's "CheckedState" property. I know, "ToggleState" holds the real state, but I need a boolean property for DataBinding...

Thx for any help in advance...

Georgi
Telerik team
 answered on 07 Feb 2008
4 answers
164 views
Can anyone point me to the "Basic" theme as an XML file? I'd like to make some modifications to it, but starting from scratch is a real pain.
Justin
Top achievements
Rank 1
 answered on 07 Feb 2008
5 answers
139 views
Hello,

Is this possible to download and use the theme showing in the first part (WPF like demo) of your winforms video ?

Thanks.

Jerome
Nikolay
Telerik team
 answered on 07 Feb 2008
1 answer
69 views
Hello,

Is it possible to plot values/lines along y-axis with Chart for WinForms control? Usually, chart components can do only line-plotting along x axis...

Thank you for information!

-pom-
Nikolay
Telerik team
 answered on 07 Feb 2008
6 answers
438 views
When using the ribbon control it has its own title bar but I can't figure out how to delete the standard window title bar and frame to look like the Office2007 apps.  The example also skins the standard window frame but I can't follow how it works either.  Any help is appreciated during this evaluation period.
Nikolay
Telerik team
 answered on 07 Feb 2008
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?