Telerik Forums
UI for WinForms Forum
1 answer
116 views

Hi Team,


   I want design the grid as per the attached screenshot. The infragistics grid have grid column show vertically. Please give any samples for this.



Thanks & Regards

Suresh

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jan 2014
2 answers
175 views
Hello Telerik support,

I hav a grid which binds an (Telerik Open Access) object source. Some columns have Expression Editors:

//  Attaching the datasource
radGridView2.DataSource = _activeBatch.LigdagenKlinischGefactureerds.OrderBy(c => c.RowNumber);
 
 
// Expression column definition:
GridViewTextBoxColumn b = new GridViewTextBoxColumn("B")
            {
                HeaderText = "B",
                EnableExpressionEditor = true,               
                Expression = @"IIF(ISNULL(PreviousNo,"""")<>No,""nieuw"",null)"
            };

When saving the datasource something strange happens. Just before do a SaveChanges I check the values of a specific row which should contain changed (evaluated) values:

radGridView2.Row[x].Cell["B"].Value = "nieuw", this is as expected for the evaluation of row X
(radGridView2.Row[x].DataBoundItem as MyBoundObject).B = null (???)


Additionally I have another question: If my datasource contains a value, the expression should not be evaluated. Is this possible? (maybe on a specific cell event?)

Kind regards,
Raoul

George
Telerik team
 answered on 23 Jan 2014
8 answers
424 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
105 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
123 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
73 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
176 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
74 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
114 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
83 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
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?