Telerik Forums
UI for WinForms Forum
2 answers
201 views
Hi,
When I try to run Adapter.Update method a SqlException occurs but DataError event doesn't fire.
I want to detect the row which have raised the exception and show errorprovider's icon on some cell. but can not do it.
please help me.
Theo
Top achievements
Rank 2
 answered on 22 Sep 2011
8 answers
467 views
I am currently using the radgridview to hold 246k rows and 13 columns of data.  I extened the radgridview so that I could handle many othe requiremnts that I have.  Even before extending the control I have noticed significant problems in selecting multiple rows.  For instance in the application I just described there is not the much data present in the grid.  To get the data I progromatically build a datatable and then attach it to the grid as the datasource.  Then I try to select multiple rows via shift + click and it will take over 25 seconds to select 100k rows.  I am not sure what is exactly causing this problem but to make things even worse when I am done with my selection and would like to lose it or make another one it takes just as long for the grid do remove the selection from the selectedrows property.  Is there anything that I can do to make this simple process respond in a reasonable manner?

I am using winforms controls 2011.1.11.419 and visual studio 2010 vb.net
Svett
Telerik team
 answered on 22 Sep 2011
5 answers
396 views
Hello!
I use a GridView bound to a data table. One of the columns in the data table stores a date information in Unix format (milliseconds since 1970). I have used a converter similar to the one described in the converting data types example.
When i use "DateTime" for the CanConvertTo method and "long" for the "CanConvertFrom" the column shows the milliseconds value and not a valid DateTime string. Changing the  "CanConvertTo" to "long" and the   "CanConvertFrom" method to "DateTime"  still keeping the "ConvertTo" method converting from "long" to "DateTime" i get valid date strings in the GridView. When I try to filter on that column I get an "InvalidCastException" in the "ConvertTo" method where the "Value" is a "DateTime" object and the destination type is Int64. 
When i change the "ConvertTo" and and "ConvertFrom" methods to check for "value" type and transform to "DateTime" iv "Value" type is "long" or "long" if "value" type is "DateTime".
Using this I get a "FilterExpressionException" with the inner exception message {"Cannot perform '>=' operation on System.Int64 and System.DateTime."} 
When i then take into account the "destinationType" in the convert method and make a transformation of the "value" object to the selected destination type the date string is again not valid (as in the first case).

Have I missed something or is there a bug?
Thanks for your help.
Stefan
Telerik team
 answered on 22 Sep 2011
1 answer
108 views
Any hints on how to edit/access existing Shapes in a Repository?  Here's an example, the Repository Item Key: PageView1_RoundRectShapeAll2.  It shows up as an orange border-looking shape.  I want to change it to a blue one.  Do I need to create a custom bitmap in Photoshop?  Doing a search for .bmp on the folder structure reveals no such file (as I'm guessing these may be system-generated?).

Thanks in advance!
Ivan Petrov
Telerik team
 answered on 22 Sep 2011
1 answer
107 views
Hi! Im using Q1 2011 with VB.Net 2010
I had some issue here where will like to get the solution.
Im using Telerik Calendar where i set the multipleselect = False
mean always only 1 date is selected.

As default when run the application. SelectedDate = Today (21/09/2011)
then i select other day(23/09/2011). From calendar i always see 23/09/11 is selected.

Now i want a via code. which i will clear the selected date 23/09/2011 and via code selected date = 29/09/2011

How to do it?

Other issue:
By default my calendar selecteddate = Today(21/09/2011) and i get the value by via code and set to a label.
Now i select again the same date the value from via code, it become 01/01/1900. The correct value suppose to be 21/09/2011

The code i use to get the selected date :

msgbox(RadCalendar1.SelectedDate.Date)

Hope to get the answer as soon as posible cause this is urgent....
Thank!

Regards
Johnny


Johnny
Top achievements
Rank 2
 answered on 21 Sep 2011
1 answer
111 views
hi,
i've a little display bug.
Look at the 3 screenshots.
c1 : My gridview before expand
c2 : gridview expanded
c3 : After expand, i see a check box, and borders of my columns

an idea ?

NB : i'm using Q2-2011 version (enjoy the new Office 2010 theme :) )
Alexander
Telerik team
 answered on 21 Sep 2011
10 answers
256 views
Hi,

I am using a RadGridView with a selfreference relation to display items from a DataTable. This works great but my customers want to be able to toggle between hierarchical view and flat view of the data.
I try to delete the relation without any effect.

Is there a way to do such thing ?

Regards
Ed
Top achievements
Rank 1
 answered on 21 Sep 2011
1 answer
183 views
Hey guys

I created a new class in VB.NET (2010) which inherits from Telerik.WinControls.UI.RadTextBox. Inside it i have several events, e.g KeyDown:
Private Sub PosNegDoubleTextBox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
   '
   ' some code....
   '
   '
End Sub
however when i drag and drop my new control onto my main form, the event does not fire up on key down. That is my first problem. My second problem is that the new control out of no where gets a grey border which cannot be edited and i also cannot apply any themes..

Any Help would be greatly appreciated, thank you.
Nikolay
Telerik team
 answered on 21 Sep 2011
8 answers
1.2K+ views
Is there a way to change a theme of the application runtime on the fly?
Teodor
Telerik team
 answered on 21 Sep 2011
7 answers
203 views
Hi

How to manualy drag and drop items within same Treeview beacuse moving items needs to check some validation?
Can multiple items drag in internal treeview (selection by treenode checkbox)?
How to remove visual root of drag items (Please refer the attach screenshot) and after that not able to drop?


Thanks 
Vijay
Svett
Telerik team
 answered on 21 Sep 2011
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?