Telerik Forums
UI for WinForms Forum
8 answers
395 views
Dear All,

Is it possible to have a radcomboboxitem of type separator between different items in the dropdown combo.

Best regards.
Waleed
George
Telerik team
 answered on 23 Jan 2014
1 answer
98 views
Hi telerik tim . My question is : how to change scheduler and calendar region and how to change month or day name in telerik.
Can I change the default date. as today's date in my country in 1392 = 2014 . how can I change these.
Thank you for everything.
George
Telerik team
 answered on 23 Jan 2014
1 answer
116 views
Hi Telerik !
There is a bug with RadDateTimePicker.

1. Set RadDateTimePicker.Culture = ar-SA (To see Arabic date)
2. Run program.
3. Open drop down calendar.
4. Open year and month drop down list.
5. Now count how many months are there. There should be 12 months, but there is 11 months.

NOTE1: I should add that when you try to reach the missing month with left or right buttons, the object stucks, or drops the missing month.
NOTE2: Sometimes you can reach to missing month with FastForward or FastRewind buttons, but then another month will be lost.


I believe it is BUG !!!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2014
2 answers
66 views
hi,
What's the efficient way to insert a new line but to the first line of the grid?
it means all the exists rows will "push" below.

if you can refer me to example it will be great.

best regards,
Roy
Ralitsa
Telerik team
 answered on 22 Jan 2014
1 answer
170 views
Hi!

My application is standard WinForms Form with RadRibbonBar placed on that form. I set autoScaleMode to DPI for that form, ale unfortunately form and ribbon doesn't scale to 125 or 150%. Other forms are actually RadForms, and forms and all controls placed on themscales right. Is this have to be RadRibbonForm to scale right? Is this the only solution for my problem?

UPDATE: In fact form scales. Only ribbonbar and statusbar doesn't scale.

Cheers,
Kuba.
Dimitar
Telerik team
 answered on 22 Jan 2014
0 answers
69 views

Hello,


I have a table with three fields: RowID, CustomerName and Selected. I am loading this into the gridview and I would like to  programmatically select the row where Selected is true. If this was ASP.NET I would use the RowDatabound event and check the value of Selected and highlight. What is the best way here? After I load the list loop back through the data, get the one that is selected and then loop through the rows in the grid to select it? Seems like there would have to be a more efficient way of doing this.



Thanks,

Warren



Warren
Top achievements
Rank 1
 asked on 22 Jan 2014
0 answers
109 views
When I tab through the controls in my form, and while tabbing through datetime picker Current Date is populated as value. I do not want to the control to enter any date without user selection. Also, I have a pair of datetime picker like start date and end date and each is of the control's Opened & Leave Events are utilized as below but without these also, the same issue occurs.
private void dtProdStartDate_Leave(object sender, EventArgs e)
        {
            if (dtProdEndDate.Text == String.Empty && dtProdStartDate.Value != DateTime.Parse("1/1/0001"))
            {
                DateTime dtStart = dtProdStartDate.Value;
                dtStart = dtStart.AddMonths(1);
                DateTime dtEnd = dtStart.AddDays(-dtStart.Day);
                dtProdEndDate.Value = dtEnd;
            }
            else
            {
                if (DateTime.Compare(dtProdStartDate.Value, dtProdEndDate.Value) > 0)
                {
                    DateTime dtStart = dtProdStartDate.Value;
                    dtStart = dtStart.AddMonths(1);
                    DateTime dtEnd = dtStart.AddDays(-dtStart.Day);
                    dtProdEndDate.Value = dtEnd;
                }
            }
        }
 
 private void dtProdStartDate_Opened(object sender, EventArgs e)
        {
            if (this.dtProdStartDate.Value == DateTime.MinValue)
            {
                ((RadDateTimePickerCalendar)this.dtProdStartDate.DateTimePickerElement.GetCurrentBehavior()).Calendar.FocusedDate = DateTime.Now;
            }
        }
Priyam
Top achievements
Rank 1
 asked on 21 Jan 2014
1 answer
74 views
Hi ,
 I have a telerik grid that contains column having data type numeric like amount. when i put alphanumeric value in filter for that column  ,it gives exception. 
Is there any way that can validate values or prevent values other than numeric in that filter textbox.
George
Telerik team
 answered on 21 Jan 2014
3 answers
181 views
How can i create custom AggregateFunction?

and Is Possible GrandMedian ?
ex) AggregateFunctions.Median
George
Telerik team
 answered on 21 Jan 2014
3 answers
124 views
I have add a couple of extra fields in a CustomEditAppointmentDialog.
When i select an appointment in the scheduler I want to put the information out of one of the extra
fields in a textbox on my form.

I can reach all the information in the standard fields from Appointment class. But i can't reach the
information of the extra fields created in the CustomAppointment class.

Can someone help me out how i can reach that information?

    private void radScheduler1_AppointmentSelected(object sender, SchedulerAppointmentEventArgs e)
    {
        if (e.Appointment.Description != null)
        {
            labelCalendarCustomerNo.Text = e.Appointment.CustNo; //this does not work
            labelCalendarCustomerName.Text = e.Appointment.Location; //this works
            labelCalendarEnd.Text = e.Appointment.End.ToString(); //this works
            labelCalendarStart.Text = e.Appointment.Start.ToString(); //this works
        }
    }
}


public class CustomAppointment : Appointment
   {
       public CustomAppointment()
           : base()
       {
       }
       private string custNo = String.Empty;
       public string CustNo
       {
           get
           {
               return this.custNo;
           }
           set
           {
               if (this.custNo != value)
               {
                   this.custNo = value;
               }
           }
       }
George
Telerik team
 answered on 21 Jan 2014
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?