Telerik Forums
UI for WinForms Forum
1 answer
167 views
How do you force a calculated column in the GridView to refresh without reloading data, if a column is changed by a user that is part of the calculated column expression?

Thanks...Bill
Julian Benkov
Telerik team
 answered on 26 Mar 2009
1 answer
121 views
I am using Q3 2008 and have created a toolstrip that has several buttons on it and 2 splitbutton controls.

I have set screentips for all the buttons and splitbuttons , however the screentips on the splitbuttons never show themselves whereas the button screentips always work. What will I need to do to get the screentips on the dropdowns working ?
Victor
Telerik team
 answered on 26 Mar 2009
4 answers
132 views
Hi,

I have a MultiColumnComboBox and I set (both in Property Builder) and in properties -> EditorControl -> MasterGridViewTemplate the columns to only have two against the bindingsource I have speficied, however all the columns are added at runtime.  I have manually changed the AutoGenerateColumns on the EditorControl -> MasterGridViewTemplate in code but still it auto generates the columns.

Any help appreciated.
Ken
Top achievements
Rank 1
 answered on 25 Mar 2009
6 answers
423 views
I'm currently using the demo controls to develop my application.

I have 3 combobox the first is populated on load and the next one is populated based on the first and the third based on the selection in the second drop down.

One the user selects the first 2 combobox selections I query my oracle db and set the datasource of my first grid to that data table.
If the user changes the 3rd combbox then I filter the data in my datatable and rebind.  My problem on the rebinding is the issue of my checkbox column.  The checkboxes do not clear out when I rebind.  I've tried deleting the column and readding it but then my data doesn't bind all I see is the checkbox column.

What is suppose to happen when a user selects a checkbox is the second datagrid is populated based on their selection.  They can check multiple rows.  The second data grid will also have a checkbox column that I will use to  generate a report.

My main problem is when I have to clear my grids and rebind the checkbox column doesn't seem to work correctly.

Please any help would be greatly apprciated.

This is my code to remove and readd the checkbox column to my first grid. Which isn't working.
GridViewCheckBoxColumn chkCol = radGridView1.MasterGridViewTemplate.Columns["Selected"as GridViewCheckBoxColumn;  
if (chkCol != null)  
{  
radGridView1.MasterGridViewTemplate.Columns.Remove(chkCol);  
GridViewCheckBoxColumn chkCol = new GridViewCheckBoxColumn();                   
chkCol.DataType = typeof(int);  
chkCol.UniqueName = "Selected";  
chkCol.FieldName = "Selected";  
chkCol.HeaderText = "";            
radGridView1.MasterGridViewTemplate.Columns.Add(chkCol);  
}  

Anything that can point me in the right direction would be greatly appreciated.  I'm on a time constraint and am trying to verify I can do all this with the telerik controls. 

Nick
Telerik team
 answered on 25 Mar 2009
1 answer
114 views
hi,

Is there any way of adding radiobutton in dropdownbottom.

regards,

Bibek Dawadi
Deyan
Telerik team
 answered on 25 Mar 2009
3 answers
227 views
I have been noticing that on your RadForm there is a problem with how you get your GetDCEx. To keep it short I'll give you a short piece of code that can help you.

public

static IntPtr GetDC(Message msg)

 

{

 

 

if (msg.Msg != (int)WindowMessages.WM_NCPAINT)

{

 

return GetWindowDC(msg.HWnd);

}

 

int flags = (int)(DCX.DCX_CACHE | DCX.DCX_CLIPSIBLINGS | DCX.DCX_WINDOW );

 

IntPtr zero = IntPtr.Zero;

 

 

if (msg.WParam.ToInt32() != 1)

{

flags |= (

 

int)DCX.DCX_INTERSECTRGN;

 

 

zero = msg.WParam;

 

 

}

return GetDCEx(msg.HWnd, zero, flags);

}

 


Deyan
Telerik team
 answered on 25 Mar 2009
1 answer
130 views
I have a column that is defined as GridViewCheckBoxColumn  I'm able to check the checkboxes and the code behind does what it's suppose to do.  My problem is when I filter another column the checked rows stay checked but the data for that row has changed.  When I try and do it programmically every time I do the following

this.radGVTables.Rows[i].IsSelected = false;   
The  radGVTables_ValueChanged event fires and it is looking for the rowindex.  
But since it was the filter that was selected the rowindex is -1.    
 
1. Is there a way to change the rowindex or cycle through the rows?   
2. Is there a way to clear out all the checked checkboxes?  
3. How have others handled Checkboxes and Filters?  
 
Thank You  
Jerry  
 



 
 
 
Jack
Telerik team
 answered on 25 Mar 2009
1 answer
117 views
Hey Telerik,
I wanted to ask - have you seen any issues with this?  I have a Radtreeview inside a RadRibbonForm, and when I show a large context menu for the point in the treeview I'm clicking, it often will show "behind" the windows taskbar.  This only seems to occur after the RadRibbonForm has been resized/maximized, minimized.

Can anyone let me know if you've seen this and if you have a work around?  We're running Radcontrols for Winforms 2008 Q3.

Thanks!

Jim
Deyan
Telerik team
 answered on 25 Mar 2009
1 answer
136 views
Very new to the winforms component, am builiding my first app and all is going well however pretty much every control has a blue background when I run my app. I don't see this in the designer and have no idea where this setting is coming from.

Help?
Nick
Telerik team
 answered on 25 Mar 2009
1 answer
123 views
Hi,

I have the problem theming a RadTitleBar on a ShapedForm.

What I did:
0. created a new default WinForm-Project
1. added all the Telerik-dlls to the project and changed the Form to a ShapedForm
2. added a RadTitleBar
3. added the file RadTitleBarVista.xml from the Telerik VS2008 C# Examples project as a embedded resource.
4. added a RadThemeManager and added the xml-file to it (StorageType: Resource)
5. selected the now appearing Vista-theme to the RadTitleBar: the design view changed and the RadTitleBar has the Vista-Theme applied.
6. Compiled and started the application: The RadTitleBar now has the Office2007Blue or default-theme(???)
7. I also tried setting the ThemeName to "Vista" in the FormLoad-Method with no effect.

Fyi, I'm using VS 2008 on Vista (32 bit).

How can I get the Vista-Theme on the RadTitleBar? What am I doing wrong?

Thanks in advance!
Nikolay
Telerik team
 answered on 25 Mar 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)
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?