Telerik Forums
UI for WinForms Forum
1 answer
143 views
Hi,

I have a radtabstrip (within a documentpanel) the tabstrip has about 20 tabs, each tab contains either a datagridview or a tablelayoutpanel with several controls in it (about 30 textboxes/labels). i want to dynamically change the visibility of the tabs, when i click a certain node in a treeview, the right tabs should be shown/hidden.

so i check which tabs are already visible and hide them as following:

public void hideTabs()
{
    
foreach (TabItem ti in radTabStripMain.Items)
    {
        if (ti.Visibility == Telerik.WinControls.ElementVisibility.Visible)
        {
            ti.Visibility = Telerik.WinControls.
ElementVisibility.Hidden;
        }
    }
}

and in my selected event of the treeview i've put:

private void rtvImmo_Selected(object sender, EventArgs e)
{
    hideTabs();
    
switch (rtvImmo.SelectedNode.Level)
    {
        
case 0:
            tiPatrimonium.Visibility = Telerik.WinControls.
ElementVisibility.Visible;
            tiPatrimoniumLasten.Visibility = Telerik.WinControls.
ElementVisibility.Visible;
            tiPatrimoniumVerzekeringen.Visibility = Telerik.WinControls.
ElementVisibility.Visible;
            radTabStripMain.SelectedTab = tiPatrimonium;
...

However, this takes ages to load the new tabs to be shown?

any help would be appreciated!

Regards,

Peter

Nikolay
Telerik team
 answered on 20 Mar 2008
3 answers
62 views
Key_Up and Key_Press doesn't works, but Text_Changed works! In old version this events works fine!
Jordan
Telerik team
 answered on 19 Mar 2008
1 answer
125 views
Currently, the dock window is automatically resized relative to the size of dock manager or form in 'Filled' dock mode. What I want to do is to make the width of a dock window fixed. How is this possible?

Regards,

Sopheap
Julian Benkov
Telerik team
 answered on 19 Mar 2008
1 answer
232 views
I want to be able to format my DateTime Column in the grid, How do we format it?

I have looked in the documentation and it says it is there, I just don't know how to use it.
Jack
Telerik team
 answered on 19 Mar 2008
6 answers
414 views
Hi,

What is the correct approach in using the Ribbon Bar in a MDI style application.
Before we could create menu on each child form and merge it to the MDI Container form menu. That was good before each form is a unit of work and it takes care of menu structure it needs. There is no need to create the whole menu structure in the MDI container form and hide/unhide menu items depending on the Child form selected.
Is something simmilar possible with the Ribbon Bar?

Regards

Bojan
Martin Beeby
Top achievements
Rank 1
 answered on 19 Mar 2008
1 answer
97 views

Hi Telerik,

   one minor typo error  in the help text of 
   "GridViewCommandColumn.FieldName"

 it says

  "Gets or sets the name of the field  taht the this column is associated with."

  here "that" spelled wrong. please corect it.

 I am using English verison of Beta.

Thanks,
Santosh kumar 


  
Jack
Telerik team
 answered on 19 Mar 2008
1 answer
134 views
ShapedForm shows some strange behaviors running in Windows Vista 32-bit. When maximized, you can still drag it around. After dragging, when you click the Restore button, the window is *not* resized back to the normal size, and it's moved to new location off the screen. It's weirder when you click Maximize button again. The window doesn't span fully on the screen at all, and part of the window often moves off the screen.

To reproduce this in Vista 32-bit, firstly create new SharpedForm, and then add a RibbonBar control. Run it, drag the window around, click Maximize, grab on the RibbonBar title-bar to drag the window around, click Restore and Maximize again.

Regards,

Jack
Telerik team
 answered on 19 Mar 2008
1 answer
344 views
Hello,

i have a RadTreeView with several nodes being added dynamically. on each node i am assigning the same context menu. in the click event for the items on the menu i need to know which node was right-clicked. how can i determine this?
Jordan
Telerik team
 answered on 19 Mar 2008
1 answer
137 views
I have a form with multiple ComboBoxes, and every time my end user submits the data, I want the ComboBoxes to Rebind to the data and reset to the original settings.

I have tried using "RadComboBox1.Refrest()" but this doesnt seem to help.

They are binding to a DataSet from a DAL.

I have gone as far as to try "Me.Refresh" to refresh the whole form, but this doesnt seem to work either.

Does anyone have any ideas.
Chase Florell
Top achievements
Rank 1
 answered on 19 Mar 2008
7 answers
243 views
Hi,

Is that possible to set the Color Dialog in Office 2007 Black Theme?
Kiril
Telerik team
 answered on 18 Mar 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)
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?