Telerik Forums
UI for WinForms Forum
1 answer
150 views
Hello,

It is possible Minimize the Ribbon by code?

Simulate the event of quickaccesstoolbar - minizeribbonitem

Renato Costa
Jordan
Telerik team
 answered on 29 Nov 2007
1 answer
137 views
I have a check box field in my grid that I want to be mutually exclussive.  That is, I want only one or zero rows to have a value of true for that check box at any point in time.  I tried code that changes the check box value of every row to false, but this is very slow.  So I thought I would keep a variable that stores the last row index that had a value of true for the check box field.  I have (at least) one group set up for the grid.  I am trying to store the current row index when the grid is first loaded using the following code:
foreach (GridViewRowInfo _row in employeesGrid.Rows)  
{  
    foreach (GridViewRowInfo _row2 in _row.Rows)  
    {  
        if (_row2.Cells["InitialAssignee"].Value != null && (bool)_row2.Cells["InitialAssignee"].Value == true)  
        {  
            curInitialAssignee = employeesGrid.Rows.IndexOf(_row2);  
        }  
    }  
}  
 

This code assumes that there is one level of grouping.  The problem is that curInitialAssignee is always set to -1.  I'm not sure why I can't get the row index of _row2.

Once the above is working, I have code in the ValueChanging event that will set the value of the InitialAssignee column to false for the row that corresponds to curInitialAssignee.  Followed by a line that changes curInitialAssignee to the new current row.

Also, I want to ensure that this row index remains valid even if the data is sorted differently, or a grouping is added or removed at run time.

Thanks,
Eric.

Georgi
Telerik team
 answered on 28 Nov 2007
1 answer
203 views
Hello..
I am trying to load RadCombobox by using the following code.
            
      foreach (SuperProgram superProgram in SuperPrograms)
               {
                   RadListBoxItem listitem = new RadListBoxItem();
                   listitem.Value = superProgram.ProgramMsg.MenuName;
                   listitem.Text = superProgram.ProgramMsg.MenuCaption;
                   LsvPgramAvail.Items.Add(listitem);
               }

It takes long time to load. Whereas in Microsoft's combobox the performance is very good.

Do I need any additional code??

Thanks...
Nikolay
Telerik team
 answered on 27 Nov 2007
3 answers
127 views
Hi:
I want to do reload form each one hour. What command i can use?
Thank you
Alberto
Angel
Telerik team
 answered on 27 Nov 2007
3 answers
306 views
Hello all-

I would like to use a background image for the header of the datagridview....seems this is very difficult to do

Any help?

Thanks
Justin
Jack
Telerik team
 answered on 27 Nov 2007
1 answer
199 views
Hello,

Have you a Vista theme for all yours windows components ?

Regards

Lionel
Mike
Telerik team
 answered on 26 Nov 2007
1 answer
146 views
Hi
I need to be able to hide and show tabs depending on various criteria.  I thought it would be enough to use Visibility = ElementVisibility.Hidden, which does indeed hide the tab, but its place is not taken up by the following tab. 

The functionality I need is that when tab1 is hidden, it is made invisible and for tab2 to move to the left, taking tab1's place.  When making it visible again I need the tab to appear again and for tab2 to be shifted to the right.

I've tried calling PerformLayout() without success.

Please could you tell me the official way of achieving this effect.

Best regards

Marek
Nikolay
Telerik team
 answered on 26 Nov 2007
3 answers
269 views
Hello all,
I've been trying to data bind a RadGridView to a DataSet in order to achieve hierarchical display (can I do this with a BindingList<> ?), and as soon as I try to change the DataSource and assign to it a null value or a List<> value I get this exception:
System.ArgumentException was caught
  Message="The relation is not parented to the table to which this DataView points."

the code is:
(radGridView1.DataSource as DataSet).Clear();
radGridView1.AutoGenerateHierarchyFromDataSet = false;
radGridView1.DataSource = null; // or radGridView1.DataSource = new                                                 //   List<MyClass>();
radGridView1.DataSource = lines;

Is it simply impossible?
Julian Benkov
Telerik team
 answered on 23 Nov 2007
1 answer
122 views
Hi:
There is any form to create a combobox with events into private sub? Without necesity to create it to level of form? I need the variable into private sub because i create and dispose the object (combobox) and if i dispose the variable to level of form then i can´t comeback to create for this i need create into private sub with events.
Thank you
Alberto
Vassil Petev
Telerik team
 answered on 23 Nov 2007
3 answers
146 views
Hello everyone,
Anyone knows or have already worked on integrating a Telerik RAD Control Panel Bar with eDeveloper tool from Magic Software ?
For those who worked with the WinForm RadCotrol panel bar from Telerik, is there a COM or API interface that we can call from a third party application ?
Can it be compiled as an ActiveX or So ?

Any information will be appreciated

Thanks in advance
Pierre
Jordan
Telerik team
 answered on 23 Nov 2007
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?