Telerik Forums
UI for WinForms Forum
1 answer
297 views
Greetings.

I changed the Padding property to All 0 in design mode, the code:

this.radDock1.Padding = new System.Windows.Forms.Padding(0);

was in the designer file, but at runtime the dock still has Padding 4.

I put the code after the InitializeComponent function and did not work.

finally i put the code in the Load event of the form and take effect in runtime.

I am using the last release of rad Controls with framework 3.5.

Regards.
George
Telerik team
 answered on 07 Oct 2014
3 answers
125 views
I have a RTB setup to contain free form text users enter.  I'm using the RichTextProvider.  They have some of the basic font controls from the sample available such as Bold, Italic, Underline, colors, etc.  They are also able to do Bullet and Number lists.

When changing the list style to the appropriate type, it changes the spacing as well.  In the attached image, you can see where I:
1) Type "This is a test."
2) Hit enter
3) Type "This is a new line."
4) Hit enter
5) Click the 'Bullet list' button which initiates a ChangeListStyle with DefaultListStyles.Bulleted
6) Type "Bullet clicked"
7) Hit enter
8) Type "New line in bullet list"
9) Hit enter
10) Click the 'bullet list' button which initiates a ChangeListStyle with DefaultListStyles.None
11) Type "Out of bullet"

As you can see, the bullet spacing is not the same as the lines before or after.

How can I keep the spacing the same?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Oct 2014
1 answer
94 views
It can restore to the original design a radDock when some of the toolwindows are hidden. and all of them appear.
Stefan
Telerik team
 answered on 07 Oct 2014
1 answer
78 views
Let's say I was had a radgridview that was grouped by foodtype, whose sections included fruit.
Currently, when I try to add a type of fruit from the top, I cannot add specifically to the fruit section because the foodtype section is not there, and a new section entitled "foodtype:" is created.
How would I be able to add to the fruit section from the grouped interface?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Oct 2014
3 answers
329 views
I have RadChartView that receive real time data and i want to add the option after the mouse is over specific point to see it's value so i added this property:

radChartView1.ShowTrackBall = true;

And now i can see an empty rectangle with no text (see my attach file).
Another thing that i have notice is now after right click on my chart i have an new option called Palette that change my series color and in this case i can see the point value inside the rectangle.

Now i have 3 questions:

1. What is this new option ?
2. how can i see my point value without change this color ?
3. is it possible to add some text inside this rectangle ?

Thanks !
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Oct 2014
1 answer
120 views
Hi:

We are working with some existing code.  The RadDropDownList controls throughout the application allows any data entry in the control (for example: a list of USA states, I could enter Fred and tab out of the field).  Currently, all RadDropDownList controls DropDownStyle are set to DropDown.  What are the best practices constraining the users data entry to the supplied list.

Phil
Dimitar
Telerik team
 answered on 06 Oct 2014
2 answers
83 views
I have a whole bunch of timepcikers on a form. I need to have a button on the form to set all times to 12:00 AM. It is a rest for the user. I wanted to do something like this:


foreach(Control c in this.Controls)
{
if(c is radTimePicker)
{
// set time here ;]
}
}

I'm not sure what I should use for "Control" and "this.Controls" I'm guessing radTimePicker is correct.
Chris
Top achievements
Rank 1
 answered on 04 Oct 2014
3 answers
666 views
I am applying filter to a radgridview as
 ((DataTable)Grid.DataSource).DefaultView.RowFilter = TxtBxExpression.Text;
                ((DataTable)Grid.DataSource).DefaultView.AllowNew = true;
                Grid.MasterTemplate.Refresh();
                Grid.MasterView.Refresh();  

After that when I am trying to insert a row as 
Grid.Rows.Add();

It is inserting a row at the end but it is without any columns and not even dropdowns of the rows are selectable so that I can change the row values and the update the data.So I want a row that has columns and its dropdowns are editable.So how can I do that?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Oct 2014
3 answers
231 views
We have a data grid view which we would like to apply a few conditional rules programmatically. We would still like the end user to be able to add their own conditional formatting rules, however; we would like to block them from deleting the rules that we added via code. Please see the attached screenshot for an example. How would I go about doing this?

For my first attempt I subscribed to the the ConditionalFormattingObjectList.CollectionChanging event. The problem is that the Action received in this event is all of type Reset first, Add second. Basically the ConditionalFormattingForm is first clearing the collection and then re-adding the all the conditions. Additionally, when you cancel the collection changing the UI still reflects the changes even though you have canceled the event in the underlying collection. Should I be using a different event. Perhaps one on the ConditionalFormattingForm itself?

Thank you,
-Chris
George
Telerik team
 answered on 02 Oct 2014
3 answers
187 views
Hi,

i will attach 2 screen shots to this post. in the first you can see how the first column is almost collapsed and the second pretty wide.
I would like to set the ValueColumn width in code. Here is my current code which is not changing the ColumnWidth no matter which value i put there.

 this._gridError.PropertyGridElement.PropertyTableElement.AutoSizeItems = false;
this._gridError.PropertyGridElement.PropertyTableElement.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize;
this._gridError.PropertyGridElement.PropertyTableElement.ValueColumnWidth = 300;

The second thing I would like to do i to display ScrollBars in the PropertyGridElement.SplitElement.HelpElement.ContentText box.

Thx and best regards,
Darko
George
Telerik team
 answered on 02 Oct 2014
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?