Telerik Forums
UI for WinForms Forum
1 answer
202 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
157 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
228 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
169 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
547 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
234 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
176 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
97 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
481 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
1 answer
229 views
The feature page for the GridView says the following:

"Ability to use other Telerik controls as editors
You can nest any RadControl or custom element within
RadGridView. This feature gives you extra flexibility in
building functionality into applications and allows you
to add new custom editors (combobox, textbox, listbox, etc). "

I looked through the examples but couldn't find an example of a custom editor.  Does anyone have a sample of using a custom editor that runs inline with the cell?
Peter
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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?