Telerik Forums
UI for WinForms Forum
3 answers
194 views
hi every body

i wrote program with vb.net 2003 in windows form and install in windows 2003 server . but when i want run my program i see this error 

common language runtime debugging services
application has generated an exception that could not be handled
process id = 0xa84 (2692), thread id = 0x8e0 (2272)

click ok to treminated the application
click cancel to debug the application

any body can help me , it's very important for .
regards m.janfeshan
Martin Vasilev
Telerik team
 answered on 11 Sep 2009
1 answer
180 views
Hi,

I have a custom cell layout, similar to a Business Card, and it lays out exactly correctly. However I want to instruct the grid to obey a minimum size for the cell, but I cannot seem to get it right.

Heres my code from the custom GridDataCellElement - I wonder if you can spot the problem or sugges a better way of forcing a minumum cell size ?

Thanks.
 protected override void CreateChildElements()  
            {  
                base.CreateChildElements();  
                this.pictureBox = new Telerik.WinControls.UI.RadButtonElement();  
                this.pictureBox.MinSize = new Size(150, 150);  
                this.pictureBox.Size = this.pictureBox.MinSize;  
                this.pictureBox.AutoSize = false;  
                this.Children.Add(this.pictureBox);  
 
                this.dataLabelsAndValues = new List<Telerik.WinControls.RadElement>();  
                  
                foreach(string propertyName in column.ColumnDefinition.SelectedFields)  
                {  
                    iSIMS.DataModel.SimpleProperty fieldDefinition = iSIMS.DataEntity.DataEntity.DataModel.GetField<iSIMS.DataModel.SimpleProperty>(propertyName);  
                    if (fieldDefinition != null)  
                    {  
                        Telerik.WinControls.UI.RadLabelElement label = new Telerik.WinControls.UI.RadLabelElement();  
                        label.Text = fieldDefinition.Description;  
                        label.Font = new Font(label.Font, FontStyle.Bold);  
                        label.MinSize = new Size(100, 20);  
                        label.Size = label.MinSize;  
                        label.AutoSize = false;  
                        dataLabelsAndValues.Add(label);  
 
                        Telerik.WinControls.UI.RadLabelElement textBox = new Telerik.WinControls.UI.RadLabelElement();  
                        textBox.Tag = propertyName;  
                        textBox.AutoSize = false;  
                        textBox.MinSize = new Size(100, 20);  
                        textBox.Size = textBox.MinSize;  
                        dataLabelsAndValues.Add(textBox);  
                    }  
                }  
                this.Children.AddRange(dataLabelsAndValues.ToArray());  
                  
            }  
 
            protected override SizeF ArrangeOverride(SizeF finalSize)  
            {  
                SizeF size = base.ArrangeOverride(finalSize);  
                RectangleF clientRect = GetClientRectangle(finalSize);  
                int controlOffset = 0;  
                int maxWidth = 0;  
                int maxHeight = 0;  
                foreach (Telerik.WinControls.RadElement element in this.Children)  
                {  
                    if (element == pictureBox)  
                    {  
                        element.Arrange(  
                            new RectangleF(  
                                clientRect.Left+5,  
                                clientRect.Top+5,  
                                150,  
                                150)  
                                );  
                    }  
                    else 
                    {  
 
                        element.Arrange(  
                            new RectangleF(  
                                clientRect.Left + 150 + 5 +5,  
                                clientRect.Top + (controlOffset * 20) +5,  
                                clientRect.Width - (150 + 5),  
                                20)  
                                );  
                                  
                        controlOffset++;  
                    }  
 
                      
                }  
 
                return size;  
            }    
 
Jack
Telerik team
 answered on 10 Sep 2009
4 answers
185 views
I'm trying to evaluate which way to use the new grid layouts to achieve the layout I want and I have some questions. 

1) is there a gui way of setting up the columnGroupsView through the property builder?
2) In the columnGroupsView is it possible to disable some of the column headers? Ex. specify a group header (Address) but not show the individual column headers (street, city, state, zip).
3) In the HTMLView is it possible to add a group column header?

Thanks,
Jack
Telerik team
 answered on 10 Sep 2009
1 answer
157 views
Hi,

How can I draw a horizontal line between RadListBox Items?


Thanks,
Jay
Deyan
Telerik team
 answered on 10 Sep 2009
2 answers
141 views
I've been playing with the demo version of the WinForm controls, anticipating using them for a future client.  To implement their requirements, I foresee using multiple carousels on one main page.  As I'm testing this, I haven't been able to get both carousels to autoloop.  If I set EnableAutoLoop to True for both 'top' and 'bottom' carousels, the top will rotate while the bottom will not.  If i set EnableAutoLoop to False for the 'top' and to True for the bottom, the bottom will autorotate while the top will not (as expected).

Is there some other setting I need to change?

Thanks!
Sheryl
Sheryl
Top achievements
Rank 1
 answered on 09 Sep 2009
4 answers
155 views
I created a custom button that inherits from RadButton. I am able to inherit the theme of the RadButton by overriding the ThemeClassName like shown in your Knowledge Base. However, that's not what I want to do. Here is the override I have done :

class MathButton : RadButton{
    public override string ThemeClassName{
        get{return "WindowsApplication1.MathButton";}
    }
}

My theme gives an appearence to all the buttons of the RadButton type, but I don't want the MathButton to inherit the RadButton appearence. I would want to be able to have a different appearence for each type of button I create from the RadButton type. I want all the button appearences to be in the same theme.

Is there a way to do that?

 

 

 

 

Mike
Telerik team
 answered on 09 Sep 2009
3 answers
149 views
Hi, RadMenuItem.HasTwoColumnDropDown is obsolete and it cannot be changed in the designer, which is the alternative? Thanks.
Nick
Telerik team
 answered on 09 Sep 2009
1 answer
107 views
Setting any of the ReadOnly/AllowAppointMove/AllowAppointmentResize options has not effect - I can always make those changes regardless of the settingts. Anything I can do about this.
Boyko Markov
Telerik team
 answered on 09 Sep 2009
3 answers
270 views
I have problem with menu merge feature. I have RadForm named "MainForm" whose IsMdiContainer = true. I add  RadMenu to that form.I add menu items to that rad menu. There are; "File | Edit | View | List | Reports | Tools | Administration | Help" . At the begining all their properties about merging is default : MergeIndex = -1, MergeOrder = 0, MergeType = Add.

I have RadForm named "Person". This form also have RadMenu. I add menu item to that rad menu.It has just "User" menu. Again this item's properties are default : MergeIndex = -1, MergeOrder = 0, MergeType = Add.

When I click File > Create New User  from MDI form's menu, I create child form by these lines :
            var Person = new Person();
            Person.MdiParent = this;
            Person.Show();

Now I have MDI form with child form. When I maximize the child form, its "Users" menu, added to MDI's menu, yeah this is expected.
And MDI's menu become "File | Edit | View | List | Reports | Tools | Administration | Help | User".

What I want to do is, adding that "User" menu to MDI's form in another order.Which should be;
"File | Edit | View | User | List | Reports | Tools | Administration | Help" instead of "User" menu added as to the last.

Or at least I can add empty "User" menu item to the MDI form's menu, where after "Person" form is maximized, "Person" forms sub items merge with the empty one in MDI form.

I play a lot with the Merge Order and Merge Index properties to achive but I was't able to do that.

The only thing that I can do is;
if I have menu like
| Menu1 | Menu2 | Menu3 | Menu4 |  and
| dump1 | dump2 | dump3 | dump4 |

I can use merge feature with only the menus acrossing. I can use MergeType's "Replace", "Merge Items" properties with only
for menu1 and dump1 , or menu2 and dump2 where their physical order should match. Otherwise menu just added to last place.

Can someone send example code or helpful examples ?  about merging feature.
Nick
Telerik team
 answered on 09 Sep 2009
1 answer
138 views
Hi! I just want to ask if you offered RADControl version that supports Framework 1.1 (VB.NET 2003 to be specific) in the past?
Thanks!
Deyan
Telerik team
 answered on 09 Sep 2009
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?