Telerik Forums
UI for WinForms Forum
4 answers
104 views
Hello,

Has anyone seen the following behavior:

We have a grid (2010Q3), there is a column with decimal numbers, we update the data in the column in code but the grid won't show the new numbers unless you scroll up and down, or sort. We tried calling .Refresh or .Update on the grid but it did not help...

Any ideas?

See attached screenshot for details.

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 13 Dec 2010
3 answers
145 views
Hi

I am trying out the different themes on the PageView control in "Outlook" viewmode and at design time it only allows me to select the Office 2010 theme and doesn't allow me to select any other theme (that I have tried) .

If I programatically set the theme it works but it doesn't have the nice "hover over" effects. This applies to the Office2007Black and Office2007Silver. The other themes I test work fine when I programatically set the theme name.

Am I doing something wrong or does the PageView control not support these themes ?


Regards


Paul.
Nikolay
Telerik team
 answered on 13 Dec 2010
2 answers
107 views
Hello,

I'm using the hierarchical gridview with an object-relational datasource (programatically).
I'm displaying a list of order Items which have the property "ParentOrderItem".
Every item with a parent order item is displayed as a child row. Everything works fine.

What I want to do is copying the formatting of the gridview (done via Property Bilder - saying which columns to be shown, which header texts, ...) to the format of the child rows, since they alway show the same entities. This would help me doing the same work only once.

Here is the code where I set up my hierarchy:
//orderItemsgrid.DataSource is "theOrder.SD_Order_Items"

GridViewTemplate template = new GridViewTemplate();
template.DataSource = theOrder.SD_OrderItems;
orderItems_grid.MasterTemplate.Templates.Add(template);
 
GridViewRelation relation = new GridViewRelation(orderItems_grid.MasterTemplate);
relation.ChildTemplate = template;
relation.RelationName = "OrderItemOrderItem";
relation.ParentColumnNames.Add("OrderItemID");
relation.ChildColumnNames.Add("ParentOrderItem");
orderItems_grid.Relations.Add(relation);

Thanks for any help on this matter.

Stefan
Stefan
Top achievements
Rank 1
 answered on 13 Dec 2010
2 answers
183 views
Hi,

I'm using the 2010 Q3 release and I am trying to remove the thick border around a hierarchy child grid.
I'm not trying to change the size, just remove the thick border.
I've read several threads, but none work or answer my question.  Most threads assume there is a ChildTableElement.TableBodyElement
but there is no such object.
Now how do I get rid of this thick border, without having to define a Theme?

Best regards,

Henri
Henri
Top achievements
Rank 1
 answered on 13 Dec 2010
4 answers
221 views
Hello,
         I want to display the appointments in the radSchedular according to the date selected from radCalender.
         how to bind the day view of rad scheduler with the date selected from radCalender?

 How can i do this?

Dobry Zranchev
Telerik team
 answered on 13 Dec 2010
37 answers
1.1K+ views
I have a treeview whose initial size is 500 x 450 (width x height).
I would like the tree view rectangle to autosize as nodes are expanded/contracted.
Even though I set autosize = true, and give it a minsize > (0,0) and maxsize > minSize, the autosizing does not happen.

Is there any trick to autosizing a treeview?
I am using Q1 2008 SP1.

Thanks
Sunil
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 13 Dec 2010
5 answers
118 views
In GridView/self-referencing WinForms demo sample,how to 'AllowAddNewRow' in all hierarchical level?
Best Regards.
Richard Slade
Top achievements
Rank 2
 answered on 12 Dec 2010
3 answers
132 views
Hi I am trying to run a routine that is to show three levels of hierarchy thus:-

Main Level RadGridView ('rgvInletDetails')       CylinderID, some fields.....        Bound to 'Inlet' Table
Second Level Template   ('CylTemplate')          CylinderID, some fields ........    Bound to 'Cylinders' table
Third Level Template     ('CylGasTemplate')      CylinderID, some fields .......     Bound to 'CylinderGas' table 

My routine to accomplish this is as follows:-
======================================================================

 

Dim CylRelation                 As GridViewRelation
Dim CylGasRelation          As GridViewRelation
Dim CylTemplate               As GridViewTemplate
Dim CylGasTemplate        As GridViewTemplate

 

 

 

'setup the master template
rgvInletDetails.MasterTemplate.Columns.Clear
rgvInletDetails.MasterTemplate.AddNewRowPosition = SystemRowPosition.Top
rgvInletDetails.MasterTemplate.AllowAddNewRow     =
True
PopInletDetails(rgvInletDetails)                                  '  Binding Source for rgvInletDetails.DataSource =  'Inlet' table 

 

 

 

'setup the Cylinder child template (Level 2)
CylTemplate                                          = New GridViewTemplate()
CylTemplate.Caption                           =
"Cylinders"
CylTemplate.AllowAddNewRow      = True
PopCylinderData(CylTemplate)                                                                'setup BindingSource for level 2 with 'Cylinder' table
rgvInletDetails.MasterTemplate.Templates.Add(CylTemplate)         ' add 2nd Level Template to MasterTemplates

 

 

 

'setup the CylinderGas child template (Level 3)
CylGasTemplate                                     = New GridViewTemplate()
CylGasTemplate.Caption                      =
"Cylinder Gas"
CylGasTemplate.AllowAddNewRow = True
PopCylinderGas(CylGasTemplate)                                                         'setup BindingSource for level 3 with 'CylinderGas' table
rgvInletDetails.MasterTemplate.Templates.Add(CylGasTemplate)  ' add 3rd Level Template to MasterTemplates

'create the Cylinder relation
Cylrelation                                            = New GridViewRelation(rgvInletDetails.MasterTemplate)
CylRelation.ParentTemplate              = rgvInletDetails.MasterTemplate
Cylrelation.ChildTemplate                 = CylTemplate
Cylrelation.RelationName                  =
"Cylinders"
Cylrelation.ParentColumnNames.Add("CylinderID")
Cylrelation.ChildColumnNames.Add(
"CylinderID")
rgvInletDetails.Relations.Add(Cylrelation)

 

 

 

'create the CylinderGas relation
CylGasRelation                                   = New GridViewRelation(rgvInletDetails.MasterTemplate)
CylGasRelation.ParentTemplate      = CylTemplate
CylGasRelation.ChildTemplate        = CylGasTemplate
CylGasRelation.RelationName         =
"CylinderGas"
CylGasRelation.ParentColumnNames.Add("CylinderID")
CylGasRelation.ChildColumnNames.Add(
"CylinderID")
rgvInletDetails.Relations.Add(CylGasRelation)

================================================================

Ok - all done. Now when I run this the main grid is displayed correctly with a '+' showing there are records for the 2nd level. However, when I click on
that '+' button then I get this message:-

(see attachment 'errordisplay.jpg' )

Actually an example of a three level hierarchy would be invaluable as it isn't immediately clear on the set up for this arrangement. This requirement above is further complicated by the fact that both Relations have to specify the same field name and I was worried in case the grid thought that it might have to produce two Level 2 grids rather than a Level 2 and a Level 3. As it is I probably have this incorrectly specified. But it would be really nice if an example of both arrangements could be provided.

Many thanks for taking the time to read this and if there are any other details I can provide please ask.
I am using this in a VB.Net 2.0 VS2008 IDE for Windows Forms and the RadgridView is from the 2010.3.10.1109 release.


Does anyone in Telerik know what the message "measure override returned positive infinity" actually means? Can't find any trace of it on the Internet.

 

 

 

 

 

 

 

 

 

 

 

 

Ben Thompson
Top achievements
Rank 1
 answered on 12 Dec 2010
3 answers
245 views
Hello,

I attempted to use RadSpinEditor to edit an integer value. Everything was fine with one exception: when Enter key is hit by the user (at the end, to announce the completion of the editing process), an annoying sound (beep) is heared. There is a way to get rid of this sound?

Mircea
Richard Slade
Top achievements
Rank 2
 answered on 12 Dec 2010
8 answers
248 views
Hi,

is it possible to auto scroll GridView when selecting data with mouse?
When I click on first row and first cell, hold the mouse button and drag with mouse to select more rows, I need that GridView auto scrolls to show me rows, which did not fit in a page.
Because now I cannot select rows which are not visible.

Van Elpho
van
Top achievements
Rank 1
 answered on 11 Dec 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
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
NavigationView
VirtualKeyboard
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?