Telerik Forums
UI for WinForms Forum
2 answers
279 views
Hello,
how i can implemented shortcut ctrl+d or ctrl+shift+d event ? I use KeyPress() but in e I have only one key. Finally i want to copy value from upper row, during edition new rows.
Thanks for help.
Emanuel Varga
Top achievements
Rank 1
 answered on 13 Nov 2010
8 answers
243 views
Repro: 
  1. Create a standard WinForms application
  2. Drag from the toolbox a RadPageView and add 2 RadPageViewPage.
  3. Drag from toolbox a RadDateTimePicker on the form and on the each page.
  4. Set, for each RadDateTimePicker, the Value to 11/11/2010 9:51 AM , the Format to Long and make sure that the CustomFormat is empty
  5. Change the RegionalSettings of the computer to en-US
  6. Run the application and browse the page that is not visible. Notice the RadDateTimePicker aspect on that page: the text is truncated and from Thursday, November 11, 2010 only day, November 11, 2010 is visible.

Do you know a workarround for this bug?

Later edit: I forgot to mention that i use Windows7 Ultimate 64 bit and the Telerik.WinControls.UI.dll version is  2010.2.10.806
Richard Slade
Top achievements
Rank 2
 answered on 13 Nov 2010
9 answers
340 views
Hi:

I have the following code for my gridview:

For i As Integer = 5 To 9
        DirectCast(GridViewGeneral.Columns(i), GridViewDataColumn).FormatString = "{0:C}"
Next

But the format of the columns doesn't change

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 13 Nov 2010
10 answers
229 views
Hi....

For me One Doubt...

In RadRibbonBarGroup ,how to change the text size and Font.....

i changed the Font ,but it is not changing.

For Ex ;

if we give text  as View to radribbonGroup.

i have to change font,Size of that.
is it possible?

i attached image.
Vidhya
Top achievements
Rank 1
 answered on 13 Nov 2010
1 answer
128 views
hi,

i am using 2010 Q2 Winforms controls , i have a maskededitbox with mask "HH:mm" that presenting the time.
i want when the user entered the first 2 digit , the control goes to the Minute section automatically.
regarding this i need a method to change the caret position when the Keypress count equals two.

i tried the Selectionstart property but it seems i cant achieve this with this property.

is there another way or method to do this ?
Richard Slade
Top achievements
Rank 2
 answered on 13 Nov 2010
16 answers
522 views
Version:Q2 2010 SP2
The demo 'Rows Drag&Drop' works in un-bound mode but not in database bound mode.How to get it working?
Brahim
Top achievements
Rank 1
 answered on 13 Nov 2010
4 answers
277 views
Hi,

I need to know the name of the sender's column in a GridView. The below code in WinForms Q2 2010 SP2 doesn't work. The code is:

Private Sub Grid_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Grid.ValueChanged
    Dim dce As GridDataCellElement
    dce = CType(sender, GridDataCellElement)
    If dce.ColumnInfo.Name = "Devol" Then
        If Grid.CurrentRow.Cells("Devol").Value Then
            Grid.CurrentRow.Cells("DaysDefDev").ReadOnly = False
        Else
            Grid.CurrentRow.Cells("DaysDefDev").ReadOnly = True
            Grid.CurrentRow.Cells("DaysDefDev").Value = 0
        End If
    End If
End Sub

In the previous code the column named "Devol" is GridviewCheckBoxColumn and "DaysDefDev" is a numeric column. When I check or uncheck "Devol" column an exception occurs with the message like "Can't cast from 'Telerik.WinControls.UI.RadCheckBoxEditor' to 'Telerik.WinControls.UI.GridDataCellElement'."

If I type TryCast insted of CType the object is always nothing and another exception is thrown.

Any help would be great.

Thanks.
Emanuel Varga
Top achievements
Rank 1
 answered on 12 Nov 2010
3 answers
166 views
I have created a custom control in VB.net which inherits a RadGridView.  When I drop it on the form, it looks nothing like the base control.  Does anyone know why this is and how I can make it look like the base control?  I have attached an image of the base control and the custom control.  The base control is on teh top and you can see the difference. 

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 12 Nov 2010
5 answers
213 views

Hi,

I am using the scheduler in TimeLineView and create my appointments programmatically.  I want the users to be able to amend the dates and duration of some of the appointments, but not others.

 

I have set the appointment.AllowEdit to false, but this doesn’t seem to work, as the user can still amend the appointment.

 

Any thoughts or suggestions

 

Karl

Dobry Zranchev
Telerik team
 answered on 12 Nov 2010
12 answers
346 views
hello,

i am using RadControls 2010 Q2 , and in the radDatetimePicker i am going to change the Culture property of it to the Persian Culture.
it throws this exception :

Specified time is not supported in this calendar. It should be between 03/21/0622 00:00:00 (Gregorian date) and 12/31/9999 23:59:59 (Gregorian date), inclusive.
Parameter name: time


would you please help me to find a solution for it ?
how can i change the culture of radDatetimePacker ?
Stefan
Telerik team
 answered on 12 Nov 2010
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?