Telerik Forums
UI for WinForms Forum
11 answers
1.3K+ views
The Intellisense for CancelEdit says that it closes the active editor and discards the change. It seems to be closing the active editor but NOT discarding the change.

I tried using the CellValidating event similar to this post:

http://www.telerik.com/community/forums/winforms/gridview/validating-user-input.aspx

But e.Cancel also does not discard the change.

Here is my scenario:
1) User enters a new value.
2) In the CellValidating event, the system displays a dialog asking for the reason for the change.
3) User cancels from that dialog.
4) Code needs to discard the change and close the active editor.

Using myGrid.CancelEdit closes the active editor but does not discard the change. Using e.Cancel seems to do nothing.

How do I end the edit and discard the change to a cell?

Thanks!
Hristo
Telerik team
 answered on 05 Jun 2017
1 answer
287 views

I'm using the collapsible panel with expand direction = right.  I'd like to increase the size (at least the height anyway) of the button because the app is used on a touch screen so the pointer device is a fat finger and not a mouse.  I set the font size to 14pt so the width is probably ok.  How do I set to the size of that button?

While I'm asking, can I also set the width of that header (expand direction right)?  And an alternative would be to enable clicking on the header to execute the collapse/expand action.  Would you offer that solution, too?

Thank you,

Gary

Hristo
Telerik team
 answered on 05 Jun 2017
3 answers
194 views

Hello,

we are using a RadGridView which has implemented a master table with severals child tables. The datasource of the grid is a dataset containing the datatables with their realations. Now we want to use the DataFilter component to filter the data in the grid. 
It is possible to use the DataFilter which is based on a datasource (dataset) with relations? Maybe you can give us an example.

Thanks' in advance
Karim

Hristo
Telerik team
 answered on 05 Jun 2017
0 answers
112 views
Hi! Is any way to pan diagram by dragging not only empty space, but also diagram items? I would like to have toggle button, if I click it, I can pan diagram by holding an dragging on any it's element. But now panning is only enabled on empty diagram's space.
Иван
Top achievements
Rank 1
 asked on 05 Jun 2017
1 answer
101 views

I could not find this control in my toolbox list where can i get reference of it

 

 

Dimitar
Telerik team
 answered on 05 Jun 2017
1 answer
478 views
I have gridview and i want when i expand specific row, all other rows are collapsed
I do not want two rows to be expanded at the same time
Dimitar
Telerik team
 answered on 05 Jun 2017
1 answer
153 views

I have gridview and combobox, on combobox selected index changed i add rows with boolean value to gridview checkbox manually,

the checkbox cell takes the value but not checked on "true" until i select the row

Dimitar
Telerik team
 answered on 05 Jun 2017
1 answer
140 views

Hi, I need to filter empty text, i try to figure how to archive this with Demo Utility with "equal" and leaving empty textbox, but the events do not work as expected.

How can i do it?

 

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Jun 2017
8 answers
711 views

Hi,

 

I have a week is selected, then I click a date more, how can I get the last date I have just clicked.

 

Look forward your reply,

Pham Thanh

Brian
Top achievements
Rank 1
 answered on 01 Jun 2017
3 answers
153 views

Hi,

I have a 1 column 3 row view for my RadCalendar. The problem is that I can's navigate to the previous months or following months using the "<<" "<" ">" ">>" buttons and I'm not sure why. I don't know if there's something specific I have to enable or what. In my Default.aspx file I have the following code:

<telerik:RadCalendar ID="RadCalendar1" runat="server" MultiViewRows="3" EnableMultiSelect="False" CssClass="RadCalendarMultiView RadCalendarMultiView_Default" EnableWeekends="True" FastNavigationNextText="&amp;lt;&amp;lt;" SelectedDate="">
                  <SpecialDays>
                        <telerik:RadCalendarDay Date="" Repeatable="Today">
                            <ItemStyle CssClass="rcToday" />
                        </telerik:RadCalendarDay>
                    </SpecialDays>
                    <WeekendDayStyle CssClass="rcWeekend"></WeekendDayStyle>
                    <CalendarTableStyle CssClass="rcMainTable"></CalendarTableStyle>
                    <OtherMonthDayStyle CssClass="rcOtherMonth"></OtherMonthDayStyle>
                    <OutOfRangeDayStyle CssClass="rcOutOfRange"></OutOfRangeDayStyle>
                    <DisabledDayStyle CssClass="rcDisabled"></DisabledDayStyle>
                    <SelectedDayStyle CssClass="rcSelected"></SelectedDayStyle>
                    <DayOverStyle CssClass="rcHover"></DayOverStyle> 

                    <ViewSelectorStyle CssClass="rcViewSel"></ViewSelectorStyle>
                </telerik:RadCalendar>

 

Most of the CssClass codes loaded automatically after doing edits on the design page. 

If anyone has any idea what I'm missing, please let me know.

Thanks, 

Samara

Samara
Top achievements
Rank 1
 answered on 01 Jun 2017
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?