Telerik Forums
UI for WinForms Forum
1 answer
150 views
Hi,
  My application has capabitily to design the forms at runtime and ll host to some server. that case I have to give the preview functionality for the radgridview to User.

So when user drag and drop the radgridview from the toolbox itself i need to display the popuation of the required columns with some test data.

I am capturing the event of the drag and drop through Idesignerhost and in that , I had put the following code. The code is executing fine but the databinding is not reflected in the gridview. but if we give datasoure in design time we are able to see the columns with all data. I need the same kind of functionality through code and columns will be decided through code.

DataTable myDataTable = new DataTable();

myDataTable.Columns.Add(

"ControlID", typeof(String));

myDataTable.Columns.Add(

"UpdateField", typeof(String));

myDataTable.Columns.Add(

"DisplayField", typeof(String));

DataRow row;

row = myDataTable.NewRow();

row[

"ControlID"] = "Data";

row[

"UpdateField"] = "Data";

row[

"DisplayField"] = "Data";

 

myDataTable.Rows.Add(row);

draggedGrid.DataSource = myDataTable;

draggedGrid.DataBind();

Pleae let me know if my question not make sense..

Many thanks in advance.
Raghu



Julian Benkov
Telerik team
 answered on 11 Sep 2008
5 answers
146 views
hi,

in tree statemode checkboxes are not displayed starting from level 3. I am doing someting wrong ?

dogu tumerdem
Martin Vasilev
Telerik team
 answered on 11 Sep 2008
1 answer
122 views


Dear All
I'm have some question about  RadGridView .
I'm insert checkBox in RadGridView and i have button force select all checkbox in Radgridview by this command 

        this
.RadGridView .Columns["check"].Expression. = true.ToString();

after that i can't uncheck some checkbox  in Radgridview .

Can u help me for sold this problem ?




 

Jack
Telerik team
 answered on 11 Sep 2008
1 answer
89 views
I have two separate ComboBoxColumns on a RadGrid.  The grid is bound to a collection of business objects.  I have tried, through the Property Builder and in the code, to set the data-source of each column to a different binding source.  The binding sources are the same business object, but different collections.

When editing the values of the columns, the drop downs for the different columns are both showing the same list.  Some executions of the application will show one list, other executions will show the other list.  Is it only possible to have one source for combobox's dropdowns?

Thank you!
Adam
Top achievements
Rank 2
 answered on 10 Sep 2008
1 answer
75 views
Is it possible to get an emf image from a RadChart?
Dwight
Telerik team
 answered on 10 Sep 2008
2 answers
179 views
I have created a new theme and in that theme I want the RadLabel to default with a transparent background.
 
I assumed this was the backcolor of the Fillprimitive , but that has not worked.

I then went as far as to make the backcolor of all the primitives and even the rootelement itself transparent , but still when I apply the new theme the backcolor is always that of 'control'.

So my first question is , is this bugged or am I missing something and secondly which is in fact the correct property to set for this ? (ie: the backcolor belonging to which primitive?)
Kenneth Jackson
Top achievements
Rank 1
 answered on 10 Sep 2008
1 answer
110 views
This is probably a ridiculous request but I am at my wits end trying to get this to work. I am using VS2008 and am using the Vista theme on a WinControls RadMenu.

When I add a radMenuSeparator item to my RadMenuItem it does not show up. I have tried modding the original Vista theme in the VisualStyleBuilder but I can not get a separator to appear. Help would be much appreciated.

I am using the Rad Controls for Winforms Q1 2008 SP1
Nikolay
Telerik team
 answered on 09 Sep 2008
14 answers
727 views
Hi Telerik,

I created a new theme for radGridView using the visual style builder
and saved it into my project directory.
afterwards I dragged a new themeManager onto my application and "LoadedThemes"-property, loaded the new created theme.
if I click on my theme manager at "LoadedThemeNames", I am actually seeing it.

but when I click on my radGridView and try to select the new theme, it isnt in the list.
Am I missing someting? Wasted almost 2 hours trying around, please give me advise.
Thank you

Best regards

Christian
Peter
Telerik team
 answered on 08 Sep 2008
1 answer
229 views
 
Can I, add a control by code to a tabitem, like a stardard button control, and not one that inherits from radcontrols?

Thanks.
Boyko Markov
Telerik team
 answered on 08 Sep 2008
1 answer
235 views
Hi,

I would like to add tooltips to textboxes when I click in a cell inside RadGridView. I subscribed to the RadGridView.CellFormatting event and did the following, but it doesn't seem to work:

private void rgvEditor_CellFormatting(object sender, CellFormattingEventArgs e)
        {
            if (e.CellElement.ChildrenHierarchy.Count > 0)
            {
                foreach (RadElement element in e.CellElement.ChildrenHierarchy)
                {
                    if (element is RadTextBoxItem)
                    {
                        RadTextBoxItem textBoxItem = (RadTextBoxItem)element;
                        textBoxItem.TextAlign = HorizontalAlignment.Center;
                        textBoxItem.AutoToolTip = true;
                        textBoxItem.ToolTipText = "hello";
                    }
                }
            }

Can you help me?

Thanks,
Tamás
Jack
Telerik team
 answered on 08 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)
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?