Telerik Forums
UI for WinForms Forum
8 answers
424 views
I'm sure this is simple but it's got me foxed.
I want to add a child node to a child node.

I store the location I want to place the new node, in this case parent node 0 and child node 0

            If r("DocNode1") = 0 And r("DocNode2") = 0 Then

                tvDocs.Nodes(0).Nodes.Add((r("DocTitle"))) '<<< How do I add the GrandChild node ?

            End If

Thanks.
Victor
Telerik team
 answered on 11 Mar 2010
2 answers
129 views
Hello,
I updated my WinForms Project to Q1 2010.

Now the SelectedIndexChanged Event doesn't fire when selecting a Item in the RadComboBox Element by mouse.
If I select another Item by keybord the event do work.

Is this an error in the Q1 2010 issue?
Victor
Telerik team
 answered on 11 Mar 2010
1 answer
95 views
Hi,

I just started using the new Visual Style Builder (in WinForms 2010.1 10.308), and it's awesome compared to the old way/style.

However, is there a way to change the settings for the "Animated State Transition"?

In some of my older themes, I set very slow animation times to get smoother effects. I used to be able to control the animated transition style and timing. Are these settings still around?

Thanks,
Tim


Deyan
Telerik team
 answered on 11 Mar 2010
1 answer
90 views
HI, Sorry that i am posting all issus in ione post but i really haven't a lot of time :0

I was trying to test one of my application with new Beta2010 and fountd those issues at first:

1. RadMessageBox -> look at attached picture there is some inexpected white space on it.

2. RadGrid -> look at grid at bottom left i there is autosizerows enabled and i added one item into it via additem ( there is some problem with size )

3. When i am using DataBinding list as GridSource sometimes have an argumentxception when calling ItemChangedEvent thenin debug i have for example 20 item in collection and index is 0 but i am getting ArgumentOutOfRangeExeption.


Regards
Rafal
Martin Vasilev
Telerik team
 answered on 11 Mar 2010
5 answers
320 views
Hi,

I have added keyboard shortcuts to my menu by using the Command Bindings as follows:

Command Binding : Telerik.WinControls.Keyboard.InputBinding
Chord : Alt + F
Command : ActivateMenuItemCommand
CommandContext : mnuRootFile

This works perfectly the first time I run the App and use the shortcut ALT + F but once I have opened a menu item and close the form the keyboard shortcuts no longer work.

Could you please help me?

Thanks

Barry
Victor
Telerik team
 answered on 10 Mar 2010
3 answers
685 views
I am trying to validate values being entered into my grid real-time in the CellEndEdit event handler.  If I find that the value entered is not valid, I push a message to the user and want to fire the BeginEdit on that same field, to keep them there until they enter something valid.

I cannot kickoff the BeginEdit method successfully on the cell.  Sifting through this forum, I found some "like" problems and tried implementing some suggested techniques, all with no success.  Below is some sample code.

Private Sub grdMain_CellEndEdit(ByVal sender As ObjectByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles grdMain.CellEndEdit 
 
    If e.Row.Cells(2).Value.ToString <> "" Then 
        If e.Row.Cells(2).Value.ToString.ToUpper <> "TRUE" And e.Row.Cells(2).Value.ToString.ToUpper <> "FALSE" Then 
            e.Row.Cells(2).Selected = True 
            e.Row.Cells(2).CellElement.IsCurrent = True 
            e.Row.Cells(2).BeginEdit() 
        End If 
    End If 
 
End Sub 


The BeginEdit does not fire, but the cell is selected in the grid.

Regards,
Christopher Thumann
Victor
Telerik team
 answered on 10 Mar 2010
7 answers
207 views
Hai,
I'm creating a simple program to display some values in a chart. The user can select the type of chart.But I'm having problem to create the pie chart. The problem is that I cannot combine two values into a single pie.Instead only by creating two chartseries. Pls help me to rectify the problem.
Thanks

using System; 
using System.Collections.Generic; 
using System.ComponentModel; 
using System.Data; 
using System.Drawing; 
using System.Linq; 
using System.Text; 
using System.Windows.Forms; 
using Telerik.Charting; 
using Telerik.WinControls.UI; 
using Telerik.WinControls; 
using Telerik.WinControls.Primitives; 
using FrmErdStatusChart.CallSignWebService; 
using System.Collections; 
 
 
 
namespace FrmErdStatusChart 
    public partial class Form1 : RadForm 
    { 
        public Form1() 
        { 
            InitializeComponent(); 
            radChart1.ChartTitle.TextBlock.Text = "Status Chart"
            radChart1.Appearance.Border.Visible = false
            radChart1.Appearance.FillStyle.MainColor = Color.Lavender; 
            radChart1.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.Black; 
            this.radChart1.Series[0].Appearance.LegendDisplayMode = Telerik.Charting.ChartSeriesLegendDisplayMode.Nothing; 
            this.radChart1.Series[1].Appearance.LegendDisplayMode = Telerik.Charting.ChartSeriesLegendDisplayMode.Nothing; 
             
        } 
        CallSignWebService.CallSignWebService callsignWS = new CallSignWebService.CallSignWebService(); 
        ArrayList statusArray = new ArrayList(); 
        ChartSeries cs = new ChartSeries(); 
        ChartSeries cs1 = new ChartSeries(); 
         
 
        int online ; 
        int offline ; 
        string[] status = {"online" , "offline" }; 
 
 
        //Add the status ==> online 
        public void AddAvailable() 
        { 
            cs.Clear(); 
            cs.Items.Add(new ChartSeriesItem(online)); 
            radChart1.Series.Add(cs); 
            cs.Name = "Online " + online; 
            radChart1.DataBind(); 
        } 
 
        //Add status ==> offline 
        public void AddOffline() 
        { 
            cs1.Clear(); 
            cs1.Items.Add(new ChartSeriesItem(offline)); 
            radChart1.Series.Add(cs1); 
            cs1.Name = "offline "+offline; 
            radChart1.DataBind(); 
        } 
 
 
        //Get the status from the callsign 
        public void addStatus() 
        { 
            callSign[] callSignList = callsignWS.findAll(); 
            foreach (callSign callSign in callSignList) 
            { 
               statusArray.Add(callSign.status); 
           ///// Console.WriteLine(callSign.unit); 
                 
            } 
           
        } 
 
        //filter out the status according to online,offline 
        public void addChart() 
        { 
            online = 0
            offline = 0
             
             
          /*  for (int i = 0; i < statusArray.Count; i++) 
            { 
                //counts status ==> online 
                foreach (string online in statusArray) 
                { 
                    o++; 
                } 
                //counts status ==> offline 
                foreach (string offline in statusArray) 
                { 
                    f++; 
                } 
                break; 
            }*/ 
            for (int i = 0; i < statusArray.Count;i++ ) 
            { 
                if (statusArray[i].ToString() == "Online") 
                { 
                    online++; 
                } 
                else offline++; 
 
            } 
            Console.WriteLine("Online ==> "+online); 
            Console.WriteLine("Offline ==> "+offline); 
          
        } 
         
 
        private void radComboBox1_SelectedValueChanged(object sender, EventArgs e) 
        { 
 
        } 
 
        private void radComboBox1_SelectedIndexChanged(object sender, EventArgs e) 
        { 
 
            // Check whether an item in combo box is selected 
            if (radComboBox1.SelectedItem != null) 
            { 
                //value is equal to pie 
                if (radComboBox1.SelectedIndex == 0) 
                { 
                  /*  radChart1.Series.Clear(); 
                    ChartSeries cs2 = new ChartSeries(); 
                    cs2.Type = ChartSeriesType.Pie; 
                     
                    radChart1.Series.Add(cs2); 
                    radChart1.DataSource = new int[] {o,f }; 
                    radChart1.DataBind();*/ 
 
                    AddOffline(); 
                    AddAvailable(); 
                     
                    cs.Type = ChartSeriesType.Pie; 
                    cs1.Type = ChartSeriesType.Pie; 
 
                } 
                //value is equal to bar 
                else if (radComboBox1.SelectedIndex == 1) 
                { 
 
                    AddOffline(); 
                    AddAvailable(); 
                    cs.Type = ChartSeriesType.Bar; 
                    cs1.Type = ChartSeriesType.Bar; 
  
                } 
                //Value is equal to point 
                else if (radComboBox1.SelectedIndex == 2) 
                { 
 
                    AddOffline(); 
                    AddAvailable(); 
                    cs.Type = ChartSeriesType.Point; 
                    cs1.Type = ChartSeriesType.Point; 
 
                } 
            } 
        } 
 
        private void Form1_Load(object sender, EventArgs e) 
        { 
            addStatus(); 
            addChart(); 
        } 
    } 
 

amrutha anil
Top achievements
Rank 1
 answered on 10 Mar 2010
3 answers
149 views
Hi,

I've tried repeatedly following the tutorial for modifying the theme of the RadDock, but to no avail. I follow the steps, and the "HotPepper" theme never appears as an option for RadDock. I noticed the sample refered to "DockingManager" and not "RadDock" which I think may be part of the problem.

Am I completely missing something?

-Mike
Nikolay
Telerik team
 answered on 09 Mar 2010
3 answers
171 views
For displaying and showing "Metrics" Data on a dashboard. 
I beleive you already have this for silverlight and asp 
Martin Vasilev
Telerik team
 answered on 09 Mar 2010
3 answers
113 views
I have add and delete buttons within my grid and using the tab key they get passed up and the focus is on the first column on the next line.  How can I have my buttons gain focus?  I have to make my app fully keyboard friendly.  Any other issues I might face with the grid using the keyboard?

Thank You
Martin Vasilev
Telerik team
 answered on 09 Mar 2010
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?