Telerik Forums
UI for WinForms Forum
5 answers
121 views
What is the best way to go about customizing what options appear when you right click on a tab in a docking manager?  I know its possible to show/hide the context menu via the TdiContextMenuVisible property.  Ultimately what I want to do is remove the ability of users to create their own tab groups.  I like the "Close All Tabs Except for this" option and would like for that to remain.

Thanks in advance.
Nikolay
Telerik team
 answered on 10 Jan 2009
2 answers
111 views
I am trying to implment the ability for another control to drag and drop onto tabs in a radTabStrip.  I have been able to implment most of it, but am having difficulty determining which tab the user dropped on. 

I would have thought I could put the following code in the DragDrop event of the TabStrip, but the GetItemByPoint always returns nothing, even when tabs were dropped on.

Dim tab As Telerik.WinControls.UI.TabItem  
 
tab = radTabStrip.TabStripElement.GetItemByPoint(New Point(e.X, e.Y))  
 
If tab IsNot Nothing Then  
    MsgBox(tab.Name)  
End If  
 

Any help would be appreciated.

I am using VB.NET in VS2008

Thank you -- controls are still fantastic
Marc
Top achievements
Rank 2
 answered on 09 Jan 2009
2 answers
103 views
is the following possible:

i want to have a DropDownButton, but the drop down menu should only collapse, when the arrow part of the button is pressed.
Pressing the "Image" area of the button, the Click event for the button should be fired.

i have not found any way to find out whether tzhe arrow part has been pressed or not.

Edit: Just to make more clear what i want. Look at the "Paste" button in Word. Wenn cou click on it, it does a simple paste, when you click the arrow part it offers some options.
A Gallery could do it, but unfortunately a Gallery Element can't co-exist with other items in the same chunk. At least not in the version i'm using (the one that MS publishes oin the VC# express site).
It doesn't show me the arrow elements. when being the only element in a chunk it is ok.
Helmut
Top achievements
Rank 1
 answered on 09 Jan 2009
1 answer
120 views
I believe RadForm has problem with the MDI child as when get maximize or minimize than it leaving an extra title bar behind, also losing the style during the onload action. I was wondering if you can help with this please.

Many Thanks,
Iman.
Nick
Telerik team
 answered on 09 Jan 2009
1 answer
84 views
Hello,

I want to show all of text in my grid vertically, so i set TextOrientation = Vertically but they doesn't change, is there any way to do it?

thanks for your help,
Rebecca
Martin Vasilev
Telerik team
 answered on 09 Jan 2009
1 answer
110 views
Hi,

my RadPanelBar got a error message of "Value of '-18' is not valid for 'LargeChange'. 'LargeChange' must be greater than or equal to 0."  and I can't find any property like that or any information about it.  please help me.

thanks a lot
Victor
Telerik team
 answered on 09 Jan 2009
3 answers
174 views
I'm trying to bind a radgridview to a generic list of objects.

Each object in my generic list contains yet another class object.

For instance, I want the columns in my grid view to be like this:

Row1Column1 = GerericList(0).Property1
Row1Column2 = GerericList(0).Property2

..this works for me... but I haven't found a way to do this...

Row1Column3 = GerericList(0).Property3.SubProperty1
Row1Column4 = GerericList(0).Property3.SubProperty2

Make sense?
Is this possible when I bind a grid view to a generic list?

Ryan



Julian Benkov
Telerik team
 answered on 09 Jan 2009
2 answers
220 views
I am trying to set edit back to cell if no value is entered.
I am using the validating event.
It traps the empty event nicely but when I try to move focus and edit back to the empty cell if refuses and jump to next column in same row.
My code is as follow:


'get column number  
        Dim col As Int32 = Me.RadGridView1.Columns.IndexOf(Me.RadGridView1.CurrentColumn)  
        'test first if valid lognumber  
        If col = 0 Then  
            Dim input As String = (Me.RadGridView1.ActiveEditor.Value.ToString())  
            If input = "" Then  
                MsgBox("empty")  
                e.Cancel = True 
                Me.RadGridView1.Rows(0).IsCurrent = True 
                Me.RadGridView1.Columns(0).IsCurrent = True 
                Me.RadGridView1.BeginEdit()  
            End If  
        End If 

Thank you

 

 

 

 

 

 

 

Armand
Top achievements
Rank 1
 answered on 09 Jan 2009
1 answer
120 views
I have a RadToolstrip that contains multiple RadComboBoxElements.

I've resized the comboboxelements to larger (than default) width to fully display the text within it. Although the combobox is resized to the expected width, the embedded textbox is not resized. Thus the text is clipped.

I noticed that someone else on the forums (in 2007) noticed the same behaviour and the advice was to change the width of both minSize and maxSize. I've done this but didn't see any change to the behaviour.

I'm using the 2008 Q3 version.

To reproduce
1.create a simple winforms project
2. add a radtoolstrip (i docked it to top)
3. add a radcomboboxelement and change minsize, maxsize widths to 150.
4. run program

You'll see the default name radComboBoxElement1 is clipped


Any suggestions?
Nikolay
Telerik team
 answered on 08 Jan 2009
1 answer
102 views
I'm using Arial Unicode as the font for the Docking Manager & Document Pane so that I can display Chinese characters.  However, the font does not seem to change and the Chinese characters I display, display as squares.  I can use any other Telerik control e.g. button or label, set the font to Arial Unicode and the Chinese characters display correctly.

Any ideas?

Thanks
Ralph
Julian Benkov
Telerik team
 answered on 07 Jan 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)
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?