I use an unbound radgridview. After initialization of the columns i have an empty radgridview.
When i now call radgridview1.MasterGridViewTemplate.BestFitColumns( );
then the column header is ignored in the calculation of the best size for the columns and all columns are shrunken to a few pixels.
Kind Regards,
Ramius
| CSUserControl itemControl; |
| if (typeof(CSUserControl).IsAssignableFrom(ucType)) |
| { |
| itemControl = (CSUserControl) Activator.CreateInstance(ucType, parameterList); |
| } |
| else |
| { |
| UserControl item = (UserControl)Activator.CreateInstance(ucType, parameterList); |
| itemControl = new CSUserControl(); |
| itemControl.Controls.Add(item); |
| item.Dock = DockStyle.Fill; |
| } |
| Size size = itemControl.Size; |
| //Hook up events |
| itemControl.WindowChangeRequested += documentPane_WindowChangeRequested; |
| itemControl.WindowOpenRequested += documentPane_WindowOpenRequested; |
| itemControl.WindowCloseRequested += documentPane_WindowCloseRequested; |
| itemControl.AutoScroll = true; |
| HostWindow host; |
| if (dockPosition == DockPosition.Fill) |
| { |
| host = _dock.DockControl(itemControl, dockPosition, DockType.Document); |
| } |
| else |
| { |
| host = _dock.DockControl(itemControl, dockPosition); |
| } |
| host.Text = documentName; |
| host.Name = documentName; |
| host.CloseAction = DockWindowCloseAction.CloseAndDispose; |
| host.AutoScroll = true; |
| host.TabStrip.AutoScroll = true; |
| //host.TabStrip.MinimumSize = itemControl.MinimumSize; |
| //host.MinimumSize = itemControl.MinimumSize; |
| DockTabStrip strip = (DockTabStrip)host.TabStrip; |
| strip.SizeInfo.AbsoluteSize = size; |
| _dock.ActivateWindow(host); |
Hi
I have a radgridview which has a column whose value is set by an expression:
Me.StockGrid.Columns("Total").Expression = "(Qty) *" & CInt(Me.radtextbox1.Text)
I want to use the result of the expression to populate another column in the same grid.
Me.StockGrid.Columns("req").Expression = "(Total – Available)”
The result is always nothing although the total column value calculated by the first expression has a value and available has a value. Is this type of calculation valid?
Regards
joe
... why just opening the window is very slow? with 4 controls of telerik, it takes 3
or more seconds... Imagine 10 controls!! thanks!! Reply. Telerik Admin. ...
http://www.telerik.com/community/forums/winforms/gridview/performance-to-open.aspx
In the RadControls for Winforms Q3 2009 Beta Demo Application in the gridview TabbedChildViews Demo:
When i change the Tabs Position to left or to right then only two tabs ("Details", "Orders") are displayed and the third tab "Perfromance" is not displayed. When there is not enough space to display all tabs at a position there should be a scrollbar or something like this which should auotmatically be displayed so all tabs could be reached.
Kind Regards,
Ramius