Telerik Forums
UI for WinForms Forum
3 answers
310 views
I want to add a telerik component in my page on pageload event....I tried to use page.Controls.Add(telerikComponent);
But this function needs ASP components to pass as a parameter in, not the telerik components.....what to do for it plz help me!
Nikolay
Telerik team
 answered on 06 Nov 2008
3 answers
166 views
Hi there,

I'm trying to generate xml from the datasource of rad gridview. Following is how I'm binding data to the grid:

radgvParticulars.MasterGridViewTemplate.DataSource = dsTODetails.Tables[1];

I'm wrote the following code to extract the xml from the datasource:

DataSet ds = (DataSet)radgvParticulars.DataSource;
string strXml = ds.GetXml();

This throws an InvalidCastException - "Unable to cast DataTable object to DataSet object". Then I tried the same by writing the below code:

DataTable dt = new DataTable();
dt = (DataTable)radgvParticulars.DataSource;
DataSet dsnew = new DataSet();
dsnew.Tables.Add(dt);
string strXml = dsnew.GetXml();

But this throws another exception: "DataTable already belongs to another DataSet".

I'm unable to proceed further. Pls help.

Regards,
Pramod Goutham.
Nick
Telerik team
 answered on 05 Nov 2008
6 answers
210 views
Hello i am using several RadForms as child forms for an mdi. Part of this is letting the user decide the size of each RadForm by entering values in textboxes(height and width textboxes). I have tried to put the resizing of forms in the text changed events, but that does not seem to be working, as the radform seems to default to a different size before the user has a chance to enter the full value. Why is this? I have tried setting the minimum size of these radforms to be really small as well, but it still seems to default to some other values. On a seperate note, i had this functionality with the resizing in the Leave event of the textbox. However the problem with that is if the user has entered values for a child form, and clicks on a different child form, it resizes the new child form instead. All these child forms are being created at run time and i am using Winforms Q2 SP1 2008. A work around for either one of those cases would be good. Thanks in advance.
Afaan
Top achievements
Rank 1
 answered on 05 Nov 2008
3 answers
129 views
Is there a way, theming or otherwise, to change the height of the column header row in the gridview?  I can't seem to find a property that does the trick.

Thanks!
John
Top achievements
Rank 1
 answered on 04 Nov 2008
1 answer
140 views
Hi experts!

I use this properties in the winform datagridview:
  • AllowUserToAddRows
  • AllowUserToDeleteRows
  • ColumnHeadersHeightSizeMode
  • Columns.AddRange
  • RowHeadersVisible
I can't find nothing like that in the Rad control.

Please help me ...




Nikolay
Telerik team
 answered on 04 Nov 2008
1 answer
98 views
I am using the carousel control in my app because of the gradient background and itemreflection properties.

Do you have any other controls, such as a panel control, that will allow me to add labels and have it reflect on the parent control? I also need to be able to add a gradient as well.

tx.
Nick
Telerik team
 answered on 04 Nov 2008
1 answer
84 views
There is IsSelected property on cells and rows, but when I programically select row/cell, there is still one more selected (first row) which was there after grid initialization. I tried to deselect row by this, but with no result

 

if (radGridView1.CurrentRow != nullradGridView1.CurrentRow.IsSelected = false;

 

Nick
Telerik team
 answered on 04 Nov 2008
1 answer
85 views
Hi Telerik,

how to reorder the column based on certain values?
For example:

                data1  data2  data3 data4
data a         1        10        20     30
data b        20       30        50     10
data c         4         1            2       3
total           25        41        72    33

become     

                data3  data2  data4 data1
data a        20        10       30      1
data b        50       30        10     20
data c         2         1            3      4
total           72       41         33     25


Thanks.
Nick
Telerik team
 answered on 04 Nov 2008
3 answers
140 views
When using a RadTrackbar with a minimum value below 0 and maximum above 0, setting the value 0 zero sets the handle to the wrong position.

So let's say the minimum is -50 and the maximum +50 setting the value to 0 should position the tracker in the middle. But it sets it to the farmost left.

Is this a bug?

Thanks,
Gerard van Eldik.
Nick
Telerik team
 answered on 04 Nov 2008
1 answer
87 views
Hi,

I'm using a GridViewCheckBoxColumn in a filter grid, that I'm adding at run time.  If there are no rows in the table whe the column is added, the checkbox in the filter row has a strange half square at the bottom and the gradient background of the checkbox is gone.  This is also the case if I add the checkbox column before I add the row.  All the other checkboxes (in the data rows) look normal.  On the other hand, if I add the rows first, then the checkbox column, the checkbox in the filter row looks just like all the others.

Any ideas on how to fix this would be appreciated.

Thanks,
Kevin
Nick
Telerik team
 answered on 04 Nov 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?