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

I am having problem setting up conditional formatting with enum value.

The grid is bound to the list of objects which have the enum called Priority { High, Normal, Low }. I am setting different colors based on the priority and the formatting is not working. The case sensitive has no effect.

Any ideas ?
Jack
Telerik team
 answered on 14 Aug 2009
1 answer
222 views
I get one thing sorted then hit another problem, I'm sure someone will now this.

I want to allow the user to choose the SKIN from a combo box and refresh the chart to display the new colour scheme.
I thought it would be an easy bit of code like:

RadChart1.Chart.Skin = "Black"
RadChart1.UpdateGraphics()

Thanks in advance Guru's,

Gary

Robert
Top achievements
Rank 1
 answered on 13 Aug 2009
7 answers
189 views
Hi,

I have a grid (2009 Q2) with a number of GridViewComboBoxColumn attached to them, each of which is populated from an array data source. I wish to highlight one of the items in the combo when it is dropped down for some reason (i.e. changing the font to Bold). To do this I intercept the EditorRequired event to get access to the default editing control being supplied for the cell - my idea is that I can access the created control and manipulate its contents. Here is my method

static

 

void grid_EditorRequired(object sender, Telerik.WinControls.UI.EditorRequiredEventArgs e)

 

{

Telerik.WinControls.UI.

RadComboBoxEditor comboEditor = e.Editor as Telerik.WinControls.UI.RadComboBoxEditor;

 

 

 

if (comboEditor != null)

 

{

Telerik.WinControls.UI.

RadComboBox comboBoxControl = comboEditor.EditorElement.ElementTree.Control as Telerik.WinControls.UI.RadComboBox;

 

 

// Do some work with the combo box control here

 

}

}

However the e.Editor is always Null (the e.EditorType is typeof(RadComboBoxEditor) as expected).

I see from several postings that I would expect to have an instance of the RadComboBoxEditor in the e.Editor property, and that this event is the correct one to do what I'm trying to do.

In addition, other posts have been shown solutions which show that RadComboBoxEditor class has an Items collection, but in my edition of Rad this property does not exist, and I'm guessing my route through to the combo box items collection is through .EditorElement.ElementTree.Control.

Can you help untangle this for me ?

Nikolay
Telerik team
 answered on 13 Aug 2009
1 answer
105 views
Hi :

i have same question about the following thead:

http://www.telerik.com/community/forums/winforms/gridview/rowvalidating-event-missing.aspx


i think this issue is important when add a new row into rad datagrid

will  this issue solved in the latest version?

Victor
Telerik team
 answered on 13 Aug 2009
1 answer
132 views
Hi,
How can i change RadPanelBarGroupElement caption in radpanelbar at runtime
Boyko Markov
Telerik team
 answered on 13 Aug 2009
1 answer
259 views
Hi, is there a way to have scroll bars when there are too many events on a RadScheduler? It happens when I switch to Week view.. I see there are unaccessible appointments in the Scheduler and without scroll bars I can't see them properly.

Also, I've changed to look of the RadSchedulerNavigator and RadScheduler and when I click on either Week or Month on the navigator, it changes the view back to the original version and does the same on the Scheduler. Is there a way to avoid that?

Thanks
Boyko Markov
Telerik team
 answered on 13 Aug 2009
1 answer
455 views
dear all,
i am newbie in winform.
I have 2 radpanel in mainform. i have 2 usercontrol is usercontrol1,and usercontrol2.
In usercontrol1 have a button. usercontrol1 nested in radpanel1. when app run i want click button in usercontrol1 i wish panel2 load usercontrol2.
how i can archive
thanks all.
Robert
Top achievements
Rank 1
 answered on 12 Aug 2009
3 answers
223 views
I am seeking any reference to see if RibbonBar can support dynamic creation of Contextual Tabs.

Business Example:

I have a ribbon bar with one tab "Contacts" with button options to "Add New", "Edit Existing" or 'Delete" and a list of existing contacts.

When I select "Add New" this would create a contextual tab "Add New Contact" display buttons "Save" or "Cancel" and a form to complete the contacts details. When press "Save" or "Cancel" the contextual tab would close.

When I select "Edit Existing" this would create a contextual tab "Edit Existing Contact" display buttons "Save" or "Cancel" and a form with the contacts info to edit the contacts details. When press "Save" or "Cancel" the contextual tab would close.

I would like to have multiple contextual tabs open at the same time... "Add New", "Edit Exiting", "Edit Existing", etc..

Any guidence would be greatly appreciated!
Peter
Telerik team
 answered on 12 Aug 2009
3 answers
234 views

Hello Telerik team,
I should start by saying your tools are pretty cool.

My question has to do with the radCarousel component. I would like my form to work exactly like the RadWin demo.

i.e. Click on a menu on the left > which displays options in a carousel.

 

Features I would like to include in a prototype I am working on:

- Show three options in a carousel

- Click each option and have it go round the carousel like the RadWinDemo

- Hover over RadItem makes the item glow

- Launch external form on clicking on RadItem in the middle (clicking on items on the left and right should perform normal animation)
- The easing effect animation as each item is clicked or scrolled.

 

Question:

- Can I load a theme that accomplishes all this? If so how do I do this?
- Please provide step by step directions on how to accomplish this...

Thanks.
 

Peter
Telerik team
 answered on 12 Aug 2009
3 answers
185 views
Hi,

I am trying without success to serialize the grid's settings using the SaveLayout function.
I call SaveLayout in the FormClosing event. The exception is always the same, and reproducable on different machines and different (sample) projects.

The Argument exception i get is:
The name '(default)' contains characters that are not valid for a Culture or Region. Parameter name: name

which is thrown:
at System.Globalization.CultureTableRecord.ValidateCulturePieceToLower(String testString, String paramName, Int32 maxLength)


My CurrentCulture and my CurrentUICultrue are both "en-US". I was able to make the SaveLayout() work in a sample app that I created from scratch, with nothing in it, no data, no databinding.

However, in my main application, where I add columns programatically, and databind to a Bindingsource, I get this exception. I have been able to remove all properties set in the .designer.cs file so that only the very default settings are used when calling SaveLayout. It seems that if I do NOT add any columns at all to the grid, the SaveLayout() does not throw the exception (but nothing is saved because there is nothing to save, I guess? The resulting XML file is empty save a root node <RadGridView/>). As soon as I add one single column -- which in my case id done during Form.OnLoad -- the exception is thrown.

My grid is readonly, and filtering, grouping is turned off. Editing/deleting rows is done programmatically. There is no context menu, etc. The only thing the user can do, really, is 1.) sort and 2.) change the column widths.

I can reproduce the error with having the Telerik DLLs locally (CopyLocal=true), as well as referencing them in the GAC.
I can reproduce this with 2009 Q1 SP1 and 2009 Q2. My subscription expired before I could test with Q2 SP1.

Any idea?

Thanks.
Jack
Telerik team
 answered on 12 Aug 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)
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?