Telerik Forums
UI for WinForms Forum
7 answers
194 views
Hey at Telerik

I have hooked up the CellEditorInitialized event for the grid and tried to
change the Font of the opening Calander portion for a RadDatetimePickerColumn.
I can se at runtime that the instance of the DefaultBehaviour holds references to the RadCalender control in the RadDateTimePicker.

How can i change the Font of the Calender portion?

I also need to have weeknumbers enabled on the calender, but one solution fixes the other, i hope. :)

Regards

Morten.
Boyko Markov
Telerik team
 answered on 10 Jun 2009
1 answer
233 views

Hello All,
I have a task to evaluate Telerik GridView, but I'm stacked with a problem.
I need to create hierarchical RadGridView, but scenario where I will bind on startup Master and Childs Templates is not good for me, because most of the data in ChildGrid will be shown only on expanding, and in my scenario getting all the data is too expensive.
So I'm trying to populate Rows collection of ChildGridView template on ChildViewExpanding event.
And here where I have a problem. After first time I expand on + I have correct content, but then I collapse, and expand again, there is no content ( and in code Rows collection is properly filled with data ).
I found some threads on forum where other have similar issues, and conclusion was that Hierarchy can't be created dynamically and updated on expanding event.

What I'm missing here, or is this as designed?
Is there workaround for this( or way to simulate same behavior), or my best choice is to bring new GridView when user click master grid.

Thanks in advance.
Regards

Julian Benkov
Telerik team
 answered on 10 Jun 2009
1 answer
267 views
Hi,
I am using raddropdownbutton in my application. It is working perfectly. Am able to populate elements in the button etc. I have doubt in controling the visible area where elements are displayed. Say i want  the display area such that only 10 items can be visible and by scrolling down i like to see the other items. Can you please suggest me some solution to achieve my requirement.

Thanks,
Veda.
Boryana
Telerik team
 answered on 10 Jun 2009
1 answer
121 views
Hi

Thanks for beta update

In instructions to set up - it states update references to new dll's

When I right clicked references in the windows project there was no ability to update

Does that mean I have to delete each existing telerik reference and create a new one or is there another automatic or manual method I could use to update them please

Rgds
Stephen  
Stephen
Top achievements
Rank 1
 answered on 10 Jun 2009
6 answers
251 views
Hi there,

I have got problems regarding serialization/deserialization of docking layouts.

1.) When I adjust the width or height of an auto hidden window, this size won't be stored anyhow. If I reload the layout the size is alwas set to a default size. So the user have no chance to adjust the width or height of auto hidden windows permanently. I can reproduce this behaviour with the RadControls for WinForms example application under "RadDock-->Serialization". For me it seems that the size of an autohidden window isn't stored in the xml file at all. Am correct there? What can I do?

2.) When having a floating window the size of this window will not be restored correctly. Its size decreases everytime saving and loading the layout to xml. This behaviour can be reproduced in the sample application, too!

Please help ...


Best regards,
Oliver Bollmann

Vassil Petev
Telerik team
 answered on 09 Jun 2009
1 answer
167 views
How do I determine a child form's index number located in DockManager.MdiChildren collection?  In other words, I'm trying to determine what tab a child form belong's to.  I tried the following code:

System.Array.IndexOf(oDockingManager.MdiChildren, oClientForm)

I only get 0 as a result, no matter which tab the form is located in.  Any help would be appreciated.

Thanks,

Mitch

Nikolay
Telerik team
 answered on 09 Jun 2009
2 answers
110 views
Hello,

I use Microsoft Visual Basic 2008 Express Edition and I'm having trouble integrating RibbonBar on my Form.

I followed your tutorial >>> http://www.telerik.com/help/winforms/ribbonbarquickstart.html

But I have no RadRibbonBar in my toolbox. Can you tell me how to add control ?

Thank you
Jérôme
Top achievements
Rank 1
 answered on 09 Jun 2009
2 answers
203 views
I want to undo this command:

        Me.OrderStatusRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("OrderType GroupBy OrderType")
        Me.OrderStatusRadGridView.MasterGridViewTemplate.GroupByExpressions.Add("OrderStatus GroupBy OrderStatus")

and redo as I need to.

The documentation shows to how to add groups programically but not remove them.

Thank you


Jack
Telerik team
 answered on 08 Jun 2009
1 answer
130 views
I would like to run a applicationwide hotkey which enables the user to execute a specific command (eg maximizing all mdi forms) pressing alt-enter

When using this code it works:

ChordModifier1.AltModifier =

True

 

 

ChordModifier1.ControlModifier =

False  

 

 

ChordModifier1.ShiftModifier =

False  

 

 

Chord1.ChordModifier = ChordModifier1

Chord1.Keys =

"Alt+Y"  

 

 

InputBinding1.Chord = Chord1 

ClickCommand1.Name = "ActionCommand"

 

ClickCommand1.OwnerType =

GetType(Telerik.WinControls.RadItem)  

 

 

InputBinding1.Command = ClickCommand1  

InputBinding1.CommandContext =

Me.rbeWindowsMaximize

However when I use

Chord1.Keys = "Alt+Enter"

it does not work. How can I get Alt-Enter to work?
thnx
Walther

 

 

 

 

 

Deyan
Telerik team
 answered on 08 Jun 2009
1 answer
232 views
Hi,

I am attempting to create a manual type of contextmenu for a radgroupbox. I add radiobuttons to the radgroup box, then 2 menu items, one is Add MA, the other is Remove MA. The Add MA should expand to the right and then down and show the selection of MA's to add. The remove would of course getElementAt and remove one of the radiobutton controls. Every attempt I have made the second menuitem never opens up. Code is below, any help would be apprecaited.

        private void setup_ma() 
        { 
            // Intialize MA object 
            ma_list = new sch_objects.MA_List(profile_list.Locationid, profile_list.Installerid); 
            ma_add_menu = new Telerik.WinControls.UI.RadDropDownMenu(); 
            ma_all_menu = new Telerik.WinControls.UI.RadDropDownMenu(); 
 
            // Create RadioButton grouped list in groupbox to display primary button with radio, not selectable 
            int count = ma_list.MA_list_forinstallerID.Rows.Count; 
            Telerik.WinControls.UI.RadRadioButton[] radio_btn = new Telerik.WinControls.UI.RadRadioButton[count]; 
            DataRow row; 
            Telerik.WinControls.UI.RadMenuItem main_item; 
 
            // Array of MA's in Installer Profile 
            for (int i = 0; i < count; i++) 
            { 
                row = ma_list.MA_list_forinstallerID.Rows[i]; 
                radio_btn[i] = new Telerik.WinControls.UI.RadRadioButton(); 
                radio_btn[i].Text = row["ma"].ToString(); 
                radio_btn[i].Name = "rb" + radio_btn[i].Text; 
                radio_btn[i].Location = new Point(12, 21 * (i+1)); 
                if ((bool)row["primaryma"]) 
                { 
                    radio_btn[i].ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; 
                    radio_btn[i].Text = radio_btn[i].Text + " [Primary]"; 
                } 
                // For Toggling Primary MA 
                radio_btn[i].Click += new EventHandler(MA_Clicked); 
                // For manually opening a right click context menu 
                radio_btn[i].MouseDown += new MouseEventHandler(ma_radio_mousedown); 
            } 
 
            // Add "Add" button to group 
            Telerik.WinControls.UI.RadMenuItem[] item = new Telerik.WinControls.UI.RadMenuItem[ma_list.MA_list_forlocid.Rows.Count]; 
            int item_counter = 0; 
            foreach (DataRow ma_row in ma_list.MA_list_forlocid.Rows) 
            { 
                // Create MA's for add group 
                item[item_counter] = new Telerik.WinControls.UI.RadMenuItem(); 
                item[item_counter].Text = ma_row["ma"].ToString(); 
                item[item_counter].Name = "RI" + ma_row["ma"].ToString(); 
                item[item_counter].Click += new EventHandler(add_ma_click); 
                foreach (Telerik.WinControls.UI.RadRadioButton radio in radio_btn) 
                { 
                    if (radio.Name == ma_row["ma"].ToString()) 
                    { 
                        // Delete from group if they already exist in groupbox 
                        item[item_counter].Enabled = false; 
                    } 
                } 
                item_counter++; 
            } 
            // Menu MA "Add" Dropdown menu 
            main_item = new Telerik.WinControls.UI.RadMenuItem("Add"); 
            ma_add_menu.Items.Add(main_item); 
            ma_all_menu.Items.Add(main_item); 
 
            // Add MA Group to "Add" menuitem 
            main_item.Items.AddRange(item); 
 
            // Add "Remove MA" button to group, get MA by element location later 
            Telerik.WinControls.UI.RadMenuItem sec_item = new Telerik.WinControls.UI.RadMenuItem("Remove MA"); 
            sec_item.Click += new EventHandler(remove_ma_click); 
            ma_all_menu.Items.Add(sec_item); 
             
            ma_groupbox.MouseDown += new MouseEventHandler(ma_groupbox_MouseDown); 
            ma_groupbox.Controls.AddRange(radio_btn); 
        } 
 
        void ma_radio_mousedown(object sender, MouseEventArgs e) 
        { 
            if (e.Button == MouseButtons.Right) 
            { 
                ma_all_menu.Show(ma_groupbox, e.Location); 
            } 
        } 
 
        void ma_groupbox_MouseDown(object sender, MouseEventArgs e) 
        { 
            if (e.Button == MouseButtons.Right) 
            { 
                ma_add_menu.Show(ma_groupbox, e.Location); 
            } 
        } 

Victor
Telerik team
 answered on 08 Jun 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?