Telerik Forums
UI for WinForms Forum
3 answers
68 views
Hi,

When moving a sorted column bind to objects of nullable type (DateTime?, int? etc) i get an error. Is this a know bug?

Best regards
Erik
Erik Sundström
Top achievements
Rank 1
 answered on 29 Sep 2009
6 answers
178 views
Hi,

I have a grid view and want a date column to be conditionally formatted.  It works using the code shown below however the header cell for that column also gets formatted.  How do I prevent only the data getting formatted.  Code follows.

Regards,

Jon

Dim amberFormatting As New Telerik.WinControls.UI.ConditionalFormattingObject("Amber", Telerik.WinControls.UI.ConditionTypes.LessOrEqual, Now(), ""False)  
amberFormatting.CellBackColor = Color.FromArgb(255, 209, 140)  
uxRadGridView.Columns("Due").ConditionalFormattingObjectList.Add(amberFormatting)  
 
Dim greenFormatting As New Telerik.WinControls.UI.ConditionalFormattingObject("Green", Telerik.WinControls.UI.ConditionTypes.Greater, Now(), ""False)  
greenFormatting.CellBackColor = Color.FromArgb(219, 251, 91)  
uxRadGridView.Columns("Due").ConditionalFormattingObjectList.Add(greenFormatting) 
Nick
Telerik team
 answered on 29 Sep 2009
5 answers
160 views
I might have just answered my own question but just in case, I noticed that RadGridView's SaveLayout is saving ChildGridViewTemplates but not their Relations.  "What good is a ChildGridViewTemplate without its Relation?", I asked myself.  Then I realized that it may just be saving ChildGridViewTemplates for the their other settings (i.e. Column visibility, order, width, sorting, filters, formatting, etc.).  Correct?

Telerik 2009Q2 (2009.2.9.729), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.
Nick
Telerik team
 answered on 29 Sep 2009
1 answer
171 views
The Windows MenuItem has a CloneMenu() method, but I don't find anything like that in the RadMenuItem.  Is there a way to copy a RadMenuItem?

Thanks,

Mark
Nick
Telerik team
 answered on 29 Sep 2009
4 answers
167 views
Hi,
First I like to say that you have done some really nice work. But I'm missing a listview control. I know there is a listbox but I need two columns. Is there a work around or is a listview in development?
Nick
Telerik team
 answered on 29 Sep 2009
4 answers
271 views
hello all, I have a question, is there any way to know which row number in which for example is modified or has a particular value, without that row number is altered when they are sorted or filtered the data in some way. My case is as follows, in my GridView displays data stored in a table and I add a checkbox column type, this makes the selection function of the row, it all works well, ie the selection function is to show later that these data from that row in another window and work properly when you select a row, but when you sort or filter the GridView shows me another number row, which leads to show how other data in the other window, stores the number of row because they already have the data to a local datatable and do not need another query to the database, giving me hope you understand and thanks in advance for any help you provide
Jack
Telerik team
 answered on 29 Sep 2009
1 answer
106 views
Hi Guys,

I create a User Control (implements UserControl), is it possible to add it in ImageAndTextLayoutPanel and remove the other children?

RadListBoxItem item = new RadListBoxItem();
item.Text = "Title" + i;
item.DescriptionText = "Description with very long text";
ImageAndTextLayoutPanel layoutPanel = (ImageAndTextLayoutPanel)item.Children[2];

layoutPanel.Children.Remove(layoutPanel.Children[0]);
layoutPanel.Children.Remove(layoutPanel.Children[0]);

UserControl1 uc = new UserControl1();

something like this:
ayoutPanel.Children.Add(uc);

Thanks in advance.

Regards,
Jay           

Nikolay
Telerik team
 answered on 28 Sep 2009
1 answer
94 views
When I modify the UI elements on the various controls, I get Index out of bounds exception and a couple of other exceptions when trying to build.  Am I supposed to change the project settings in VS2008 so I no longer get these exceptions?  Or are these issues in the RAD controls that are currently being worked on?

Thanks,

-Brian
Victor
Telerik team
 answered on 28 Sep 2009
5 answers
142 views
Welcome,
I have a problem with grouping colums in child templates.

this.radGridViewMachines.EnableGrouping = true
this.radGridViewMachines.AllowDrop = true
this.radGridViewMachines.MasterGridViewTemplate.AllowDragToGroup = true
this.radGridViewMachines.MasterGridViewTemplate.EnableGrouping = true
 
templateWarehouse.EnableGrouping = true
templateWarehouse.AllowDragToGroup = true

What else I have to do to turn on grouping in templateWahouse?
Jarek.


Jack
Telerik team
 answered on 28 Sep 2009
2 answers
180 views
Hi,

We are using your RadDateTimePicker to select a date and time for an appointment.
Now i am trying to get the selected datetime clientside by using the startTimePicker.get_selectedDate(); function.

I get following value back from the datetimepicker : "Wed Sep 23 09:00:00 UTC+0200 2009".
I get the correct datetime back, but the control adds a "UTC+0200" to my datetime.

So when i put this value as a parameter to a webservice call, i get the datetime value minus 2 hours on the server.

How can i fix this problem? 
Datamex
Top achievements
Rank 2
 answered on 28 Sep 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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?