Telerik Forums
UI for WinForms Forum
1 answer
73 views

Hi
I m having this error. Can anyone please help me. frmSetCountry Variable has value in it.
Thanks
Shah
Top achievements
Rank 1
 answered on 28 Jan 2012
10 answers
276 views
Hi,

Is it possible to change appointment layout?
In RadScheduler control for asp.net we can customize appointment template and i want to do the same in RadScheduler for Windows Forms. What i want to do is something like the appearance in image attached. The round rectangle named "report" is a clickable button.
Karl
Top achievements
Rank 1
 answered on 27 Jan 2012
3 answers
179 views
How to re-order the stripitems in desgin view? Thanks.
Ivan Todorov
Telerik team
 answered on 27 Jan 2012
3 answers
265 views
Hi,

When I want to add a new row (by the 'add new row line') to my grid, it works fine when I commit the new row by pushing the 'enter' key. But when I fill in some new data in the new row line and I click (by mouse) in the empty space in the grid. The new row appears in the grid but its not commited,& it does not fire the UserAddedRow event.
How is it possible to make the new data is commited not by pressing the 'enter' key but by clicking in the empty space in the grid?

Kind regards
Jack
Telerik team
 answered on 27 Jan 2012
3 answers
301 views
Hi,

Simple question that need a quick answer... :)
I have a grid that allows the user to add new rows. This grid is bounded to a datatable.
When i click on a new row and edit the first column and tab out of it, i expect the cell in the datatable to be the same as in the grid.
But this does not happen before i move to another row, or loose focus on the grid.

Since i'm doing a lot of validation on the data added to the datatable on the "CellValueChanged" etc, i need the data to be added to the datatable as well before changing rows. How can i achieve this? 

If i change a value in an already existing row in the grid, this functionality works as it should. So its only on the new rows added. 

Regards
Svein Thomas
Julian Benkov
Telerik team
 answered on 27 Jan 2012
4 answers
201 views
Hello,
 
I'm using the RadScheduler (2011 Q3_2011.3.11.1116 , VS2008 Framework 3.5) within a .NET Winform application to save some data to an MSAccess DB, I get the following error as soon I press ok on the Appointment edit screen to return back the scheduler.  The ResourceID I am trying to save is defined within MSAccess as Long Integer. The dataset (.xsd) is created within the .net application shows the column defined as System.Int32.   If I change the column mappings to point to a column that defined as a string datatype everything works ok...but I need tis to work with Int datatype.

Unable to cast object of type 'Telerik.WinControls.UI.EventId' to type 'System.IConvertible'.Couldn't store <9> in ClientID Column.  Expected type is Int32.

Can you please direct me to where this issue may lie.

Thanks,

Kerry
Ivan Todorov
Telerik team
 answered on 27 Jan 2012
1 answer
260 views
I am creatiung a C# application that will use the radtreeview.

when a new node is added the tag and value properties are set  identifying the type of node being created.

drag and drop are enabled and working as one would expect. the tag and value follow as the user drags node in the tree, works very nice.

I enabled the default context menu for copy and paste, by a copied node only seems to keep the "text" the tag and value are not copied the are NULL; What events can i intercept and make sure the copied data follows the new node.  i cant seem to identify the equivilent to all the asp examples for winforms. (IE args.getsourcenode/args.getdestnode.)

The next question i will have is about copying the singlenode vs the tree.

am i missing somthing or should i just implement my own context menu?







Svett
Telerik team
 answered on 27 Jan 2012
1 answer
72 views
Hello, i have a problem, when i set the EnterKeyMode property to EnterMovesToNextCell, the event CellVallidating fires 2 times.

Ho i can resolv this??

Tanks
Julian Benkov
Telerik team
 answered on 26 Jan 2012
4 answers
306 views
Hello everyone,

I am new to Telerik and I am trying to show some reports in a RadGridview but some data doesn't show correctly. I have currenlty 2 problems.

Format String
I tried different ways to set up the FormatString. It doesn't change the format in the cells. (see screenshot1).
I want the numbers to look like 999,999,999,999.99 or 99.00 or 0.00 for example and the date to look like 03/02/2010 or 12/24/2001 but it doesn't want to change. When I sent the data to the radgridview, it is send as a string.
I tried different things to format the numbers and the date:
radGridViewSaleReport.Columns["Date1"].FormatString = "{0:MM/dd/yyyy}";
 
radGridViewSaleReport.Columns["Amount1"].FormatString = "{0:#,###0.00;(#,###0.00);0.00}";
radGridViewSaleReport.Columns["Amount2"].FormatString = "{0:#,0.00}";
radGridViewSaleReport.Columns["Amount4"].FormatString = "${0:F2}";
radGridViewSaleReport.Columns["Price/Sq.M."].FormatString = "{0:C}";
radGridViewSaleReport.Columns["Selling Price"].FormatString = "{0:###,###,###,##0.00}";
radGridViewSaleReport.Columns["TotalInstPaid"].FormatString = "{0: ####.## THB}";

What ever I try, it doesn't change any format of the numbers. Do you know why? I tried to put the Formatting code before or after setting the view, it has no effect.

Pin Columns.
I want to pinned the first 2 columns of my radgridview. No problem to do that. It's well explained in the documentation but the result is scary. I follow the documentation and just wrote this after setting up the view (if I put it before setting up the view, it doesn't work). I started first with 1 column:
radGridViewSaleReport.Columns["Customer Name"].IsPinned = true;
Some empty space appears after the columns (see screenshot1) and I can not scrool horizontally more than this and 2 columns or more are hidden (see screenshot2).
Do you have any idea why this happen?
When I do it for 2 columns (see screenshot3), the empty space become even bigger.
Do you know anyway to have this to show correclty?

Thanks,
LB
Jack
Telerik team
 answered on 26 Jan 2012
12 answers
351 views
I have 2 RadGridView controls on the same form using RadDock to host them both. On one grid, I allowed Column Chooser. The other grid, I do not. When switching between the two grids, the column chooser still visible when going to the grid that does not allow column chooser. How do I detect whether the Column Chooser is opened so I could close/hide it when needed?

PS: This is another weird thing: when I switched to the 2nd grid (which does not allow column chooser), I am able to drag the column header(s) to the column chooser to hide the column(s). The column(s) did disappear but nothing is showed on in the column chooser. There is no way to restore the hidden column(s) back!

Thanks,

Phi
Ofer
Top achievements
Rank 1
 answered on 26 Jan 2012
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
ProgressBar
CheckedDropDownList
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?