Telerik Forums
UI for WinForms Forum
2 answers
153 views
I have created a new windows application c# project, and all I have done is to drag a RadRibbonBar control onto the default form. The only other thing I have done is to add the following debug statements into the form method:

            Debug.WriteLine(DateTime.Now);
            InitializeComponent();
            Debug.WriteLine(DateTime.Now);

When I run the project it takes 8 seconds to show the form - a form with a standard MS toolbar is instantaneous.

System is as follows:
Windows 7 Ultimate x 64
Visual Studio 8 SP1
AMD Phenom II 965

Anyone offer any advice?

Thanks.
Craig Booth
Top achievements
Rank 1
 answered on 04 Jan 2010
13 answers
525 views
Hello,

I'm trying to do the following.

I've got a gridview that is triggered depending on which button you click (active and inactive button). So when active is clicked the gridview is loaded with all the active items and vice versa.

Now in my gridview I've got one combobox column filled with 3 states (values: import, active, inactive). What I want to do is if the active items are loaded then in the combobox you can't select the active value and visa versa for inactive. the import values is always enabled.

Next what I thought of doing is to have a combobox in my header of the grid. So if I select for example "import" in the header all items in the gridview will be set to be imported. A little like the checkbox in the header I guess.

I looked for both things on the telerik forum and knowledge base but can't seem to find anything useful.

Thanks in advanced.
Gerbrand
Jack
Telerik team
 answered on 04 Jan 2010
16 answers
289 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
185 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
128 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
277 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
215 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
281 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
178 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
132 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?