Telerik Forums
UI for WinForms Forum
1 answer
126 views
I am using a GridViewMaskBoxColumn for formatted string entry, because I am working with an existing data store that contains text entries. I would like to save the fully formatted value, not just the entered characters .

Am I able to bind the column so that the Text property of the cell editor is saved to the data store instead of the Value property. It would be the difference between storing :
masked Value : 1234567890
masked Text :    12-34-567-89-W0

Here is the columns Designer code.
gridViewMaskBoxColumn1.FieldName = "LSD";
gridViewMaskBoxColumn1.HeaderText = "ll-ss-ttt-rr-mm";
gridViewMaskBoxColumn1.Mask = "00\\-00\\-000\\-00\\-\\W0";
gridViewMaskBoxColumn1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
gridViewMaskBoxColumn1.Name = "LSDM";
gridViewMaskBoxColumn1.Width = 120;
Peter
Telerik team
 answered on 30 Sep 2011
1 answer
51 views
Good morning everyone,

I have a project that uses Telerik WinForm controlls and the version is 2010.2.10.0914 and it works perfectly.  It compiles and runs.  I recently upgraded to the latest telerik winform controls 2011.2.11.0831 and i am getting compile errors where the project is trying to look for the RadSelectedNodesCollection class.  It doesn't seem to be available in the dlls i am using in the project.

The dlls i'm using are:

Telerik.WinControls
Telerik.WinControls.GridView
Telerik.WinControls.UI
TelerikCommon

I was looking in the documentation as well and this class is not in there either.

Has this class been renamed in the latest telerik winform controls???

thank you very much for all your help

sam
Jack
Telerik team
 answered on 30 Sep 2011
1 answer
198 views
I have a light blue button in my application and would like to add text to the button in a different, but also light, color.  As it stands now it's totally unreadable.  If there was a way to add a black outline around the font that would make it pop out and be easily readable, but I have no idea if this is possible.  I see that I can add a border around the label itself, but what I want is a border around each letter.  Is this possible?
Ivan Petrov
Telerik team
 answered on 30 Sep 2011
8 answers
654 views
I have a GridViewDecimalColumn that I'm using to store integers entered by the user.  I set the DataType property equal to GetType(Integer) (I'm using VB.NET).  When a user enters a value such as 24.8, it automatically gets rounded up to 25.  If they enter 24.2, obviously it gets rounded down to 24.  The users shouldn't be entering decimal numbers, but I've heard that they have been and they don't ever want the numbers to round up.

My question is this:  How can I force the value to always round down, so that 24.8 will be changed to 24?  I know I can use a cell value change event, but I was hoping there was some property in the GridViewDecimalColumn that could be set to handle this.

Thanks,
Robert S.
Alexander
Telerik team
 answered on 30 Sep 2011
3 answers
172 views
Just getting started with Telerik controls...

I need to get the behavior of the RadDropDownList for a column in a GridView.

For the RadDropDownList, I am using databinding to link the SelectedValue to the property of a Business Object or Entity.

I'm trying the same approach in the GridView but no luck.

I have added a GridViewComboBox column and set its DataSource to the list of entities I want in the drop down list.  That works fine, and when displaying data the correct item is highlighted.  However, trying to pick a new item from the list gives this error: "Object of type 'System.String' cannot be converted to 'mynamespace.Product'.

I can see in the docs it wants me to set the ValueMember to the property on the data source that I want to use, but I don't want to use a property, I want the whole object.  How can I do this??

I found this other post and the poster was in the same situation as I am:
http://www.telerik.com/community/forums/winforms/gridview/csla-bindinglist-with-default-objects.aspx

It is from 2010 - so has anything changed or is it still not supported?  Do I still have to make up some kind of workaround?
Peter
Telerik team
 answered on 30 Sep 2011
2 answers
90 views
Hi,

I have a radgridview (Q2 2011) in which I am grouping orders by production line.  When I move an order by changing the line number in the grid, the row correctly moves to the correct line grouping, however I need to be able to recalculate the subtotals for both the line group that it was removed from in addiition to the line group that it was added to.....I am trying to find the event that fires when the row is moved to another group in the group by definition.....any suggestions / examples are appreciated.

Regards,
Shawn
Julian Benkov
Telerik team
 answered on 30 Sep 2011
4 answers
146 views
Hi, I would like to change the text displayed in the ErrorProvider when the validation fails; how can I do that?

Thanks!
Peter
Telerik team
 answered on 30 Sep 2011
5 answers
147 views
Hi.

Correct me if i am wrong but i dont see a difference between AutoClose and ManualClose (hitting the predefined CloseButton) in the RadPopupCloseReason Enum.

I would like to suggest this feature in the next version!!!

Is there a way to do this with the current version?
Jack
Telerik team
 answered on 30 Sep 2011
7 answers
564 views
HI,

I wanted to change the Edit Appointment Dialog window labels and dropdownlist values.
For example - Insted if "Subject label" i want to display "Patient Name" and i want to change Dropdownlist values?
1) I have followed the below step but not possible to change the label text but i can do the label visible false or true.
2) How to change the Dropdownlist vaues?
3) How to add one more dropdownlist inside the Edit Appointment Dialog Window?

CODE:

CustomAppointmentDialog

appointmentDialog = null;

 

 

private void radSchedulerDemo_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)

 

{

 

if (this.appointmentDialog == null)

 

{

 

this.appointmentDialog = new CustomAppointmentDialog();

 

}

e.AppointmentEditDialog =

 

this.appointmentDialog;

 

}

 

 

 

public class CustomAppointmentDialog : EditAppointmentDialog

 

{

 

public CustomAppointmentDialog()

 

:

 

base()

 

{

 

 

this.Controls["lblSubject"].Text = "Patient";

 

 

}

}

Peter
Telerik team
 answered on 30 Sep 2011
2 answers
93 views
Hi,
How I can open then Chart Wizard form programmatically?

Bye,
Claudio
Claudio
Top achievements
Rank 1
 answered on 30 Sep 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)
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?