Telerik Forums
UI for WinForms Forum
4 answers
165 views
Hi there.

I generate a GridView from a DataSet that contains two related tables. The relation between the two is intepreted by

            GridView.AutoGenerateHierarchy = true;


All of this works like a charm. The only issue is that I don“t know how to make the hierarchical child stretch columns to full width. Although the Grid itself stretches to full width, the child relation does not inherit this and the colums are too narrow.

Put simple - How to stretch child colums to the full width? Everything is generated programmatically from DataSets.

Please also the screenshot in the thread below...

Thanks!
El
Nick
Telerik team
 answered on 23 Oct 2008
2 answers
164 views
How to set  Inner (Child)Grid  Heigh Dynamicaly  in Rad Grid View Hierarchy (Win Forms)
Sudhakar
Top achievements
Rank 1
 answered on 22 Oct 2008
2 answers
227 views
Hi!

I'm writing an app that uses a RadGridView for massive data input. Some of the values are chosen from combo box columns.

I've tried using a cast to (RadComboBoxItem) of the default editor of the columns to set the DropDownSizingMode, but to no avail...

This would be great for me as the user sometimes can not see the fullness of the descriptions in the dropdown...

Is this possible to be achieved?

Thanks!!
Stargazer
Top achievements
Rank 2
 answered on 21 Oct 2008
1 answer
186 views
I have following suggestions regarding multicolumn combo. I'm sure you're already in process of implementing some of them.
  • auto-complete functionality is vital for this control
  • when user selects value (or writes down value, which is in the list), when dropdown is opened, displayed list (grid) should have row with that value selected. This behavior is in RadComboBox and it's very important in multi column combo too.
  • there is BestFitColumns() function which adjusts width of columns but something that would adjust dropdown width according to width of columns is lacking and would help.
  • there is one annoying thing - when you click on dropdown button of combo (that arrow which displays dropdown) when you are in process of validation of some control (you didn't validate control in Validating event handler by setting e.Cancel = true), multicolumn combo dropdown is still displayed. I'll submit this as a bug too, because it is causing me problems and is not expected behavior (nor standard .NET combobox control behaves this way).

I hope my input will help something and I'm looking forward to seeing this new control evolve.

Best regards,
Daniel

Nick
Telerik team
 answered on 21 Oct 2008
1 answer
109 views

I construct the list of 3 my objects and attach it to the GridView. As a result all 3 lines shows the first item: "aa". DataBound of all 3 lines is OK but display does not work OK. Here is my code below:


eeList =

new List<MedCheckEntry>();

 

 

MedCheckEntry i1 = new MedCheckEntry();

 

i1.ReferenceNo =

"aa";

 

eeList.Add(i1);

 

MedCheckEntry i2 = new MedCheckEntry();

 

i2.ReferenceNo =

"bbb";

 

eeList.Add(i2);

 

MedCheckEntry i3 = new MedCheckEntry();

 

i3.ReferenceNo =

"ccc";

 

eeList.Add(i3);

gridView.MasterGridViewTemplate.DataSource = eeList;

Nick
Telerik team
 answered on 21 Oct 2008
1 answer
352 views
Hi,
I would like to look in a complex treeview for a node with a certain name. How can I go through all nodes independently of the level?
For a reference I would be grateful.
Thanks.
Christian
Nick
Telerik team
 answered on 21 Oct 2008
1 answer
538 views
Hi,

I'm using the default context menu for the RadGrid in our application. It has all teh features the customer needs but there are 2 little issues:

- The menu item "edit" still appears in the default menu even when Editing is disabled. Shouldn't that be removed automatically?

- The only item(s) I want to remove from the context menu are copy and paste. The user doesn't need to do that and it produces an error when he copies a text or  a number into a DateField. Sure I can validate that in the code but I would rather remove the two items.

Is ist possible to remove the items and keep the default menu or do I have to create a custom only because of that?

Thanks
Nick
Telerik team
 answered on 21 Oct 2008
1 answer
217 views
I posted this last week and it seems it dissappeared for some reason.

So I have a GridView for Winforms control on a form that refreshes the dataset every 3 minutes.  Randomly during the day my users are reporting that the entire GridView control turns white and there is a red X in the control.  This is the entire GridView control's canvas.  Very wierd.  This is the error that the user's receive:

(There is a checkbox column in the Master template, this is not a hierarchical dataset.  It is flat.)

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

   at Telerik.WinControls.UI.GridRowElement.SetSelectedState(Boolean showSelection)

   at Telerik.WinControls.UI.RadGridView.OnEnter(EventArgs e)

   at System.Windows.Forms.Control.NotifyEnter()

   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

OpenOrderQueue

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/OpenOrderQueue.exe

----------------------------------------

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Web.Services

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

bd1mghel

    Assembly Version: 1.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Telerik.WinControls.GridView

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.GridView.DLL

----------------------------------------

Telerik.WinControls.UI

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.UI.DLL

----------------------------------------

Telerik.WinControls

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/Telerik.WinControls.DLL

----------------------------------------

System.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

----------------------------------------

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Drawing.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll

----------------------------------------

TelerikCommon

    Assembly Version: 7.1.1.0

    Win32 Version: 7.1.1.0

    CodeBase: file:///C:/Users/dschoenradt/AppData/Local/Apps/2.0/3JD20TPC.H0L/GLXBNWY2.3H9/open..tion_24c31b70a076bf0e_0001.0001_afe2b025b268abb6/TelerikCommon.DLL

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Nick
Telerik team
 answered on 21 Oct 2008
1 answer
148 views
Do you know how can I display listbox items horizontally?
Nick
Telerik team
 answered on 21 Oct 2008
4 answers
192 views
Is it possible to create the x-axis labels from a date column in my dataset? I have a date set where I want to return a series of dates, and some associated values, i.e.a structure such as;

Selecteddate (date)
Somevalue1 (int)
Somevalue2 (int)

What I'd like to show is the series of dates along the x-axis, and my values plotted above those. Although I can sort them, I won't know how many value sets (rows) I will have in advance, or if the dates are evenly spaced (i.e. there might be gaps in dates).

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