Telerik Forums
UI for WinForms Forum
4 answers
368 views
Hey guys,

I've started to use this control and have a quick question, apologies if it's addressed elsewhere on the forum but I've not found anything from reading and searching for this.

We have a requirement (for some date fields) that the user be able to enter the date with continuous entry of numbers. IE to enter a date 01/02/1999 the user should only have to tab to the field then press the keys 0-1-0-2-1-9-9-9 then tab onto the next field.

This datetimepicker, so far seems to have the same issue has the microsoft one in that to type this data in you need to hit the following keys 0-1-RightArrow-0-2-RightArrow-1-9-9-9
We have solved the issue for a particular date entry field by using our own masked text box but it would be nice to get this behaviour AND the datetimepicker in the same control.

I understand that the datetimepicker uses a RadMaskedTextBox for the text entry field, but I can't figure out how to get any control of the text entry itself

Thanks for your time,
Direct Control
Lookoum
Top achievements
Rank 1
 answered on 28 Dec 2011
4 answers
207 views
Hi,

I'm rather new to the controls (specifically the ribbon) and I'm trying to achieve the Office 2010 look. I used that theme which turns the main application button into a dark blue folder tab. I would like to print "File" in white on this button.

I have found in the UI Elements for the control that I can set the RadApplicationMenuButtonElement.DisplayStyle to Text, change the Forecolor to white, and change the Text to "File". This appears to work in design, but when I run the application and apply the theme, it goes away.

Furthermore I need to support multiple languages, so I would like to set "File" from a language file.
Does anyone know how to get to the UI elements from source code?

Thanks.
Jason
Jason
Top achievements
Rank 1
 answered on 27 Dec 2011
1 answer
112 views
I want to move the controls in the Recurrence Edit Dialog

I want to move  the Setting controls in the Recurrence pattern GroupBox
Example:
Selected Yearly
The First  Day of  January 
Move to 
of  January  the  First  Day

sorry for my poor English
Ivan Todorov
Telerik team
 answered on 27 Dec 2011
3 answers
695 views
In RadGridView, I am trying the following:

1.  When the row is clicked/selected, show 1 color. - Telerik grid had a default color, when i went to grid's row formatting  event:

 if (e.RowElement.IsSelected)
            {
                e.RowElement.GradientStyle = GradientStyles.Solid;
                e.RowElement.BackColor = System.Drawing.Color.Red;
                e.RowElement.DrawFill = true;
            }

The issue is first row is selected as default when the grid is bound, when i click any rows , the first row that is already selected still shows as selected (although multiselect is false for the grid.), how do i not select first row, if any new row is clicked?

2. Also when i select/click on the row, always the first cell is highlighted, how do i disable that?
Svett
Telerik team
 answered on 27 Dec 2011
13 answers
232 views

Hi!

 

How can I change size of GridDetailViewRowElement/GridDetailViewCellElement?

Default size is too thick for me.

 

Regards

Ebrahim
Top achievements
Rank 1
 answered on 27 Dec 2011
1 answer
261 views
Hi

I have 

 Dim cResolved As New ConditionalFormattingObject("Resolved", ConditionTypes.Equal, "Resolved", "", True)
    cResolved.RowForeColor = Color.DarkGreen
        cResolved.CellForeColor = Color.DarkGreen
        dgServices.Columns("Status").ConditionalFormattingObjectList.Add(cResolved)

And this works great. How would I add another condition to this so 

"Status = Resolved" AND ResolveUser="USER"

Thanks in advance
Stefan
Telerik team
 answered on 27 Dec 2011
6 answers
396 views
Hey all,
My apologies if this has already been posted - I swear I couldn't find it.

Using the Q3 2011 controlls (2011.3.11.1116):
I'm binding an anonymous type to the DataSource of a radDropDownList and getting an interesting (if unwanted) result.  After the binding the first value in the list is selected (which is good), however, the text instead shows the prototyping for the anonymous type.  I feel this is best to show in code, so here's an example.

If I'm doing something wrong please let me know.  Update() and Refresh() didn't seem to fix the issue.

Thanks,
-Al
private class TestClass
{
public int Id { get; set; }
public string NameVal { get; set; }
}
private void Form1_Load(object sender, EventArgs e)
{
var testItem1 = new TestClass() {Id = 1, NameVal = "One"};
var testItem2 = new TestClass() {Id = 2, NameVal = "Two"};
var test = new List<TestClass>() {testItem1, testItem2};
radDropDownList1.BeginUpdate();
radDropDownList1.DataSource = (from TestClass tc in test
select new {tc.Id, tc.NameVal});
radDropDownList1.DisplayMember = "NameVal";
radDropDownList1.ValueMember = "Id";
radDropDownList1.EndUpdate();
//radDropDownList1.Text = radDropDownList1.SelectedText; //This line is not equal to the following line...
radDropDownList1.Text = radDropDownList1.SelectedItem.Text; //This line is the fix, comment out to see bug
}
Peter
Telerik team
 answered on 27 Dec 2011
1 answer
135 views
Hi,

Whats the best method to Alternate column colors? Which method/event to use? And how? 
PS: I use ColumnGroups and ColumnGroupViewDefinition, and its those groups i want to alternate colors between.

Regards
Svein Thomas
Stefan
Telerik team
 answered on 26 Dec 2011
1 answer
194 views
Hello,

I use the treeview of version 2011 Q1.

I use the automatic databound method to populate the nodes. The source is a dataset with a child/parent structure.
I want to keep this way of processing because it's very fast. When I populate my treeview manually the process time very slow.

This is my code:

treeModules.DataMember = "treeNode";
  
treeModules.DisplayMember = "label";
  
treeModules.ValueMember = "id";
  
treeModules.ParentIDMember = "parent";
  
treeModules.DataSource = dsModuleXml;

Now I want to find a specific node by the tag property. This is not possible, because the function Find searches by name. Why is the name property empty when I use the automatic method?

Can anyone help me, thanks!
Stefan
Telerik team
 answered on 26 Dec 2011
1 answer
159 views
Hi,

It is possible to change Time Zone Label? By default it appears "Local" but i want to change to another string. In Scheduler picture attached, it is possible to see where is that "Local" label.
Ivan Todorov
Telerik team
 answered on 23 Dec 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?