Telerik Forums
UI for WinForms Forum
4 answers
195 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
255 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
69 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
291 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
345 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
3 answers
148 views
Good morning.
    I have a CommandBar with 5 strips in it. Note I don't want users to rearrange the strips, so in my real project I removed this possibility. I run the project and I see all the 5 strips, see image1.png attached file. Now I set Visibility = ElementVisibility.Collapsed for strips 2, 3 and 5. The strip disappears but strip 4 stays where it is. So I try with strip4.DesiredLocation = Pointf.Empty, and the behavior is what I want (see image2.png). When I set Visibility = ElementVisibility.Visible again (for strips 2, 3 and 5), the order of the strips is messed up, and is 1, 2, 4, 3, 5, but I wanted to get them exactly in the previous order. How can I solve this problem?

Thank you
Gianfranco
Stefan
Telerik team
 answered on 26 Jan 2012
3 answers
254 views
Hi,

Is it possbile to add usercontrol as hosted item in the Commandbar?

Thanks
Yip Yew Kwong
Top achievements
Rank 1
 answered on 26 Jan 2012
2 answers
105 views
using the ribbonbar we have noticed the startbutton panel covers up the menu items.

we can find where to change the location of the start button.

i would like ot edit the height of the caption bar and tweek the dimentions of the start button.

i am familiar with the style editor but was hoping to just tweek some values at design time, from MSVS.

see attached
Peter
Telerik team
 answered on 25 Jan 2012
3 answers
183 views
I have a dashboard with 3 separate grids on it, while I can export each grid to a separate excel file that works great.  I was wondering if it's possible to export the 3 grids to a single excel file but on different sheets?

Thanks in advance.
Ivan Petrov
Telerik team
 answered on 25 Jan 2012
1 answer
143 views
Hi,
I would like to read Value from
DateTimePicker that is in CommandBarHostItem in CommandBar.
How can it be done?

I put it in successfully CommandBar like in post:
http://www.telerik.com/community/forums/winforms/commandbar/add-a-datetimepicker-to-a-commandbar.aspx#1952183

Thanks
Peter
Telerik team
 answered on 25 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?