Telerik Forums
UI for WinForms Forum
1 answer
191 views
The feature page for the GridView says the following:

"Ability to use other Telerik controls as editors
You can nest any RadControl or custom element within
RadGridView. This feature gives you extra flexibility in
building functionality into applications and allows you
to add new custom editors (combobox, textbox, listbox, etc). "

I looked through the examples but couldn't find an example of a custom editor.  Does anyone have a sample of using a custom editor that runs inline with the cell?
Peter
Telerik team
 answered on 07 Feb 2008
1 answer
115 views
  1. Create a RadTreeControl in a winform
  2. Add nodes to the tree dynamically
  3. Have some nodes be red, and others black.
  4. Place enough nodes the the tree needs to scroll.
  5. When you scroll, the colors will transfer from one node to another.


    Anyone else seeing this?


    Brian.
Jordan
Telerik team
 answered on 07 Feb 2008
1 answer
150 views
Hi,

I tried to set a shortcut for Shift+Ctrl+F1 - I can't get it running.
I can (using the dialog) set keys like A, B,... and so on.
But how to assign a function key?

Documentation is very poor - I can't even find any words about setting keys programmaticly.

This is also a thing I wanna do.
Let the Admin select shortcuts via a database - and assign them at startup.

Assume I have a well defined set of actions - and than I simply want to assign them keys at runtime.

Regards

Manfred
Dimitar Kapitanov
Telerik team
 answered on 06 Feb 2008
1 answer
118 views

Hello,

I am using the CAB Enabling Kit in my test application. I've added two docked windows to the Dockable Workspace:

this.Workspaces[WorkspaceNames.DockableWorkspace].Show(view1, smartPartInfo1);
this.Workspaces[WorkspaceNames.DockableWorkspace].Show(view2, smartPartInfo2);

I can see both windows and they are both functional.
Next, if I try to close one of these windows (by clicking its [x] button) the both are closed!
That is wrong because the user wants to close just one and to keep the second one opened.

After some investigation, I've found the reason of this wrong behavior.
When you click the Close button, the RadDockableWorkspace.dockManager_DockingStateChanging/Changed
pair of events raised TWICE(!). For the first time, with the sender = dockingManager, and for the second,
with the sender = DockPanel (= the window you are closing).

So, the first time, it is the dockingManager.Hide() method called.
I think it closes ALL docked windows.

I've made some changes in RadDockableWorkspace.dockManager_DockingStateChanging/Changed code
to run the right Hide() method of the only window being closed.

Replace
(sender as Control).Hide()
with
(e.DockObject as Control).Hide()

After this change, the behavior of my two windows is as expected
but I am not sure that I found the good fixing up of the problem,
because I need to recomplie the Telerik.CAB.WinForms dll.

Could you please help me to get the right solution of the problem?

 

Jordan
Telerik team
 answered on 06 Feb 2008
1 answer
85 views
Hi, I want to put the color picker into ribbon bar which like the photo below:
http://img160.imageshack.us/my.php?image=colorpickka8.jpg
May I know how to make it with telerik?

Thanks in advance.
Kiril
Telerik team
 answered on 06 Feb 2008
3 answers
105 views
I am evalutating the RadControl set for purchase and am running into some shortcomings in the product;  I am trying to put roughly 1200 items into a panelbar (subdivided into 30 or so groups in a jagged manner), unfortunately this causes the bar to render completely wrong.  It's pretty disappointing if this control simply can't deal with large amounts of data, or is there something else I need to do other then just:

private void RefreshAxisValues()
        {
            KeyValuePair<Dictionary<int, Axis>, Dictionary<int, AxisValue>> result = Simulation.GetAvailableAxisValues(m_CurrentSimulationID, null);

            m_pnlVariables.Items.Clear();

            Dictionary<int, List<AxisValue>> values = new Dictionary<int, List<AxisValue>>();           

            foreach (AxisValue value in result.Value.Values)
            {
                if (!values.ContainsKey(value.AxisID))
                {
                    values.Add(value.AxisID, new List<AxisValue>());
                }

                values[value.AxisID].Add(value);
            }

            foreach (int axisID in result.Key.Keys)
            {

                RadPanelBarGroupElement axisGroup = new RadPanelBarGroupElement();
                axisGroup.Caption = result.Key[axisID].Name;
               
                foreach (AxisValue value in values[axisID])
                {
                    RadCheckBoxElement element = new RadCheckBoxElement();
                    element.Text = value.Value;
                    element.Tag = value;
                    element.IsChecked = true;

                    axisGroup.Items.Add(element);
                }

                axisGroup.Expanded = false;
                axisGroup.AutoSize = true;
                axisGroup.CollapseChildren(true);

                m_pnlVariables.Items.Add(axisGroup);                       
            }
        }
Boyko Markov
Telerik team
 answered on 05 Feb 2008
3 answers
148 views
Hey,
    When I use the property TreeView.Nodes[0].Index to get the index value of a specific node, I got the following warning message

'Telerik.WinControls.UI.RadTreeNode.Index'

is obsolete: 'The setter of the Index property will be removed.'

Is there an alternative for this property?

Thank you

Jordan
Telerik team
 answered on 05 Feb 2008
1 answer
171 views
I found a little glitch in the datetimepicker so I'll share it and it will hopefully be fixed :P.

In the datetimepicker, if one uses the keyboard to type in the date (ex. default date is Jan 1, 2008.  A user highlights the month and presses 3 on the keyboard, changing the month to March.  They then highlight the date, and press 23 on the keyboard, changing the date to 23.  The value displayed is now "March 23, 2008"), the date is not saved. After giving another control focus and clicking the dropdown in the datetimepicker, the value displayed on the calendar (and the actual value) is still January 1, 2008.  The only current way of getting around this is to either select the date using the calendar or highlight the year and hit "Enter".

Hope this helped.
Boyko Markov
Telerik team
 answered on 05 Feb 2008
1 answer
118 views
I'm re-familiarizing myself with the winforms controls.  One thing I've noticed, is the MaskedEditBox works great when you type info into it like a phone number.  However, when you load a phone number into it from a datasource, or gridview etc, it loses the mask. ie when I click a row in the gridview, it loads the information, but instead of showing (123) 123-1234 like in the asp version, is shows 1231231234.  Is this normal or am I missing something?
Boyko Markov
Telerik team
 answered on 05 Feb 2008
1 answer
111 views
Hi All,

I have a Generic List of Category objects built for my program in c# which I am binding the gridview to.

The category object has a Summary property which is a class with multiple Integer and Decimal properties
e.g.

Category  
   |-CategoryName  
   |-Summary  
        |-TotalPoints  
        |-Potential Points  
           .   
           .  
           . 

What i am looking to do is have the following columns in each row;
CategoryName, TotalPoints, PotentialPoints.

I have Used CategoryName as the data field for my first column and this displays fine, i have then entered Summary.TotalPoints in the data field for the next column but this displays nothing but also throws no error!

I am considering just moving the properties up from the summary object to the category object to overcome this but would prefer not to.

Any help would be great.

Thanks in advance
Wes
oneshot
Top achievements
Rank 1
 answered on 04 Feb 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?