Telerik Forums
UI for WinForms Forum
5 answers
96 views
Hi, I want to save the state of the page view and restore it when a user logs back in.

I am trying to find out how to;

1) inspect the pageviews and determine if they are a) in the overflow area and if so b) is their button visible or hidden.

2) set the pageviews back to the state they were at in the overflow area and whether the button is hidden

Thanks,



Peter
Telerik team
 answered on 03 Mar 2014
9 answers
647 views
Hi,

I am having trouble using the RadGridView (RowValidating Event).

When the RowValidating is fired, the values of my new row to be added are checked,
if one of them is not okay, the message is shown to remind the user to input the correct values.

The problem is:
- if I don´t want to add this new row, how do I discard it?
(in the case I have all cells, for this new row, with null values)

I have the "e. Row. Cancel = true" to try to cancel de adding, and it works,
but the problem is that the phrase "Click here to add a new row" is not set
back to the top, and any other values (Cells) that is in the grid can´t be edited,
it got stuck, until I finish adding this row.

If I erase my "RowValidating" and try again, the problem is solved.

Is it possible to discard a new row
if I have a "RowValidating" on, and once it´s canceled,
to have the phrase "Click here to add a new row" back on top to start over a new adding?

Thanks for your help.

Stefan
Telerik team
 answered on 03 Mar 2014
1 answer
70 views
I am trying to put a dotted border around the selected row. It seems that if I choose "SingleBorder" with element state GridDataRowElement.IsSelected.IsCurrent.HotTracking, the border does not appear until to row is selected a second time. If I choose "FourBorders" it works fine but I always get a solid border when BorderDashStyle is set to anything other than solid. It does not appear that you can use the BorderDashStyle with "FourBorders" selected - only "SingleBorder" works with BorderDashStyle. Any thoughts?
Dimitar
Telerik team
 answered on 03 Mar 2014
2 answers
71 views
Hi all,

either this Wednesday is a Monday or I am just a bit too stupid to get it right today.

I have a GridView which has a CheckBoxColum. Now I want to set the checkbox to checked in one row when the GridView is bound based on a value that is sorted in another field in the datasource. The value is only know on Startup and is determinded by another Function.

However, when I enable the code the application seems to go into an endless-loop - it keeps repeating the "CellFormatting"-Event on and on and never starts up.
The datasource of the grid is a List of objects that is collected and then bound on Startup and in this test-Scenario contains 3 elements. As soon as I delete the code shown below the application starts up without any Problems.

Any help would be appreciated. Thank you.

This is the code:

        private void gvPersonalKeys_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
        {
            if (e.CellElement.ColumnInfo is GridViewCheckBoxColumn)
            {
                GridCheckBoxCellElement box = (GridCheckBoxCellElement)e.CellElement;
 
                string value = e.CellElement.RowInfo.Cells["Serialnumber"].Value.ToString();
            
                if (value == "738F")
                    box.Value = true;
                else box.Value = false;
            }
        }
Gabriele
Top achievements
Rank 1
 answered on 03 Mar 2014
2 answers
92 views
Hi,

How do I make a RadPageView be the tab of a radDock?
Stefan
Telerik team
 answered on 03 Mar 2014
1 answer
240 views
I am using UI for Winforms. How do I add a User Control to be the content of a RadPageViewPage in strip mode?

Stefan
Telerik team
 answered on 03 Mar 2014
6 answers
967 views
Hello!
I upgraded the version of WinForms controls from v.2011.2.11.831 to 2012.2.608.20. In my project, i have a base form which is inherited by many others forms. The problem is that, on different forms, when i open the form designer i get errors for several controls: "Duplicate component name 'controlName'. Component names must be unique and case-insensitive.". In the GAC folders a have the dlls with correct version(2012), in the bin folders i replaced the old dlls and on the reference properties i have the correct version.
Is there something wrog? I have made the upgrade with the Telerik Upgrade Wizard from Visual Studio 2008.

I attached a screenshot.

Thank you!
Alan
Top achievements
Rank 1
 answered on 28 Feb 2014
3 answers
846 views
Hi,
I am using version Q3 2011.

1. I have a RadPageViewPage object in which I placed a RadSplitContainer (DockStyle.Fill) with two SplitPanels.
2. Each SplitPanel has Padding property set.
3. In the first SplitPanel I add a control and set its Dock property to Fill the entire content of the panel.
4. In the second SplitPanel instance I add number of controls with their Dock properties set to Top, but the entire SplitPanel's default size is way bigger than the sum of the controls embedded within.
5. I am not using designer, the controls are added programmatically.

Question is: How do I AutoSize both SplitPanel so that the second fits the size of child controls (with set Dock properties to DockStyle.Top) and the first one fill all space that is left?

Best regards,
Mirek
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Feb 2014
4 answers
342 views
Hi ,

I have done an application,in that we have 3 split panels,in the 3rd split panel i have added Rad Dock control .In this Rad dock we are adding 3 Tool Windows programatically.My problem is when any of the Tool window is Docked it is not occupying the whole Rad Dock space[means Dock fill].and if all the 3 tool windows are Auto hide[means not dock able] we want the Split panel 2 should occupy half of the space of Split panel3.

Please find the  attached images.

Thank you,
Ravi
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Feb 2014
2 answers
132 views
Hi,

is there any chance to make DesktopAlert border resizable?
(Similar to WinForms FormBorderStyle.Sizable)

Thanks in advance!
Dmitry
Top achievements
Rank 1
 answered on 28 Feb 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?