Telerik Forums
UI for WinForms Forum
3 answers
342 views
Hi All,

I am trying to clear any selection on gridview after populating it and I am using gridview.clearselection() method for that but it is not clearing the selection for the entire row as one of the cell is still seleted with highlighted boundary line. I have set my selection mode to 'FullRowSelect'. Could anyone please get back to me asap?
Richard Slade
Top achievements
Rank 2
 answered on 27 Jan 2011
1 answer
117 views
I've attached a screen dump. Can the telerik RadScheduler be customized as such?

I have positions or vacancies as the vertical heading and horizontal heading as time of the day, which display a 24 hr day.
Dobry Zranchev
Telerik team
 answered on 27 Jan 2011
2 answers
270 views

Hello,

I have come across a problem of memory leak when using GridViewComboBoxColumn.

I used the Memory Profiler program to ditect the problem.

I have opened  a form with a GridView control, which contains a GridViewComboBoxColumn.

Edited 5 cells of a GridViewComboBoxColumn type and took a snapshot of the memory,

The RadPropertyValue has used 11,500,000 bytes.

Edited 5 cells added of a GridViewComboBoxColumn type and took a snapshot of the memory,

The RadPropertyValue has used 42,300,000 bytes.

The attached files display the result.

After closing the form I took another snapshot which showed  that the instances where still indirectly rooted by an EventHandler.

 

This problem is causing the users to use a large amount of memory.

Dispirit for an answer.

Y. L.

Shulla Krous
Top achievements
Rank 1
 answered on 27 Jan 2011
2 answers
130 views
Hello

How is it possible to access the a row/cell of a child grid?

E. g. I have a grid with 20 rows and I want to access from the 10th row the 3rd row of the second nested/child grid.

8th Row
  - Grid 1 to 3
9th Row
  - Grid 1 to 3
10th Row
  - Grid 1
  - Grid 2
     Row 1
     Row 2
     Row 3
  - Grid 3

Thank you in advance.

Ahiram
Julian Benkov
Telerik team
 answered on 27 Jan 2011
2 answers
162 views
I would like to bestfit all the columns dynamically as user scrolls a grid vertically.
I don't know if this is at all possible, since there seems no event that is called in grid when user scrolls it vertically.

I am using Q1 2008 SP1 radgridview.

Thanks
Sunil
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 27 Jan 2011
1 answer
155 views
Is there a way to create the connection the same way i would a sql connection? click the create new data source then new connection then create one for mysql database? Sorry this is such a  broad question im just new to connecting to MySQL from c# winforms.

Thanks for help!
Richard Slade
Top achievements
Rank 2
 answered on 26 Jan 2011
2 answers
143 views

I've got a simple RadGridView bound to a DataTable (through a BindingSource); standard and easy way to put a gridview on a form dragging it from datasources box.
I've implemented my business rule validation in the datatable, as below:

Private Sub OperazioniDataTable_ColumnChanging(ByVal sender As System.Object, ByVal e As System.Data.DataColumnChangeEventArgs) Handles Me.ColumnChanging
  Debug.Print("ColumnChanging: column=" & e.Column.ColumnName)
  If (e.Column.ColumnName = Me.impovalColumn.ColumnName) Then
    If CType(e.ProposedValue, Decimal) = 0 Then
      e.Row.SetColumnError(e.Column, "Inserire un importo diverso da zero")
    Else
      e.Row.SetColumnError(e.Column, "")
    End If
  End If
End Sub

When I edit the [impoval] cell and enter 0, moving to another cell/row raises the ColumnChanging event, but no feedback at all on the grid.
Another issue: if I press [Escape] key in the cell, the value is not restored to the old one.
In the standard MS grid I get feedback and restore behaviour.
I would like to know the best practices to enforce data validation (on single cells and on row, moving away from a cell/row and/or trying to close a form, etc.), possibly avoiding to put rules in the gridview events, in order to keep all the business rules validation code in the data transfer objects.
Please don't suggest to create separate business objects, as I want to avoid this coding overhead.
TIA
Ubaldo
Richard Slade
Top achievements
Rank 2
 answered on 26 Jan 2011
6 answers
123 views
Hi....
       Which is the event for Updating Cell And Updating Record...
I m using CurrentRowChanging Event For this but this event fires evertime i fill the dataset which is bound to the Grid...
I want an event which will fire only when I Update a row and come out of that row...
Richard Slade
Top achievements
Rank 2
 answered on 26 Jan 2011
19 answers
208 views
Please help to findout out the break mechanism of rad schedular..what i want is when a person have schedules break from 1 to 2(1 hr) then this time slot is not editable or Appointment...
Richard Slade
Top achievements
Rank 2
 answered on 26 Jan 2011
10 answers
847 views
Hi guys.
 I use win forms . and telerik gridview.
How can I filter a radgridview with a textbox_keypress. not by radgrid's filter?(while I am typing in textbox, rad grid view data is filter)
 is it possible?
thnx.
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 26 Jan 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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?