Hi,
I'm using RadGrid in Batch Edit mode. In MasterTableView, I have set EditMode="Batch". In BatchEditSettings, I set EditType="Row" OpenEditingEvent="MouseOver".
But when I MouseOver my controls, it doesn't 'enter' into edit mode. I have to click the Edit button to do so. I've tried changing OpenEditingEvent to "Click" or "MouseDown" but all don't work. What am I missing here?
My code is below:
<
telerik:RadGrid
Skin
=
"Telerik"
ID
=
"RadGridParticipant"
runat
=
"server"
DataSourceID
=
"SqlDataSourceParticipant"
Width
=
"100%"
AllowAutomaticUpdates
=
"true"
OnLoad
=
"RadGridParticipant_Load"
OnItemDataBound
=
"RadGridParticipant_ItemDataBound"
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"false"
UseStaticHeaders
=
"True"
/>
<
Resizing
AllowColumnResize
=
"true"
ResizeGridOnColumnResize
=
"true"
AllowResizeToFit
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataKeyNames
=
"Registration_Course_ParticipantID"
TableLayout
=
"Fixed"
EditMode
=
"Batch"
CommandItemDisplay
=
"Top"
CommandItemSettings-ShowCancelChangesButton
=
"false"
CommandItemSettings-ShowAddNewRecordButton
=
"false"
>
<
BatchEditingSettings
EditType
=
"Row"
OpenEditingEvent
=
"MouseOver"
/>
<
EditFormSettings
>
<
EditColumn
ButtonType
=
"ImageButton"
InsertImageUrl
=
"~/Images/btnSave.jpg"
UpdateImageUrl
=
"~/Images/btnSave.jpg"
CancelImageUrl
=
"~/Images/btnCancel.jpg"
/>
<
FormTableStyle
CellPadding
=
"3"
CellSpacing
=
"3"
/>
</
EditFormSettings
>
<
Columns
>
<
telerik:GridEditCommandColumn
HeaderText
=
"Edit"
ButtonType
=
"ImageButton"
UniqueName
=
"EditCommandColumn"
HeaderStyle-Width
=
"30px"
/>
<
telerik:GridBoundColumn
DataField
=
"Registration_Course_ParticipantID"
Visible
=
"false"
Display
=
"false"
DataType
=
"System.Int64"
HeaderText
=
"Registration_Course_ParticipantID"
ReadOnly
=
"True"
UniqueName
=
"Registration_Course_ParticipantID"
HeaderStyle-Width
=
"30px"
/>
<
telerik:GridBoundColumn
DataField
=
"ParticipantName"
HeaderText
=
"Participant"
ReadOnly
=
"false"
UniqueName
=
"ParticipantName"
HeaderStyle-Width
=
"20%"
/>
<
telerik:GridBoundColumn
DataField
=
"CompanyName"
HeaderText
=
"Company"
ReadOnly
=
"true"
UniqueName
=
"CompanyName"
HeaderStyle-Width
=
"20%"
/>
<
telerik:GridBoundColumn
DataField
=
"Email"
HeaderText
=
"Email"
Visible
=
"false"
Display
=
"false"
ReadOnly
=
"true"
UniqueName
=
"Email"
HeaderStyle-Width
=
"20%"
/>
<
telerik:GridDropDownColumn
DataField
=
"PaymentModeID"
DataType
=
"System.Int64"
DataSourceID
=
"SqlDataSourcePaymentMode"
ListValueField
=
"PaymentModeID"
ListTextField
=
"PaymentModeName"
EnableEmptyListItem
=
"true"
EmptyListItemText
=
""
EmptyListItemValue
=
""
HeaderText
=
"Payment Mode"
UniqueName
=
"PaymentModeID"
HeaderStyle-Width
=
"20%"
/>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>