Telerik Forums
UI for WinForms Forum
6 answers
471 views
Hello, I'm using RadControls for Winforms Q2 2010. 

I have the following to create a GridCommandCellElement

Private Sub AddTaskDetailCommand()
    Dim commandColumn As New GridViewCommandColumn
    With commandColumn
      .Name = "ViewTaskDetail"
      .FieldName = "AssetChecklistID"
      .HeaderText = String.Empty
      .Width = 30
      .AllowFiltering = False
      .AllowGroup = False
      .AllowHide = False
      .AllowResize = False
      .AllowSort = False
    End With
    RadGridView1.MasterTemplate.Columns.Insert(0, commandColumn)
    AddHandler RadGridView1.CommandCellClick, AddressOf RadGridView1_CommandCellClick
 
  End Sub

And then the following in the CellFormatting event...

Private Sub RadGridView1_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridView1.CellFormatting
 
    If (TypeOf (e.CellElement) Is GridCommandCellElement) Then
      Dim cmdCell = DirectCast(e.CellElement, GridCommandCellElement)
      Dim colName = cmdCell.ColumnInfo.Name
 
      If colName = "ViewTaskDetail" Then
        e.CellElement.ToolTipText = "View Task Details..."
        cmdCell.CommandButton.DisplayStyle = DisplayStyle.Image
        cmdCell.CommandButton.Image = My.Resources.tag_blue_edit
      End If
 
    End If
 
  End Sub

Problem is that the tooltip is not visible when hovering over the command button in the cell. There is a small bit of padding in the cell that will display the tooltip when hovering over that, but not over the command. 

Can seem to find a ToolTipText property for the GridCommandCellElement. Is there something I am missing?

Cheers,

Paully


Stefan
Telerik team
 answered on 28 Apr 2011
1 answer
202 views
I would like to disable drag row selecting as described in http://mono.telerik.com/Grid/Examples/Client/Selecting/DefaultCS.aspx. The problem is that I can't seem to find this property in the winforms.ui radgridview control. The main reasons I want to disable this is that when we scroll the vertical scroll bar in our gridview is is very easy to slide our cursor slightly off the scroll bar and then the rows get selected. Which is not something we like. So where do i find this property in the winforms version of radgridview?

I assume this line as shown in the link above refers only to you web.ui radgrid?
RadGrid1.ClientSettings.Selecting.EnableDragToSelectRows = status;

Thank you,
Denis
Stefan
Telerik team
 answered on 28 Apr 2011
2 answers
137 views
How does one go about removing the timezone combo box from the navigator?
Stefan
Telerik team
 answered on 28 Apr 2011
5 answers
154 views


I Have a Column in RadGRidView Control for Windows having data type (Values) in Decimal and its format  String is {0:N}.
When I type any Special Character in the Filter Text box , Application Goes Crash immediately.
How i Can Catch its Events or Avoid this Situation.



Naama
Top achievements
Rank 1
 answered on 28 Apr 2011
0 answers
146 views
i want show child form as tab
how to i can?
ali
Top achievements
Rank 1
 asked on 28 Apr 2011
3 answers
124 views
Hi,

Using the RadMenu, I'm not able to add an ActionCommand using special chord, like CTRL+{LEFT ARROW} or CTRL+{HOME}.

How can I achieve that?

Thanks!
Nikolay
Telerik team
 answered on 27 Apr 2011
3 answers
133 views
Hi,


        I have ribbionbar in that i have raddropdownbuttonelement  when i click this i want a small colorpicker to apper below the dropdown .And from that picker if i select one color then the entire application should change to that color can anyone please post  the code how to do . Refer screenshot



Thanks
Divya
Peter
Telerik team
 answered on 27 Apr 2011
1 answer
699 views
Hi,
                I am using the strip mode in this if i select a page then i need to get the index of that page selected .How can i do this can anyone please explain it......



Thanks
Divya
Richard Slade
Top achievements
Rank 2
 answered on 27 Apr 2011
3 answers
674 views
Hello,

someone knows how i can get the Location - X Coordinate of a Column or Cell Control / Element?
I could not manage it to get the position / location of the Column.

I only found the Location Property of the Cell Element.

radGV.CurrentCell.Location.X

But the Value is always 0.

Why I need this - I have a GridView and above the Grid I want to place a TextBox with the same Width and Location of the current Cell / Column. When I press a special key - the TextBox will stuck at the current Location - with that i want to highlight that this Column is Fixed ( I dont want to pin it ).

Best Regards,

Raimund
Raimund
Top achievements
Rank 1
 answered on 27 Apr 2011
12 answers
227 views

Is it possible to drag and drop from a grid view to a scheduler then the appointment will be set and save automatically??

 

For example in the same window I have grid view and   scheduler

If there is a person call John in grid view that has a kind of an appointment, so when I drag that person from grid to scheduler the appointment should be automatically added to the selected place and time.


For more detail check the attached picture



Thanks in advance
Ivan Todorov
Telerik team
 answered on 27 Apr 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
ProgressBar
CheckedDropDownList
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?