Telerik Forums
UI for WinForms Forum
2 answers
1.0K+ views
Hello,
is there a way to set the dropdown width for a text box with autocomplete programmatically.
In my case I have a narrow TextBox. When there are too many entries for selection a scroll bar overlays the items.
Please see the attached images.
Thank you for any hint.
Regards Roberto
Ivan Todorov
Telerik team
 answered on 11 Feb 2011
3 answers
322 views
I want to be able to drag a node from a tree view and drop it into a grid view right above the row under the mouse. Basically the same way the row re-ordering is done in the grid view (same effect and all) but instead of the same grid view being the source, a tree view would be one. 

Thanks

EB
Svett
Telerik team
 answered on 11 Feb 2011
4 answers
209 views
Hi,

I've got a winform that inherits from "
Inherits Telerik.WinControls.UI.RadRibbonForm"  with a ribboncontrol on it, when designing in studio 2010 it looks great as it should be, but at runtime, the visual representation is weird. Did I forgot something? I've included both screenshots.

I used an existing project to start with.

Kind regards;
Philippe
Peter
Telerik team
 answered on 11 Feb 2011
14 answers
252 views
Hi, why there is no spellchecker control available in Telerik windows forms controls, and there is one available for Telerik ASP.NET controls ?

When will the spell checker control, be supported in Telerik  Windows Forms controls ?

Is there any alternative free spell checker one can use ?

Stefan
Telerik team
 answered on 11 Feb 2011
12 answers
774 views
Hi all,

Please help, when I set message to statusStrip element and do refresh it shows only 3character.
eg.   RSS.Items("StatusMessage").Text = "Calculate Total"
       RSS.Refresh()
then when I run, it shows "Cal..."  , I want it to show all text whatever I set to.
Here is my designer code
'RSS
'
Me.RSS.AutoSize = True
Me.RSS.BackColor = System.Drawing.Color.LightCyan
Me.RSS.Items.AddRange(New Telerik.WinControls.RadItem() {Me.ProcessDateTime, Me.RadToolStripSeparatorItem1, Me.Source, Me.RadToolStripSeparatorItem2, Me.StatusMessage, Me.RadToolStripSeparatorItem3, Me.Count, Me.RadToolStripSeparatorItem4, Me.Version})
Me.RSS.LayoutStyle = Telerik.WinControls.UI.RadStatusBarLayoutStyle.Stack
Me.RSS.Location = New System.Drawing.Point(0, 242)
Me.RSS.Name = "RSS"
Me.RSS.Size = New System.Drawing.Size(736, 33)
Me.RSS.SizingGrip = False
Me.RSS.TabIndex = 0
Me.RSS.Text = "RadStatusStrip1"
Me.RSS.ThemeName = "Aqua"
Me.RSS.UseWaitCursor = True
'
'ProcessDateTime
'
Me.ProcessDateTime.AutoSize = False
Me.ProcessDateTime.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren
Me.ProcessDateTime.Bounds = New System.Drawing.Rectangle(0, 0, 100, 22)
Me.ProcessDateTime.Margin = New System.Windows.Forms.Padding(1)
Me.ProcessDateTime.Name = "ProcessDateTime"
Me.RSS.SetSpring(Me.ProcessDateTime, False)
Me.ProcessDateTime.Text = "time"
Me.ProcessDateTime.TextWrap = True
'
'RadToolStripSeparatorItem1
'
Me.RadToolStripSeparatorItem1.Margin = New System.Windows.Forms.Padding(1)
Me.RadToolStripSeparatorItem1.Name = "RadToolStripSeparatorItem1"
Me.RSS.SetSpring(Me.RadToolStripSeparatorItem1, False)
Me.RadToolStripSeparatorItem1.Text = "RadToolStripSeparatorItem1"
'
'Source
'
Me.Source.AutoSize = False
Me.Source.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren
Me.Source.Bounds = New System.Drawing.Rectangle(0, 0, 69, 20)
Me.Source.Margin = New System.Windows.Forms.Padding(1)
Me.Source.Name = "Source"
Me.RSS.SetSpring(Me.Source, False)
Me.Source.Text = "source"
Me.Source.TextWrap = True
'
'RadToolStripSeparatorItem2
'
'
'StatusMessage
'
Me.StatusMessage.AutoSize = False
Me.StatusMessage.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren
Me.StatusMessage.Bounds = New System.Drawing.Rectangle(0, 0, 384, 20)
Me.StatusMessage.Margin = New System.Windows.Forms.Padding(1)
Me.StatusMessage.Name = "StatusMessage"
Me.RSS.SetSpring(Me.StatusMessage, False)
Me.StatusMessage.Text = "status"
Me.StatusMessage.TextWrap = True
'
'RadToolStripSeparatorItem3
'
'
'Count
'
Me.Count.AutoSize = False
Me.Count.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren
Me.Count.Bounds = New System.Drawing.Rectangle(0, 0, 80, 27)
Me.Count.Margin = New System.Windows.Forms.Padding(1)
Me.Count.Name = "Count"
Me.RSS.SetSpring(Me.Count, False)
Me.Count.Text = "count"
Me.Count.TextWrap = True
'
'RadToolStripSeparatorItem4
'
'
'Version
'
Me.Version.AutoSize = False
Me.Version.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren
Me.Version.Bounds = New System.Drawing.Rectangle(0, 0, 79, 20)
Me.Version.Margin = New System.Windows.Forms.Padding(1)
Me.Version.Name = "Version"
Me.RSS.SetSpring(Me.Version, False)
Me.Version.Text = "version"
Me.Version.TextWrap = True

Thanks and best regards
Peter
Telerik team
 answered on 11 Feb 2011
3 answers
159 views
HI

 In my Application , a dropdown list having Binding source (master table data),on the dropdown list  selected index
a gridviews data (Detail table data) is populated..
 But same time dropdown list does not work properly (selected item does not changed)......

Please provide me any solution on that situation
....
Thank you

Richard Slade
Top achievements
Rank 2
 answered on 11 Feb 2011
2 answers
165 views
Hey,
    I am doing a lot of calculations to the grid through code and it is real slow if I don't use grid.beginupdate() & grid.endupdate(). However, when i call these I lose the edit of the selected cell. Oh well, so i store the current cell information and try to set it to edit after all the calculations have been done:


 

Me.gvRoomNights.Rows(_LastRowIndex).Cells(_LastColIndex).BeginEdit()

However this doesn't seem to work. Actually it never really loses edit, if you type it will edit. However, it doesn't look like it is in edit mode. For example, it is not white and no cursor.

Another,
    When I call, grid.beginupdate() & grid.endupdate(), the gird loses all of its cell formatting as far as backcolor.

Thanks in advance

Eric

 

Svett
Telerik team
 answered on 11 Feb 2011
4 answers
206 views
Is there a way to only have the nulltext italisized?  I do not want the entered text by the user to be italisized.  This seems like it would be a pretty popular thing so it seems like there must be a way , thanks in advance.
regina.
Richard Slade
Top achievements
Rank 2
 answered on 11 Feb 2011
6 answers
247 views
I've got a form has the following
PageView with 2 Pages (Let's call them A and B)
On Page B, I will have another PageView with n pages (Generated at run-time).

The problem that I'm having is that there is a margin inside the PageView (top [3px] and left [5px] - bottom and right have no margin) in such that I cannot get a nice flush finish. See screenshot attached. I've verified that all the properties for both Margin and Padding are set to 0.

I also noticed that in the location must be set at -5,-3 in order to line up with the edges correctly - which is the same amount that this additional margin is adding.

In fact, I wanted to change the margin to say 10 just to try going the other way (so I knew I was adjusting the correct margin property), but it only worked for the bottom margin, no others.

If someone could provide an example of what I am doing wrong, or how to nest 2 pageviews with no margin, please let me know.

Thanks



Ivan Petrov
Telerik team
 answered on 11 Feb 2011
10 answers
441 views
Hi. I have a datagrid that has a data source added programatically. I need a column to calculate an expression based on the data, but it is not working. Is it possible to combine expressions in data gridviews? Below is a snippet of my code.

Thanks.

Javier

 

 

With gvEntregaDetalle
    .MasterTemplate.AllowAddNewRow =
False
    .MasterTemplate.AutoGenerateColumns = False
    .MasterTemplate.AllowDeleteRow = False
    .TableElement.BeginUpdate()
    .Columns(
"Pendiente").Expression = "Cantidad-Surtido"
    .MasterTemplate.LoadFrom(sqlDR)
    .TableElement.EndUpdate()
End With

 

Julian Benkov
Telerik team
 answered on 11 Feb 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?