Telerik Forums
UI for WinForms Forum
2 answers
143 views
Hi
I would like to register a specific menu item in my radmenu as a UIExtensionSite.  I would like to do something like:

this.RootWorkItem.UIExtensionSites.RegisterSite("ViewMenu", this.Shell.MainMenu[1].Children);

Where 1 is the index of my view menu on the main menu.  I then would like to access and modify this using something like:

RadMenuItem menuItem = new RadMenuItem("GIS");

_presenter.WorkItem.RootWorkItem.UIExtensionSites[UIExtensionSiteNames.ViewMenu].Add(menuItem);

I have implemented a RadMenuAdapterFactory, which handles RadMenu and RadItemCollection (using the appraiser workbench sample), but I'm not sure how to handle this specific case.

Any help would be much appreciated.

Best regards

Marek

Vassil Petev
Telerik team
 answered on 23 Aug 2007
17 answers
287 views
Are there going to be any CAB wrappers for the WinForm controls?  Has anyone tried to wire one up for use with CAB, yet?

Ling
Vassil Petev
Telerik team
 answered on 23 Aug 2007
1 answer
206 views

Hi,

I have created the template form with the control RadTabStrip.  When the other form inherites from the template, I can’t add more TabItems in design time, because it fails. The errors are:

Element already added!
Hide    

at Telerik.WinControls.RadElementCollection.CheckElementAlreadyAdded(Object value)
at Telerik.WinControls.RadElementCollection.OnInsert(Int32 index, Object value)
at System.Collections.CollectionBase.System.Collections.IList.Insert(Int32 index, Object value)
at Telerik.WinControls.RadItemCollection.OnInsertComplete(Int32 index, Object value)
at System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
at Telerik.WinControls.RadItemCollection.AddRange(RadItem[] value)

But if i comment the line

this.radTabStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {

this.tabItem2});

and change it for 

this.radTabStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {

 

new Telerik.WinControls.UI.TabItem()

});

there is no error. In run time it doesn´t  present this error.
kdev
Top achievements
Rank 1
 answered on 23 Aug 2007
2 answers
216 views

I tried to add a tooltiptext to RadToggleButton and RadTrackBar.
The code is below:

toggleButtonMagnifier.RootElement.ToolTipText = "Magnification Toggle";
toggleButtonMagnifier.ShowItemToolTips = true;

Also tried the other way:
((RadMenu)AttachmentView.Controls[1]).MenuElement.Items[0].ToolTipText = "Magnification Toggle";

but tooltiptext did not pup up.

Any suggestion?

Thanks,

Susan

susan
Top achievements
Rank 1
 answered on 22 Aug 2007
2 answers
446 views
I want to delete row. How can i do this??
Jack
Telerik team
 answered on 22 Aug 2007
2 answers
176 views
Morning Telerik,
Currently I use the SP2 for wincontrols, and I set every headertextalignment in data grid to Middle center(I save also the changes).The first time, changes are shown but once I run my application, I get Middle left Allignment.It is like, I have nothing  done!
So what is the problem?
Angel
Telerik team
 answered on 22 Aug 2007
6 answers
267 views
I am creating a shaped form as a DialogResult:

Dim Result As DialogResult = frmShapedForm.ShowDialog(Me

In my frmShapedForm.designer.vb, I am specifying:
Me.StartPosition = FormStartPosition.CenterParent 

to center the form atop the parent (opener) form but it is not working, when i change the form to inherit from Windows.Forms.Form, everything works as expected.
Jack
Telerik team
 answered on 21 Aug 2007
3 answers
427 views
I must admit that i don't see how to use this property?
Let say i wanna bind to employee object with property FirstName and LastName and see [LastName, FirstName] in combobox. how can i achieve this?

Can you provide a simple example please?
Thanks.
Dwight
Telerik team
 answered on 21 Aug 2007
3 answers
208 views
Hi, I figured out if you input the text with uppercase, the word will be cut. Please verify.

Thanks
Angel
Telerik team
 answered on 21 Aug 2007
4 answers
229 views
Hello. How can i get paint event of datagrid?
Jack
Telerik team
 answered on 21 Aug 2007
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?