Telerik Forums
UI for WinForms Forum
16 answers
280 views
Hi,

I have a requirement and need to evaluate if RadGridView can support this.

I need to display hierarchical data in the grid. The data can span unto 4 levels. To clarify it further, say I have Manufacturer, Retailer and consumer. Here the consumer can directly purchase from a manufacturer. Or he can consume from a retailer. Also retailer can purchase from the manufacturer. I am interested in showing up the data in a user friendly format. I have tried these 2 options

1. Group by feature and realized that even when the consumer purchases directly from Manufacturer, the data for the consumer is displayed at 3rd level. Since the data is grouped on Manufacturer and then the Retailer. So here the consumer is shown as Manufacturer1-> Retailer (EMPTY)-> Consumer.
2. The other option was showing the data establishing relationship between tables. This served the purpose but the view is unfriendly. The user has to scroll up and down too much to view the data.

Please let me know if there is a possibility with RadGridView to support this requirement. To summarize it, I need to display data hierarch ally where I have Manufacturer, Retailer and Consumer. The Consumer can purchase from both Retailer and Manufacturer. And Retailer can buy only from Manufacturer. So the hierarchy can be

-Manufacturer1
    -Retailer1
        -Consumer2
        -Consumer3
    -Consumer1
-Manufactuer2
    -Consumer4
    -Retailer2
        -Consumer5
    Retailer2

Regards,
Reshu
 
Nick
Telerik team
 answered on 04 Jan 2010
3 answers
175 views
RadButtonElement text disappears after window is restored from minimised state (to system tray).

Attachment 01 shows state prior to minimising.

Attachment 02 shows state after restoring from minimised state.

Only this RibbonTab is affected (not Windows, or Create).

If another tab is selected, then window is minimised, and restored, text re-appears on Task List tab.

If window is minimised and restored without selecting another tab, text still does not appear.

Tried calling RepaintElements(). No change in behaviour.
Nikolay
Telerik team
 answered on 04 Jan 2010
2 answers
123 views
Forgive the cross-post, but I didn't realize until afterwards that GridViewLookUpColumn should be asked here instead.
I have a GridView that has three columns. The first is read only and named RuleKeyGuid. The second is called RuleKey, and the last is called KeyValue. I'd like for the second column to be a drop-down that suggests what the user might be looking for based on a data source. Here's what I entered:

System.Collections.IDictionaryEnumerator iterator = sortedRuleKeys.GetEnumerator();
while (iterator.MoveNext())
{
    GridViewRowInfo rowInfo = radGridView_RuleKeys.Rows.AddNew();
    rowInfo.Cells[0].Value = ((RuleKey)iterator.Value).RuleKeyGuid.ToString();
    rowInfo.Cells[1].Value = ((RuleKey)iterator.Value).keyName;
    rowInfo.Cells[2].Value = ((RuleKey)iterator.Value).keyValue;
}

((GridViewLookUpColumn)radGridView_RuleKeys.Columns[1]).AutoCompleteMode = AutoCompleteMode.SuggestAppend; 
((GridViewLookUpColumn)radGridView_RuleKeys.Columns[1]).DropDownStyle = RadDropDownStyle.DropDown; 
 
DataTable dt = new DataTable(); 
dt.Columns.Add("RuleKey"typeof(string)); 
dt.Rows.Add("Mobile"); 
dt.Rows.Add("Business"); 
dt.Rows.Add("Fax"); 
((GridViewLookUpColumn)radGridView_RuleKeys.Columns[1]).DataSource = dt; 

If I make changes in the grid to cells in the third column, it works just fine. But I can't change the second column. When I type, it seems to be accepting whatever I'm typing, but when I hit enter, it goes away.

I have two problems here.
1) The value that I've manually set the cell to doesn't show up unless it's a member of the DataSource.
2) The user cannot enter any value other than what is in the DataSource. If they type something in, it doesn't "stick". You hit Enter and the value reverts to whatever it was before.

How do I go about addressing this? They both seem to be related. Is there a setting I'm missing or am I approaching this problem incorrectly?
Svett
Telerik team
 answered on 04 Jan 2010
5 answers
261 views
Hello,

I have a tool window in a Rad Dock on a form. I've set the Allowed Dock states so it can only be docked or hidden, but I also want to ensure that apart from this, it cannot grow or shrink (like having a fixed splitter). Is there a way to do this please?

Thanks

Richard
Alex Lin
Top achievements
Rank 1
 answered on 31 Dec 2009
1 answer
206 views
How to hide the controlbox of mdichild from Rad Menu.......... tried some solutions but not yet success

any help would be appreciated....
Robert
Top achievements
Rank 1
 answered on 30 Dec 2009
9 answers
269 views
Using the the example in this link I am trying to figure the best way to drop a row only on the specific grid you want to add it to.

For example, I have 4 grids in a docking panel.  lets call them grids1 - grid4.  grid1 and grid2 has values I want to share with grid2. grids 3 and grid4 do not except any drop.  However, what is happening is that when I drag from grid1 to grid4 it addes the value to grid2.  How can I tell if the grid I am hovering over is the grid that I want to add the value to.

Thanks
Stephen
steve
Top achievements
Rank 1
 answered on 30 Dec 2009
3 answers
171 views
I have a gridview that uses outside controls to insert/update/delete rows.

I fill it with a tableadapter.

        private void ManageLocations_Load(object sender, EventArgs e) 
        { 
            this.wISE_LocationsTableAdapter.Fill(this.locations.WISE_Locations); 
 
        } 

I insert/update/delete using custom calls.  The following works fine -- it inserts fine and grid refreshes with inserted record -- but when I close the child form in which it is called, and then reopen the child form, the grid is missing the new record.

        private void InsertLoc() 
        { 
            sh.InsertLoc(txtName.Text, txtZip.Text, string.Empty, string.Empty); 
            this.rgLocations.Rows.Add(txtName.Text, txtZip.Text); 
            this.UpdatePanelInfo(this.rgLocations.CurrentRow); 
        } 

The same thing with the update and delete.  It is like the tableadapter isn't refreshing with the new data.

I am using a SQLCE db, and that db is in my bin folder.

Any ideas on how I can refresh the tableadapter so that the grid always reflects exactly what is in the db?

Thanks

Chad






Jack
Telerik team
 answered on 30 Dec 2009
1 answer
120 views
Hi
Each appointment shows the startdate and stopdate. I would like to change this to only show the startdate. How can I do this?
Martin Vasilev
Telerik team
 answered on 30 Dec 2009
1 answer
218 views
Hi
I have the radscheduler set up as WorkWeek. The work hours have a white background as opposed to the default light blue, however they range by default from 09:00 to 18:00. How can I change these times?
Nick
Telerik team
 answered on 30 Dec 2009
11 answers
208 views
It is possible to get the hierarchical structure in the rad grid view in ASP.NET web application, but my application is windows application. So any1 plz tell me how can i have the same hierarical structure in the grid view used in the windows application.
Jack
Telerik team
 answered on 30 Dec 2009
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?