Telerik Forums
UI for WinForms Forum
4 answers
152 views
How do we set the nulldate and nullvalue for the datetimecolumn in the gridview.

Following code doesn't work. Please suggest.

private void radGVMinMembers_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)

{

if(e.ColumnIndex == 3)

{

    RadDateTimeEditor rdt = new RadDateTimeEditor();

    rdt.NullText =

"";

    rdt.NullValue =

new DateTime(2000, 10, 10);

    radGVMinMembers.CurrentColumn.InitializeEditor(rdt);

 }
}

Nikolay
Telerik team
 answered on 03 Jul 2008
1 answer
144 views
Hi,

private

void radGridView1_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e)

{

if (e.ContextMenuProvider is GridHeaderCellElement)

{

e.ContextMenu =

this.columnContextMenu;

}

else if(e.ContextMenuProvider is GridDataRowElement )

{

GridDataRowElement cell = (GridDataRowElement)e.ContextMenuProvider;

e.ContextMenu =

this.contextMenu;

}

}



I want to open a context menu when user click any where on a prticular Data row.

I also wants the value of all the column in that row.

Let me know which class will be suitable as a context menu provider so that i get all the data in that row and also be able to open the contextMenu..

Povide an example if possible?


Note :- The code in the else-if part is not working properly.

Nikolay
Telerik team
 answered on 03 Jul 2008
1 answer
190 views
How do you turn off AutoHighlighting for a RadComboBox.  When the user selects an item in the dropdown, the text is highlighted in the control.  Is there any way not to highlight the text???
Georgi
Telerik team
 answered on 03 Jul 2008
11 answers
161 views
Hi,

i want to put chart items data lables in a required graphical shape .(i.e., at data points i want to put data labels in some shape like in a rectangular box i want to keep the data label) .

               and

can we put any any image on data items plot?(i.e., i have to put a image on bar chart bars)

is there any way to achieve this? please provide sample code.

thanks in advance.

regards,
kiran


Dwight
Telerik team
 answered on 03 Jul 2008
3 answers
99 views
How do you turn off highlighting of the rows when you just wave your mouse over the row without clicking, for the RadGridviewControl.
Jack
Telerik team
 answered on 02 Jul 2008
1 answer
110 views
I have a custom event handler for a web browser control being loaded in a TabItem. How do I go about finding the webbrowser control within the TabItem?
Nikolay
Telerik team
 answered on 02 Jul 2008
1 answer
393 views

What do I have to do to make font size changes take effect?

Seems the size remains unchanged no matter if I change it at design time or at run time.

I tried this:
Me.RadGridView1.Font = New System.Drawing.Font("Arial", 3.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))

Compare the amount of data shown on a MS ListView control to the RadGridView control.

Also, any way to speed up loading of data. Takes about 5 times as long than loading a ListView in VB6 with the same data. 

With RadGridView1
            .GridElement.BeginUpdate()
            Dim command As OleDbCommand
            command = New OleDbCommand("SELECT * FROM FinalSettings")
            command.Connection = New OleDbConnection(My.Settings.WorkSpaceMgrConnectionString)
            command.Connection.Open()
            .MasterGridViewTemplate.LoadFrom(command.ExecuteReader())
            command.Connection.Close()
            .GridElement.EndUpdate()
End With

Finn

 

Jack
Telerik team
 answered on 02 Jul 2008
5 answers
156 views
I entered a support ticket against Q3 2007 stating this:

I need to hide a row and keep it hidden no matter what the user does (sort, group, etc).  I can't use a filter, because I need the grouping when the user chooses to group (a filter excludes the row from the grouping).  I can hide the row using IsVisible, but the row's IsVisible is reset to true by changes to sort, sort order, grouping, etc.  Visibility settings are ignored in the RowFormatting event.

Any suggestions?

Thanks.

I received the following reply:

 Kevin,

Thank you for contacting us.

This issue has been resolved in 
RadGridView Q1 2008 Beta. Please, give it a spin and let us know what you think.

In the current stable release you should process the SortingChanged and GroupingChanged events.

Let us know, if you need further assistance.

 
Greetings,
Jack
the Telerik team


BUT, the IsVisible is still being reset on my rows whenever the user chooses to sort or group.  Should I be using something other than IsVisible?  Did this not make the Beta release?

Thanks.

Kevin
Jack
Telerik team
 answered on 02 Jul 2008
3 answers
145 views
Hi,


I have applied group by expression on Country and City column of  a Table which contain information of comapnies using a windows form RadgridView control.

Now I want to show a context menu  when the user right click on the row which contain the (GridGroupExpanderCellElement and GridRowHeaderCellElement)
i.e  (+ Country :England and City:London).

Is the above functionality possible ?

If yes please expalin it with an example
.



Jack
Telerik team
 answered on 02 Jul 2008
2 answers
152 views
Hi, I would like to hide the overflowbutton that looks like a small arrow pointing down.  I thought setting the "showoverflowbutton" property to false would do it because setting it in design time appears to do the trick but when I run my app the arrow still shows.  Is there any way to hide it?
Dan Wons
Top achievements
Rank 1
 answered on 01 Jul 2008
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?