Telerik Forums
UI for WinForms Forum
1 answer
112 views
Greetings!

I'm trying to mimic the look and feel of ribbon buttons in Office 2007 that have the same functionality as the RadSplitButton or the RadDropDownButton. The key difference is that in the Office 2007 ribbon, these buttons have their drop down arrow at the bottom of the bottom - beneath the text and/or image - rather than to the right.

For example, if you open Word 2007, the first button on the toolbar is Paste, which is the functional equivalent of a RadSplitButton, but the arrow is at the bottom rather than the right.

Similarly, if you open an existing e-mail in Outlook 2007, the "Move To Folder" and "Other Actions" buttons are equivalent to RadDropDownButtons, but with the arrow at the bottom - although notably in these cases the arrow is drawn to the right of the text rather than on its own horizontal band.

I haven't been able to find such behaviour in the RadSpliButton or RadDropDownButton. Is this correct (they are unable to do this) or have I missed some property settings? I admit, I'm yet to follow get my head around the full styling capabilities of the Rad Controls for Windows Forms.
Nick
Telerik team
 answered on 21 Jan 2009
1 answer
81 views
Hello,

I'm developing a Windows application with VS2008, SQL Server 205 and other more... under WXP

I have a GridView with GridViewDateTimeColumns and GridViewComboBoxColumns and works fine. Then, I setup my application on W Vista and everything works but GridViewDateTimeColumns. I push button to display calendar panel, but anything is show. Other columns are displayed as I want, but nothing with GridViewDateTimeColumns. I have data in my DD.BB. that is displayed in GridViewDateTimeColumn, but when I want to change or insert a new row, GridViewDateTimeColumns don't display nothing.

What's the matter?? Thanks.
Boyko Markov
Telerik team
 answered on 21 Jan 2009
3 answers
191 views
Hi there,

I just started using Telerik RadControls for WinForms. I have crated a Shaped Form and tried setting the backcolor of the titlebar at runtime. Following is the code which sets the backcolor at runtime, but the color doesnt get effected.

this

.radTitleBar1.backcolor = Color.Blue;

 


Then, I tried using the following code to acheive the same.

((Telerik.WinControls.Primitives.FillPrimitive)(

this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor = Color.Blue;

 

((Telerik.WinControls.Primitives.FillPrimitive)(

this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = Color.Blue;((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = Color.Blue;((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = Color.Blue;

 

Why the previous code didnt work?

Thanks
Raj

Victor
Telerik team
 answered on 21 Jan 2009
3 answers
139 views
Top-level Exception
Type:        System.ArgumentOutOfRangeException
Message:     Value of '1' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
Parameter name: Value
Source:      Telerik.WinControls.UI
Stack Trace: at Telerik.WinControls.UI.RadScrollBarElement.set_Value(Int32 value)
   at Telerik.WinControls.UI.RadScrollBar.set_Value(Int32 value)
   at Telerik.WinControls.UI.RadTreeView.ScrollBy(Int32 delta)
   at Telerik.WinControls.UI.RadTreeView.OnMouseWheel(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseWheel(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The issue had been encountered both in 8.0.0.0 and 8.1.0.0 versions

It occurs when the TreeView is very short...

Any suggestions for workarounds?
Victor
Telerik team
 answered on 21 Jan 2009
2 answers
145 views
Hi,
Is it possible to add a handler for the RadPanelBarGroupElement Click event?  I don't want to have Items, just the group. Also id there a way to disable the expand/collapse images?

Thanks. 
Deyan
Telerik team
 answered on 21 Jan 2009
3 answers
158 views
Greetings!

The default behaviour for the DockingManager framework is that when a tool window is docked, the associated tab strip is always displayed. This is fine in itself, but I'm keen to get it to only display when there are 2 or more tool windows in the one location. If there is a single tool window, I'm not wanting the tab strip to display (effectively emulating the behaviour of Visual Studio).

Is there by any chance a simple property that I can set to achieve this?

I suspect that I could make it happen by capturing docking events and accessing the TabStripElement property of the DefaultPresenter, but just wanting to check if the behaviour is already included as I suspect this is a common preference.
Julian Benkov
Telerik team
 answered on 21 Jan 2009
3 answers
156 views
Hi,

I am trying to get the group button's text to display on 2 lines. I've tried setting the Text: UI element's TextWrap property to True, but that did not change anything. I cannot find any other properties that would help me.

What next?
Nick
Telerik team
 answered on 20 Jan 2009
12 answers
409 views
Has anybody managed to bind the Grid View in Master/Detail to LLBLGen
related EntityCollections with Edit / Insert / Delete enabled and
database-generated ID fields?

If so, I'd be interested in some code examples - or some hints about how to
implement insert of detail records to new master records (that have no ID yet)
and the implementation of deferred delete logic.

Regards
Erwin



Nick
Telerik team
 answered on 20 Jan 2009
1 answer
137 views
im using ragridview. the problem is if  i have 100,000+ records and i want to display update and delete it on the grid. how do i improve the performance of the loading time. im using linq to sql.
Deyan
Telerik team
 answered on 20 Jan 2009
1 answer
273 views
Hello,
I would like my application to show every tooltip  when i click on a button.
i have a combobox, a button in my radmenuButtonItem and a radButton for example.
When i click on a button "Show ToolTip", I would like to show all the toolTips
And if i click once again on my button, it hide them all.

i try this, but it does not work:
 Public Sub ShowToolTips() 
  radButton1.RootElement.ToolTipText = "radButton1 toolTip" 
  radButton1.RootElement.AutoToolTip = True 
 
  radMenuButtonItem1.ToolTipText = "radMenuButtonItem1 toolTip" 
  radMenuButtonItem1.AutoToolTip = True 
 
  radComboBox1.RootElement.AutoToolTip = True 
  radComboBox1.RootElement.ToolTipText = "radComboBox1 toolTip" 
End Sub() 
 
could you help me
Thank you
Shirya


Nick
Telerik team
 answered on 20 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)
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?