Telerik Forums
UI for WinForms Forum
1 answer
124 views
Hi,

When you hoover an appointment there appears a delete button to remove the appointment. I want to interrupt before the DeleteAppointment dialog. Is this possible so I can handle the event by myself?

Regards Koert
Boyko Markov
Telerik team
 answered on 11 Sep 2009
3 answers
189 views
Hi guys,

The RadPanel I am using is losing bottom borderline if the VScrollbar is visible and when I scroll down, the top borderline also disappear.
Do you have any idea why is this happening?

This behavior also applies to RadPanelBar control.


Regards,
Jay
Deyan
Telerik team
 answered on 11 Sep 2009
1 answer
289 views
Is it possible to add a vertical or horizontal separator between items in a RadRibbonBarButtonGroup?  A RadMenuSeparatorItem did not appear to work.

Thanks,
Nick Wasko
Deyan
Telerik team
 answered on 11 Sep 2009
3 answers
242 views
I am dynamically adding RadPanelBarGroupElements to a RadPanelBar that is set to the Explorer style. Each RadPanelBarGroupElement's control panel contains a large usercontrol that is approx 700px in height. The first few added are displayed with scrollbars in the content panel when expanded which is fine. However as more RadPanelBarGroupElements are added, the bottom ones have a very tiny display space, while the RadPanelBarGroupElements at the top when expanded still display a relatively large viewing area.
Is there a way for me to specify the minimum space that must be displayed?
       
        private void LoadApprovalIssue(ApprovalBe.ApprovalIssueRow issue) 
        { 
            ApprovalIssueControl issueControl = new ApprovalIssueControl(ref this.myActivity, approvalTypeCode, ref this.myApproval, issue.IssueNo); 
           

            RadPanelBarGroupElement issueTab = new RadPanelBarGroupElement(); 
            issueTab.Caption = "TEST";  
            issueTab.EnableHostControlMode = true; 
            issueTab.ContentPanel.Controls.Add(issueControl); 
            issueTab.ContentPanel.AutoScroll = true; 

            this.pnlbarIssues.Items.Insert(0,issueTab); 
 
        } 


Boyko Markov
Telerik team
 answered on 11 Sep 2009
5 answers
756 views
In my gridview I have a column which shows the duration of the listed music tunes.

From the database I get this duration in seconds, but I would like to display it as hh:mm:ss

What will the format string be in this case?



Regards, Jill-Connie Lorentsen

Nick
Telerik team
 answered on 11 Sep 2009
3 answers
209 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
203 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
202 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
165 views
Hi,

How can I draw a horizontal line between RadListBox Items?


Thanks,
Jay
Deyan
Telerik team
 answered on 10 Sep 2009
2 answers
149 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
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?