Telerik Forums
UI for WinForms Forum
1 answer
164 views
Hi!
I use the form where it is placed RadWaitingBar. When I display it for the first time - it long boots, much longer, than at usage standard ProgressBar. Whether you plan to optimise loading, and if yes when it to wait?
Nick
Telerik team
 answered on 16 Jan 2009
2 answers
111 views
Hi,
I have a gridview which uses dynamic SQL.  I let the user add as many rows as they want and then when they hit the save button I loop through each row and set the primary key with a new id. However I still get 'Primary Key cannot be null' error even though I have set it. Any ideas?

Thanks
Nick
Telerik team
 answered on 16 Jan 2009
3 answers
129 views
I'm using RadControls for WinForms (2008.3 1204).

Assume the following: I have a DateTimePicker. MinDate and NullDate are both set to 1900/01/01. Now I change the MinDate property programmatically to 2009/01/01. In this case, the Value as well as the NullDate property will also be set to 2009/01/01. Furthermore, even if I set the NullDate back to 1900/01/01 after this it is not possible to set the DateTimePicker's value to the NullDate (either by Value=NullDate or by calling SetToNullDate() ) - because the value has to be between MinDate and MaxDate but the NullDate is not.

In my eyes this behaviour is senseless. First, the NullDate property should be completly independent from the MinDate - MaxDate range, to set one of them should not effect NullDate. Second: The DateTimePicker should accept the NullValue date as correct input, even if it is not between MinDate and MaxDate.

I think the condition for accepting a value should be

Value == NullDate || 
Value >= MinDate && Value <= MaxDate 

Or am I mistaken?
Boyko Markov
Telerik team
 answered on 16 Jan 2009
5 answers
119 views
I've got a grid with two columns, the first is a readonly column and the second column collects user input.  When tabbing from the user input column, I get the desired behavior that the cell below the current one is activated and enters edit mode.  However there is a system beep (is it because the "next" cell is read-only?)
Nick
Telerik team
 answered on 16 Jan 2009
3 answers
142 views
Hello,

I've got a form containing two identical databound GridViews. They are bound to two different DataTables. DataTable2 is a clone of DT1 but on Load only DT1 contains some rows. I've also got two buttons which move all selected rows (in GridView1) from DT1 to DT2 and vice versa. Both GridViews should have the same SortBy- and GroupByExpressions. When I don't add the GroupByExpression to GV2 everything works fine but the grid is not grouped. But when I add the Expression and move Rows to DT2 (shown in GV2), the GroupBy-Rows are shown correctly but when I expand them there is no text shown in the added data rows. I can't figure out why that happens.

The GridView contains three columns:
one visible Column containing Text
one hidden column containing Dates (the GridView is sorted by this column)
one hidden column containing enumvalues (in a ComboBox) (the GridView is groupedby this column)

I hope that I could make clear what I'm trying to do. If you have further questions please ask.
I'm using the latest version of the controls in Visual Studio 2008 running on a Vista64 machine.

Any ideas?

Kind regards,
Nils
Jack
Telerik team
 answered on 15 Jan 2009
8 answers
264 views

Hi Guys,

This issues starts with the following thread, specifically the CellFormatting routine.

http://www.telerik.com/community/forums/winforms/gridview/radmenuitem-in-radgridview-events.aspx

We were able to get the grid to display with the RadMenuElement  and RadLabelElement(s) replacing the standard command button.  It looks very cool and works well until the user starts to have a lot of data in the grid – the grid slows down to a crawl (dude, I am talking major crawl with display issues like you wouldn’t believe).  This makes sense because the CellFormatting event is fired whenever you do anything with the grid.  As referred in this thread:

http://www.telerik.com/community/forums/winforms/gridview/adding-image-to-imagecolumn.aspx

So…  I decided to move this functionality as was suggested, but I ran into another issue.  I continually run up against the CellElement object being NULL.  As found in this thread:

http://www.telerik.com/community/forums/winforms/gridview/cellelement-null.aspx

In this thread you state the CellFormatting event handler “is the only place where the CellElement is surely not null”.  Big problem, since the CellFormatting event is causing the grid to slow down, and it makes no sense to put my functionality here because I only need to draw the RadLabelElement(s) once on databind anyways.

So…  I am stuck.

I have tried to get access to the CellElement in the following events:  DataBindingComplete, and CreateCell with no success.

Where can I get access to the CellElement before the grid renders so I can perform the following code.

This code was pulled from the CellFormatting event.

---------------------------------------------------------

e.CellElement.Children.Clear();
RadMenuElement buttonElement = new RadMenuElement();
buttonElement.Items.Add(new RadMenuItem("view"));
buttonElement.Items.Add(new RadMenuItem("modify"));
buttonElement.Items.Add(new RadMenuItem("release"));
buttonElement.Items.Add(new RadMenuItem("new"));
e.CellElement.Children.Add(buttonElement); 


Many thanks,

~Mike

Nikolay
Telerik team
 answered on 15 Jan 2009
4 answers
856 views
All,

Thanks for the opportunity to use this control. I have a question regarding the active tab for the RadRibbonBar. I have many forms in my application and when I open certain forms, I would like to change the active tab of the RibbonBar. For instance, say I have a tab name File and another one named Actions. The default form load tab opens with file as the active tab. When I open a form, I would like to change the default tab to the actions tab and make it viewable. I hope my question is clear enough. If not, I will elaborate more. Thank you for your time in this matter.

JPADKINS
Peter
Telerik team
 answered on 15 Jan 2009
1 answer
227 views
Hello,

I have a Sql database with tables. In each table, there are some types of data such as: string, int, image. Now i want to freely display my database by using Carouse control, where, one record for one item of carousel. I want to customize content what will be displayed on Carousel item: arrange postion of image on carousel item, position of vallue fields on carousel item. BUT i don't know how to do ?

By Devexpress product, namely, GridView control. This control can display a record of database on Carousel Item (string, int, image...). You can view at: http://www.devexpress.com/Products/NET/Controls/WinForms/Grid/carousel.xml

Can anybody help me ?

Thank you so much !

Deyan
Telerik team
 answered on 15 Jan 2009
2 answers
119 views
I use a BindingList with the gridview and the ListChanged event.

Now when i try to delete the last row in the grid with the context menu the row is visually deleted in the grid but the BindingList's  ListChanged event handler doesn't fire up so my BindingList does not recognize the deleting of the last row of the grid.

In other rows it works ok.

Greetings,

Ramius

Ramius
Top achievements
Rank 1
 answered on 15 Jan 2009
1 answer
230 views
I am doing my first project with the WinForms controls and things are going fairly well.  However, I have not been able to figure out what Telerik control to use in place of the Windows GroupBox control.

Thanks in advance for your help,
Jim
Nick
Telerik team
 answered on 15 Jan 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?