Telerik Forums
UI for WinForms Forum
2 answers
277 views
What I'm trying to do is AutoGenerateColumns at the end of the predetermined columns of the radgrid.  It works fine the first time the form loads, but if i change the dataset to bring back an extra column of AutoGenerated data the grid doesn't show any of the AutoGeneratedColumns anymore.  However if I remove an AutoGenerated column of data from the dataset the grid will still display the correct AutoGenerated columns of data. 

I have tried setting the radGrid.DataSource to null as well as the MasterTemplate.DataSource, before I rebind the grid with the new fields for the AutoGeneratedColumns, but that doesn't seem to work either...
Vassil Petev
Telerik team
 answered on 24 Sep 2008
3 answers
221 views
I would like to enable/disable button's on my form based on whether the user clicks the master row or the child row.
I am trying the following code, but this does not seem to work correctly in all the conditions.

What is the correct way to do this?
-------------------
GridViewSelectedRowsCollection selectedRows = this.rgResults.SelectedRows;
foreach (GridViewRowInfo selectedRow in selectedRows)
{
GridViewDataRowInfo selectedDataRow = selectedRow as GridViewDataRowInfo;
if (selectedDataRow != null)
{
bool isMaster = (selectedDataRow.ViewTemplate.ChildGridViewTemplates.Count == 1);
if (isMaster)
{
//Enable button1
//Disable button2
}
else
{
//Enable button2
//Disable button1

}

Jack
Telerik team
 answered on 23 Sep 2008
7 answers
213 views
I just downloaded the Q2 2008 RadControls for WinForms and I cannot find any documentation for the RadMultiColumnCombobox.  I am not finding anyting in Documentation Help file or in the Examples.  Am I missing something?
Nick
Telerik team
 answered on 23 Sep 2008
3 answers
224 views
What I am trying to do would be to either when the user is leaving the cell or when the user is leaving the row I want to validate the data entered and if they fail the validation then to not allow the user to leave either the cell or row.  I would like to be able to pop a message and inform the user of the error and then set the cursor to when the error exists. 

Is this possible?
Martin Vasilev
Telerik team
 answered on 23 Sep 2008
3 answers
150 views
hi,

how can i drag 'n drop elements from the gridview to the treeview control?

thanky you for the answer,

andreas
Rob
Top achievements
Rank 1
 answered on 23 Sep 2008
1 answer
366 views
Hi
Am new to telerik and we are evaluating the RadGridView functionality for our project. I have worked some time but couldnt completely make a point of following functionalities needed by us. Can you please help me to resolve the same

1)Can we show only limited specified fields of the object binded along with some unbounded columns(like check box for selection). How to state to show only few and not all the fields of the binded object.

2) Once the grid is binded to any generic collection, can we add a new object of the same type to the grid to create a new row.(Is it mandatory that the collection should implement IBindingList, if not it throws expection when trying to add a new object/row ). What is the best way to add a new row in this scenario.
Also, the newly added row should be able to have selectable combobox, datetime and other controls to select right option for the column, which can then be individually captured to set for the corresponding object of the row.
Note: I may not need this comobox in same cell of other rows. Something like, all other rows be noneditable and only the newly added  row cells are editable and once the focus is lost, its made uneditable.
How can I place controls like RichTextBox, datetimeEditor, ComboBox into the cells.
This is a major point of focus, any code example will be appreciated.

3) Handling sorting.
I see there is a SortChanging event, which gives the new header values for sort.
As our DB is huge and we implement our own custom sorting along with pagination, we would like to handle the sort.
Isn't there any SortHandled property in this event as we dont want to make e.cancel, doing which it doesnt show the sort indicators.

4) Hierarchy : How to achive heirarchy with 
    a) Collection of objects (for which we can have heirarchy condition)
    b) DataSet

5) An example of showing that individual cells can accept different controls like checkboxes, combobox, datetime, image editors etc.,

6) Any Printing option from the grid.

7) Any Paging : Like many of the webgrid does when binded to DB.

8) Some kind of RowInitialised event, where in we can set that row cells to be editable/ non editable or row to be visible/hidden.

Help for the points with an example code will be very helpfull so as to know if RadGridView can be used in our project.

Thanks in advance.
Arif

Martin Vasilev
Telerik team
 answered on 23 Sep 2008
4 answers
179 views
Hello,
what is the correct event handler to get notice that the user has clicked "Show below the ribbon"/"Show above the ribbon" and "Minimize the ribbon"/"Maximize the ribbon"  of the quick access menu?

Carsten
Top achievements
Rank 1
 answered on 22 Sep 2008
1 answer
242 views
Hi,$0We use the Telerik.WinControls.UI.RadSpinEditor control in our UI. While we configure that tab order for the form controls inside a form, we notice that it takes two tabs to get the focus onto the SpinEditor control. $0$0$0$0$0Is there some special setting that needs to be done for SpinEditor controls? The tab order works fine on single tab for moving the focus to all other controls. Only the SpinEditor seems to need 2 tabs to move the focus from the previous control onto it.$0$0$0$0$0Thanks,$0$0Hemanth$0
Martin Vasilev
Telerik team
 answered on 22 Sep 2008
1 answer
173 views
Hi there,

i'm new with theming and just created a new application wide theme. I inserted the following code in the MainForm_Load:

ThemeResolutionService.RegisterThemeFromStorage(ThemeStorageType.Resource, "Program.Resources.ApplicationTheme.xml");  
ThemeResolutionService.ApplicationThemeName = "ApplicationTheme"

This works great, also for different UserControls and Forms. But now I want to create some hierarchy within the theme.

Examples:
The RadLabel. For most of the time I can use the defined style in the ApplicationTheme. But I also need for a specific number of  labels some header styles (like a <H1> or <H2>, somewhat bigger and Bold).
The RadButton. Most of the time the buttons are blue, but some buttons must be red.

How can I achieve this? I can't really find an option in the VisualStyleBuilder. And I played with the <RadStylesheetRelation> section in the XML file combined with the ThemeName and ThemeClassName in the VS designer, but no results so far. Can I implement Theming on a CSS way? Is there any HowTo or Tutorial available?

Thank you,

Maarten
Mike
Telerik team
 answered on 19 Sep 2008
5 answers
187 views
Are there any known issues with radtextboxes not taking themes as other cotrols do?

My radtextboxes are not displaying themes while other types of controls do.

Ryan
Martin Vasilev
Telerik team
 answered on 19 Sep 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
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?