Telerik Forums
UI for WinForms Forum
8 answers
612 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
220 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
129 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
115 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
630 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
123 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
509 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
228 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
209 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
103 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?