Telerik Forums
UI for WinForms Forum
14 answers
1.4K+ views
Hi guys,

Im only just starting to use Rad controls for winforms, and i know i have such a stupid question. But how do i get a horizontal scroll bar to work with the RadGridView. Il explain my problem below:
Eg - i have 10 columns in the grid, and havent actually set any specific widths on them, and call

radGridView1.MasterGridViewTemplate.BestFitColumns();

Now when i click one the columns to make it autosize to fit its contents, eg a column that has a long sentence in it, i expect to see a horizontal scroll bar so that i can stil scroll to view the other columns. But unfortunately the scroll bar never shows up :( Even though HorizontalScollState = AutoHide. All i simply want is for a scroll bar to show up when there are too many columns.

I must be missing something for sure! Do i need to set specific widths on columns, so that the scroll bar comes up and works?

Thanks for any suggestions.
Chris.

Svett
Telerik team
 answered on 30 Nov 2011
3 answers
183 views
Hi,

I am using the RadRichTextBox (RRTB) to display HTML code.  This works well, however there is an issue with the border of the table with which I am unable to remove, and remains black between cells.  I have tried to use iinline attributes such as style="border:none" and style="border-collapse:collapse" without success.

Are any style attributes for tables supported? Please help!
Svett
Telerik team
 answered on 30 Nov 2011
6 answers
315 views
Hi.. how are you..

I am exporting a GridView with several columns... one of them is a type checkbox..it's neccesary to chose the rows in the grid.
see attach name "GridViewCheckBox.JPG" and i need export the information in the grid but when i export it.. He put the the field Checkbox like FALSE OR TRUE (see the image "exportexcelgridview.jpg" ) and need that export without this column.. there a option when i am exporting can i chose wich column want to export ?? and i neet to show the column like Checkbox..

Thanks very much..
Ivan Petrov
Telerik team
 answered on 30 Nov 2011
3 answers
89 views
Hi there,

I am working on a custom theme based on ControlDefault
I have a form containing multiple grids and i want to use the HideSelection property to remove all row and cell highlighting when focusing on a different grid.
I've managed to get the theme to do this mostly, the only part i cant figure out is how to remove the cell highlight (see attached screen shot).

I've removed the border from GridDataCellElement.IsCurrent, but left the one for GridDataCell.IsSelected. it seems like no matter what i try, the border still remains.

Hope someone can help!

Cheers,
Matt
Jack
Telerik team
 answered on 30 Nov 2011
1 answer
124 views
Hi,
Does anyone have a code snipped to check if a child radform is already open?
Thank you

Peter
Telerik team
 answered on 30 Nov 2011
3 answers
152 views
Hi,

I'm having trouble with the edit functionality of the RadmaskedTextBox.  We have a masked textbox for phone numbers with the following mask: "(##) #### ####" where the area code is in the brackets, followed by the actual number.

The problem is that when this textbox is populated with data from the database, sometimes the phone number does not have the area code, so it appears like this: (12) 1234 12__.  When the textbox is selected and the caret placed at the start of the text, instead of inserting the missing area code at the start, it over-writes the existing data.

I have tried setting the textbox mask to be "##########" and the displayMask to be "(##) #### ####", but it still pads out the missing characters and over-writes the data when edited.

Is there a way of doing this?  Or should we just go back to using standard textboxes?
Peter
Telerik team
 answered on 30 Nov 2011
0 answers
87 views
Hi, I had version Q2 2011 WinForms VISUAL Style Builder, and change to the NEW VERSION OF Q3 2011, but there were some problems with DropDownButton because I can not change the properties of the button or save the changes. This problem only happens with this element (DropDownButton). How can I solve the problem?

Best Regards, Daniel Soares
Daniel
Top achievements
Rank 1
 asked on 29 Nov 2011
1 answer
134 views
     I know that in virtual mode automatic sorting is dosn't supported. But I have to implemented custom sorting.
 Anybody know how resolve this problem ?
Julian Benkov
Telerik team
 answered on 29 Nov 2011
1 answer
284 views
Hi:
   How to open a new form when cell-double click in RadGridViwe?
   It seems that it only fires if the cells column is readonly.,but if the cell in editmode ,the cell-double click does not occur  .

  My user want to:
  1. Cell is put into editmode when cell-double click
  2. Cell is put into focus when cellclick
  3. User can edit cell or open a new form when cell-double click.

  We use 2011Q2 official version

Greetings
Look forward to you
AJing.
Stefan
Telerik team
 answered on 28 Nov 2011
1 answer
123 views
Hi,

I need a grid which will persist to the database every time a cell is edited
i've managed to achieve this for existing rows:
- handle the CellEndEdit event
- grab the DataBoundItem
- send it off to the data layer for updating

this does not work when editing cells in the "New row" as the DataboundItem property is null. I noticed that if i navigate to a different row, from this point the DataBoundItem is NOT null and updates will work.
Is there any way to make this happen on CellEndEdit, can i force the grid to create a new item in the datasource at this point instead of waiting for the user to navigate away from the row?

Thanks,
Matt
Jack
Telerik team
 answered on 28 Nov 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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?