Telerik Forums
UI for WinForms Forum
3 answers
209 views
Even though I can change using Inherited form, I was wondring if there is a way to completely disable it and replace it with my own form that would update the SQL tables directly (along with other things in the database). My question is about disabling the edit dialog and relacing it with my own...  If you happend to provide examples, would you please provide VB.net?

Thanks
 
Boyko Markov
Telerik team
 answered on 14 Jan 2010
0 answers
93 views
Good morning,

I am creating gridviews programmatically but the TAB key is not functioning within the gridviews. When I click the tab key it either does nothing or, if the controls is in edit mode, it just highlights the entire value within the control. How do I get the TAB key to jump between cells?

RadGridView gridView = new RadGridView();  
gridView.Name = name;  
gridView.Anchor = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right);  
gridView.AutoSize = true;  
gridView.AutoScroll = true;  
gridView.MasterGridViewTemplate.BestFitColumns();  
//gridView.MasterGridViewTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;  
gridView.MasterGridViewTemplate.AutoGenerateColumns = false;  
gridView.MasterGridViewTemplate.AllowAddNewRow = true;  
gridView.ShowGroupPanel = false;  
gridView.ContextMenuOpening += new ContextMenuOpeningEventHandler(gridView_ContextMenuOpening);  
gridView.GridBehavior = new MyBehavior(); // see behavior below  
gridView.CellBeginEdit += new GridViewCellCancelEventHandler(gridView_CellBeginEdit);  
gridView.CellValueChanged += new GridViewCellEventHandler(gridView_CellValueChanged);  
gridView.StandardTab = true;  
 

I've tried the "StandardTab" property set to true and false, neither of them work.

Thank you,
Scott Vercuski
Scott
Top achievements
Rank 1
 asked on 13 Jan 2010
2 answers
92 views
How can disable DatePickerDateTimeShower or how can selecting automatic date without clicking the control DatePickerDateTimeShower

Regards
Jose Monerto
Top achievements
Rank 1
 answered on 13 Jan 2010
1 answer
51 views

Hi,

We have a problem with the rendering of the grid(version 2009.3.9.1203) since we upgrade to version 2009 Q3.

He is the code we use to set the columns width :

 

 

Me.Instance.DataSource = Value

 

 

Me.Instance.GridElement.BeginUpdate()

 

 

 If Me.Instance.MasterGridViewTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.None Then

 

 

 

   For Each column As GridViewDataColumn In Me.Instance.Columns

 

      column.BestFit()

 

   Next

 

 

 

End If
Me.Instance.GridElement.EndUpdate()

Since we update, the column.BestFit() don't work and all column have like width of 1...? We usually have grid with more than 10 columns and it has always work fine.

What should we do to fix it?

thx

 

Martin Vasilev
Telerik team
 answered on 13 Jan 2010
7 answers
368 views
Hello.

Default behaviour for a radgridview is to scroll one whole "page" when using the mousewheel to scroll, however I would like to change this to something like 5 rows at a time. Is this possible?

Best Regards, Joel
Nikolay
Telerik team
 answered on 13 Jan 2010
3 answers
286 views
How to insert a Radion Button Column in radGridview in Windows form?.
Nikolay
Telerik team
 answered on 13 Jan 2010
2 answers
90 views
Hi all,

I was wondering if there's a way to resize the treeview checkboxes - I am changing an application to be used with a touchscreen, and the current checkbox is too small to click using your finger. Anyone has any advice?

Thanks.
Eyal R
Top achievements
Rank 1
 answered on 13 Jan 2010
3 answers
236 views

Hi,

I fill the grid like this:

bindingSource.DataSource = typeof(MyClass); //MyClass has a property of boolean type which are represented by checkboxes in the grid as well as string properties

grid.EnableFiltering = true;
grid.MasterGridViewTemplate.EnableFiltering = true;

grid.DataSource = bindingSource;

//refresh the binding source

As you can see, I enable filtering programatically. The problem is that no filtering for bool columns is available. I can filter text columns by manually entering some text in the filter row (however no menu/editor/designer is shown for this, I can only enter text and the LIKE operator is applied automatically), but there is no way to filter checkbox columns.

What can be the cause of such strange behavior, how can I solve this problem?

Thanks,

Maciej Aniserowicz

Jack
Telerik team
 answered on 13 Jan 2010
4 answers
136 views
Hello,
I just have installed the new Q3 2009 package and I still have an error when I try to export my radgriView into an Excel file.
Before upgrading I had an index out of range error. 
After upgrading I have : Could not find neighbour element!

I'am using this very simple piece of code :

Dim documentTop As AnalyseForm = CType(MainDock.DocumentManager.ActiveDocument.Controls(0), AnalyseForm) 
Dim exporter As New ExportToExcelML(documentTop.DataGrid) 
exporter.SheetMaxRows = ExcelMaxRows._65536 
exporter.ExportVisualSettings = True 
Dim fileName As String = "c:\ExportedData.xls" 
exporter.RunExport(fileName) 

Thanks for your help
Mike Moore
Top achievements
Rank 1
 answered on 12 Jan 2010
1 answer
288 views
Hi

I'm a newbee. This should be a very simple question

I added radgrid to form, bound it to access data table bindingsource and tableadapter, insert update and delete statements generated

enabled adding,deleting and editing on mastertableview

ran app - edited and added ok but close and open form and changes not saved to database!

looked in documentation and all seems as it should be. Also can't get any edit/update/cancel or add buttons to show.

Very frustrated - please help
Martin Vasilev
Telerik team
 answered on 12 Jan 2010
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?