Telerik Forums
UI for WinForms Forum
7 answers
169 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
153 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
714 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
172 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
639 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
258 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
271 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
146 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
6 answers
1.0K+ views
Hi,

I'm sure this is a quick issue but i'm struggling to find a solution on my own. Basically I used to have it where I would create a group and have the total number of rows within that group inside the group head. I used to use the following code

private void radGridView1_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
{
    int contactsCount = e.Group.ItemCount;
    e.SummaryItem.Name = contactsCount.ToString();
}

But now that i've returned to my project after a break and updated to the latest controls, this no longer seems to function. Have I made an error somewhere or has the procedure completely changed with the latest version?

Regards,


Guy
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
4 answers
361 views

Hi

I have a decimal Column in RadGridView with BeginEditMode = BeginEditOnKeystrokeOrF2 and using Danish culture.

When user presses ',' on the selected cell, cell goes to edit mode but ',' is not inserted in the cell. But if user now again presses comma, then it is inserted into the cell.

So if user wants to enter the value ,5 he has to press comma twice. Ofcourse he has no problom in entering 0,5

Note, this is when user enters to edit mode by pressing , not by pressing F2.

What should I do? Any help would be appreciated.

Thanks

Regards

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