Telerik Forums
UI for WinForms Forum
8 answers
625 views
Hi,

I think there is a possible bug in MasktedTextBox when you copy paste. here is the scenario to recreate this.

have a MaskedTextBox with masktext as 00-00-00 (Sort Code) with Type as Standard.

run the application and you will see the text is now defaulted to 00-00-00.

1. Open notepad and type 222222 (6 chars) and select the text and right click and copy.
2. block/Select all the maskedtext in the app,
3. right click and select paste option.
4. you will see the text pasted in the masked textbox and
5. Tabout using a tab key and the copied text disappears.. and defaults to 00-00-00. where as the values should have been 22-22-22.

Note: this doesn't occur when you do ctrl+v and if you do ctrl+v first time then right click option works fine here after.

please advice.

Regards,
Khizar
Stefan
Telerik team
 answered on 02 Feb 2011
4 answers
225 views
Hello!

I have a couple of issues with Excel-Like Filtering in RadGridView v.2010.3.10.1215.

1. The filter dialog title is “RadGridView Filter Dialog [<column>]”. Is it possible to customize it?

2. If both selections in the filter dialog are “No filter”, the following exception is thrown:

Object reference not set to an instance of an object.
at Telerik.WinControls.UI.RadListFilterMenuProvider.ValidateUserFilter(FilterDescriptor descriptor)
at Telerik.WinControls.UI.RadListFilterMenuProvider.EditFilterDescriptor(RadFilterComposeMenuItem menuItem)
at Telerik.WinControls.UI.RadListFilterMenuProvider.FilterMenuItem_Click(Object sender, EventArgs e)
at Telerik.WinControls.RadItem.OnClick(EventArgs e)
at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
at Telerik.WinControls.UI.RadMenuItem.OnClick(EventArgs e)
at Telerik.WinControls.RadItem.DoClick(EventArgs e)
at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at Telerik.WinControls.UI.RadPopupControlBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Is it possible to catch it?

Thank you.

Martin Vasilev
Telerik team
 answered on 02 Feb 2011
7 answers
133 views
Hey,
i want to create my own GridView control which herits yours.
I've created a new vb component project inherits the Telerik gridview with no code.
On my main project, on the form i've added the inherits control and in the form load event, i've defined the datasource and the data member properties.
I've no pb with the data, i see the 60 lines and all the columns, but with one problem....The data are not visible like a blank forecolor, but when i enter in a cell (in edit mode) i see now the data with black font.
Any idea ?
Richard Slade
Top achievements
Rank 2
 answered on 02 Feb 2011
1 answer
126 views
Hi, I'm really struggling to create a bar chart the way my boss wants it.
If you have a look at the attached, what we are trying to achieve is the date across the bottom, then bars for each of the modules, so on the 10/12/2009, there would be three bars one for balancing, hospitality and membership.
Hope somebody can help
Yavor
Telerik team
 answered on 02 Feb 2011
6 answers
648 views
I would like a ToolWindow to always stay on top when it is floating.  I don't see a property for AlwaysOnTop or TopMost on the ToolWindow class, so does anybody out there have some sneaky code that allows you to do this?
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
1 answer
124 views
I have a situation like this:
I need a filter for a column say ProdNumber==null, so it shows all products w/o a product number. In the grid i am enabling users to enter a product number and save. But since the filter is on as soon as the user save the record, the record disappears from the view based the filter. But the users would like to continue to see that record until they manually trigger the filter again. How can i do this?
How can i cancel the automatic filtering  and provide a button or something to trigger the filtering?
I tried to use this , but did not get fired before the automatic filtering:

 

 

void radGV_FilterChanging(object sender, Telerik.WinControls.UI.GridViewCollectionChangingEventArgs e)

 

{

e.Cancel =

 

true;

 

}

Thanks
anu

Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
3 answers
525 views
I'm looking for an right approach to both limit and alter the text being typed in a textbox column?

For the given cell column, I'd need to limit the user input to a range of characters (A-E,0-9), but also auto-uppercase the values as they are being typed in?  I've also tried to split the validation and uppercase portions in two separate events, but the real-time uppercase always seems to get me stuck.

I've looked at ValueChanging, as its raised for each keystroke, but changing the cell value within this event causes a stackoverflow, and changing the e.NewValue does not have any effect.

I've also tried CellFormatting - but that only formats the text after the edit is completed.
Thoughts?

Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
1 answer
234 views
I've been going around and around with this. I have a RadGridView in which I want the user to be able to click rows, but not select individual cells. I basically want no cell highlighting.

I have the selection mode set to FullRowSelect - and I've tried setting this both through the property inspector and via code - and yet a click on any given cell will select that cell and not the row.

I've gone so far as to add an event-handler for the SelectionChanged event and trying to clear the selection there with RadGridView.ClearSelection() but the cell remains selected.

What am I missing here?
Tony
Top achievements
Rank 1
 answered on 01 Feb 2011
7 answers
217 views
hi
when I test your demo to export radgridview to pdf, it created a pdf with 5 empty pages !!!!!!
5 bookmarks but With white page !!!!!
what can I do Know?
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
1 answer
104 views
Hello, can i add button to the ComboBoxColumn in Grid.
In CollectionGrid_CellEditorInitialized(object sender, GridViewCellEventArgs e) event i create:
RadComboBoxEditorElement editorElement = (RadComboBoxEditorElement)editor.EditorElement;
and next
RadComboBoxEditorElement editorElement = (RadComboBoxEditorElement)editor.EditorElement;
editorElement.DataSource = DictBindingSource;
 
and I try this:
RadButtonElement button = new RadButtonElement();
button.MinSize = new System.Drawing.Size(30, 15);
button.Text = "+";
button.MaxSize = button.MinSize;
editorElement.Children.Add(button);

but button is under Cobobox. Any idea?
Thanks for every help.
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 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
AI Coding Assistant
+? 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?