Telerik Forums
UI for WinForms Forum
12 answers
347 views
Problem occur while minimizing the parent radDock form.

i opened the form1 in document window of radDock as a child form. The form1 is little bigger than the radDock document window so i made the  form1 autoScroll properties true. up to this there is no problem, i can scroll the form . when i minimized the parent form i.e. radDock then the error occurred.

error is like this:

ArgumentOutOfRangeException was Unhandled

Value of '-1' is not valid for 'SmallChange'. 'SmallChange' must be greater than or equal to 0.
Parameter name: SmallChange
Stefan
Telerik team
 answered on 10 Mar 2015
15 answers
311 views
Hello, 

This might be an easy thing to do but I've searched and haven't found a solution as to how to do this yet.  Right now with the scheduler it shows military/24 hour time on the left hand side bar and I'd like it to show 12 hour time, such as 12pm instead of 1300.  How can this be set?

Kind regards,

David
Hristo
Telerik team
 answered on 10 Mar 2015
2 answers
134 views
Hi, I would like to allow the user to change the currently selected RadCalendar day based on the arrow keys (as well as the mouse). How would I do that?
(It seems that using the arrow keys does not fire the RadCalendar.SelectionChanged event.)

Thanks,

-Lou
Lou
Top achievements
Rank 1
 answered on 10 Mar 2015
2 answers
203 views
I am trying to implement a Sub which has two argument as following. I need to check the existence of the index tab before adding some dynamic controls to it. I had a couple of blind attempts but then I totally lost!

Private Sub insertControlsIntoTabs(tabContainer As RadPageView , tabIndexNum As Integer)
' check the existence of tabIndexNum 
'...
' Selecting tabIndexNum 
Me.tabContainer .SelectedPage = Me.tabContainer .Pages.(tabIndexNum)
End Sub

Can someone help please?
Moji
Top achievements
Rank 1
 answered on 10 Mar 2015
3 answers
243 views

I am using VS2010 Premium and the most recent version of Telerik WinForms. I have a custom RadGrid wit hierarchical data and I want to change the default ugly expander cell from the large unformatted plus and minus. I have tried to change it with the VSB but the only attribute I seem to be able to modify is the line color and the scaling. I know this can be modified because I have seen other grids with different expander cell styles. Can anyone shed some light on this seeing that Telerik has decided to keep it a secret?

Stefan
Telerik team
 answered on 10 Mar 2015
4 answers
227 views
Hi, I am using the RadGridView to display a database column that is of type signed integer. However I want the column to display as an unsigned integer.
The grid column type that I'm using is GridViewDecimalColumn.

For example, the integer value (signed) is -1. Currently it shows up in the grid as -1, but I want it to display as 255.

How would I do this?

Thanks,

-Lou



Lou
Top achievements
Rank 1
 answered on 10 Mar 2015
11 answers
266 views
Hello! I try to add text to RadRichTextBox but anything it is impossible!
On standard richtextbox everything is good. How here to make analog of code for RadRichTextBox? Thanks!
using (SqlDataReader dr = cmd.ExecuteReader())
              {
                  while (dr.Read())
                  richTextBox1.AppendText("\n" + dr["data"] + ": " + dr["UserName"] + ": " + dr["message"].ToString());
              }
Stefan
Telerik team
 answered on 10 Mar 2015
4 answers
307 views
As you can see in my screen capture, the name is not showing in the legend of the pie chart.

    Here is the code : 

setup.NomSetup contain the string name
var serie = new PieSeries()
 {
     ShowLabels = true,
     RadiusFactor = 0.9f,
     Range = new Telerik.Charting.AngleRange(270, 360)
 };
 
  
 foreach(var setup in setups){
     serie.DataPoints.Add(new PieDataPoint(Convert.ToDouble(setup.SommeUseTime * 100 / timeclocks.First().SommeTempsStd), setup.nomsetup)
     {
         Name = "Test"
     });
 }
 
pieChart.Series.Clear();
 
pieChart.Series.Add(serie);
pieChart.ShowLegend = true;
Vincent
Top achievements
Rank 1
 answered on 09 Mar 2015
1 answer
329 views
Hi there!
is it possible to assign an image to the RadPageViewPage, which is displayed before the tab title,
i want just like the attached picture and by the way i am using VS 2013 and VB
Stefan
Telerik team
 answered on 09 Mar 2015
4 answers
123 views
I made my first experiments with this control. I was astounded that I had to do the following to get the cursor to be at the start of the string when the user tabbed into the control (otherwise it was at the end of it ???)

    private void radMaskedEditBox1_Enter(object sender, EventArgs e)
    {
         radMaskedEditBox1.SelectionLength = 0;
         radMaskedEditBox1.SelectionStart = 0;           
    }

So okay, I didn't expect this behavior, but ...

Next, I wanted to put a blank (or underscore, or whatever) into the text when the number my user entered had less digits than the full amount.

Wow! Here's one attempt:

     private void radMaskedEditBox1_Leave(object sender, EventArgs e)
     {
         int len = radMaskedEditBox1.Text.Length;
         string val = radMaskedEditBox1.Text;
         while (val.EndsWith("_"))
             val = "0" + val.Substring(0, val.Length - 1);
         radMaskedEditBox1.Text = val;
     }

Whatever leading character I tried (" ", "0", "_") the result was the same. There is simply no way that I can see to right-justify the number, although that is how most numbers are presented.

Have I missed something? Sure the cursor should automatically go to the start of the field on entry, and numbers should be right justified?

Cheers,

Helen
Stefan
Telerik team
 answered on 09 Mar 2015
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?