Telerik Forums
UI for WinForms Forum
5 answers
442 views
Hi

I need to bind a dataset to the dropdown part of a RadCombo but everything I try fails so I've reverted to the VB.net Combo.

Can you give me the basic vb.net code to get me started.

Many thanks

Mitch
Jordan
Telerik team
 answered on 07 May 2007
6 answers
120 views
When I copy and paste most controls, usually the collection is lost, say in a combobox. Is this just a Visual Studio designer bug? Is there a way to re-assign the collection back or make a copy of it without having to spend hours re-creating it just because you wanted to move it somewhere else?

I also get javascript errors when using Telerik controls, especially the tabs -- they disappear on me a lot, and I need close and open the project again to see them. It's just impossible it seems to copy and paste the whole tab control without not only screwing up your entire project, but also losing all the tabs. It doesn't seem specific to Telerik though... it's like the VS designer is totally clueless. I make a backup of my project anytime I need to move something to another user control...
Mike
Telerik team
 answered on 07 May 2007
5 answers
433 views
I am new to your controls, in VB.Net I am trying to dynamicaly build a form.  I have added the RadTabstrip to my .Net form and I can successfully add tabs in via code.  My problem is I want to add controls to the tab via code also(RadTetxbox, RadListbox) however it is not adding the control to the correct tab.  Below is the code:

Private Sub Add_Text(ByVal sorder As String, ByVal itab As Integer)

Dim txt As New RadTextBox

txt.Name = "Text_" & sorder

txt.Multiline = True

txt.ScrollBars = ScrollBars.Both

Me.RadTabStrip1.SelectedTab = Me.RadTabStrip1.Items(itab)

Me.TabItem1.ContentPanel.Controls.Add(txt)

itab is the tab I want to add the control to, it always adds the control to my first tab on the RadTabStrip control.

Boyko Markov
Telerik team
 answered on 07 May 2007
5 answers
293 views

i converting from  MSTreeView to RadTreeView

how can i drop & drop  in other tree
and When do drag from A to B, if unuse A Tree's Feedback, must do how

Desire to write comment or example ~~~ T.T;
Boyko Markov
Telerik team
 answered on 07 May 2007
5 answers
248 views
Is there anywa to add this optionbuttons in design mode? if not it will be a great feature. Actually we are migrating from Infragistics to Telerik and this is a feture the we have in Infragistics.









RadButtonElement optionsButton = new RadButtonElement();
optionsButton.Text = "Options";
optionsButton.Alignment = ContentAlignment.TopRight;
optionsButton.Padding = new Padding(3);
optionsButton.Margin = new Padding(3);
optionsButton.TextImageRelation = TextImageRelation.ImageBeforeText;
optionsButton.Image = global::Telerik.Examples.WinControls.Properties.Resources.optionsButton;
RadButtonElement exitButton = new RadButtonElement();
exitButton.Text = "Exit";
exitButton.Alignment = ContentAlignment.TopRight;
exitButton.Padding = new Padding(3);
exitButton.Margin = new Padding(3);
exitButton.TextImageRelation = TextImageRelation.ImageBeforeText;
exitButton.Image = global::Telerik.Examples.WinControls.Properties.Resources.exitButton;
this.radRibbonBar1.StartMenuBottomStrip.Children.Add(exitButton);
this.radRibbonBar1.StartMenuBottomStrip.Children.Add(optionsButton);
this.radComboBox1.TextBoxElement.Margin = new Padding(0, 4, 0, 0);
this.radRibbonBar1.RibbonBarElement.TabStripElement.SelectedTab =
this.radRibbonBar1.RibbonBarElement.TabStripElement.Items[0];
lprada
Top achievements
Rank 2
 answered on 04 May 2007
5 answers
262 views
I would love a Control to automatically scale the form and all (or some) of the controls on the form as it is resized.  I tried http://www.fengarisoftware.com/Default.aspx?tabid=105, but it does not work correctly with your controls.  I suspect just does not know how to find all the properties correctly since it is all custom.

I woudl like to know if this is at all a possibility as I am developing an application to run of HUGE resolutions where the user could be 60+ feet away.

Maybe there is a way to get your controls to resize correctly with their control?


Thank you
Georgi
Telerik team
 answered on 04 May 2007
1 answer
234 views
Is there a way to add your controls to a Context menu? My application uses the NotifyIcon Component which links to a Context menustrip.  I would like to be able to add your controls to this.  Or is there a completely different approach?

Thank you.
Jordan
Telerik team
 answered on 04 May 2007
3 answers
191 views
I am using the treeview control (nice by the way), and I want to add a drop down menu to the nodes, and that menu may have 5 items... but only some of them are shown based on the properties of the node... For instance, I want to hide 2 items, when the node is checked for instance.  The problem is Setting the Visibility to Hidden, hides the node, but leaves a blank space in the menu...  Is there a way to get rid of that behavior
Boyko Markov
Telerik team
 answered on 04 May 2007
2 answers
143 views
Hi,

Is there any way to find RadControls in a from ?
this.controls['key'] is not working..

Thx
Emrah Yigit
Top achievements
Rank 1
 answered on 03 May 2007
1 answer
178 views
I am extending one of your button controls to have more properties and am including the following code to "Shadow" the Paint event to further draw a string below the main string.  This works but would like to know if there is a better way of doing this, because when i change the text or hide and show the button, the text messes up during paint until it gets focus causing it to re-paint.  Here is what the buttons looks like painted:

buttons.gif

and here is my code in my extended class:
    Private Shadows Sub ExtendedPaint(ByVal sender As ObjectByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint  
        If Not String.IsNullOrEmpty(Me._alt_text) Then  '_alt_text (string property)  
            Dim f1 As Font = New Font("Arial", 8.0F, FontStyle.Bold)  
            Dim sf As New StringFormat()  
            Dim brush As System.Drawing.Brush = New SolidBrush(Me._alt_text_color)  
 
            Dim rect As Rectangle = New Rectangle(e.ClipRectangle.X, e.ClipRectangle.Y, e.ClipRectangle.Width, e.ClipRectangle.Height - 7)  
 
 
            sf.Alignment = StringAlignment.Center  
            sf.LineAlignment = StringAlignment.Far  
 
            e.Graphics.DrawString(Me._alt_text, f1, brush, rect, sf)  
 
            brush.Dispose()  
            sf.Dispose()  
            f1.Dispose()  
        End If 
    End Sub 

Any thoughts for improvement or somewhere that might be more efficient?
Jordan
Telerik team
 answered on 03 May 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?