Telerik Forums
UI for WinForms Forum
2 answers
66 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
82 views
Hi,

How do I make a RadPageView be the tab of a radDock?
Stefan
Telerik team
 answered on 03 Mar 2014
1 answer
229 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
918 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
808 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
326 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
120 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
2 answers
67 views
Hello...
I saw your demo application for rad winform(q3 2013).and i so impressed with your dashboard design used in demo application software.And i want to know about that design.
Sir is that a RadDock or any other control?
If its a raddock how can i achieve that.
please explain sir
shafeequl
Top achievements
Rank 1
 answered on 28 Feb 2014
2 answers
325 views
As a test, I have created a new custom theme by importing the stock themes from telerik and giving it a new theme name. I have also modified the treeview styles as part of the new theme package. I have tried creating a theme dll as suggested per Telerik documentation but the new theme does not appear in any of the themename drop downs in the property browser. I have also tried the theme manager and embedding the xml files. As I said the only control I modified was the treeview control using Visual Style Builder and everything looks good in the preview pane with the new look and feel - both treeview style and form style. I have saved as both a package and individual xml files and tried both compiling a package dll and embedding the xml files in the project. To no avail, I cannot seem to get this working - the new custom theme does not get applied even typing in the themename for the treeview - I did get the custom theme to stick once or twice in design mode but never in run time mode, not even setting the themes in the form load event. And when I got the theme to stick in design mode, the form style and treeview style were no where near what I saved from VSB - it's like some of the styles/properties etc might be missing as my first thought. I know the the files build action are set to embedded resource and I know the resource name is set right (default namespace.folder path.file.ext).

Any help or thoughts would be appreciated.
Dimitar
Telerik team
 answered on 27 Feb 2014
1 answer
110 views
I have a requirement to add some custom menus. They want the name of the label at the top, three or four items showing and an arrow below to show any additional items. There is a picture attached. If  this is possible, what control should I use and how would I go about creating it?.
Thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 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)
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?