or
<
asp:Panel
ID
=
"uxMessagePanel"
Visible
=
"false"
runat
=
"server"
CssClass
=
"message success"
>
<
asp:Label
ID
=
"uxMessageLabel"
runat
=
"server"
/>
</
asp:Panel
>
RadButton uxDeleteContact = (RadButton)sender;
GridNestedViewItem currentNestedRow = (GridNestedViewItem)uxDeleteContact.NamingContainer;
GridDataItem currentRow = (GridDataItem)currentNestedRow.ParentItem;
//some other code here
//Show Success Message to User
((Panel)(currentRow.Parent.Parent.Parent.Parent.FindControl(
"uxMessagePanel"
))).Visible =
true
;
((Label)(currentRow.Parent.Parent.Parent.Parent.FindControl(
"uxMessageLabel"
))).Text =
"Contact successfully deleted."
;
Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Index was
outside the bounds of the array.
RadGrid Control: disabling drag and drop column is not working. User can pick the column and while dragging somewhere, following error comes
“
Unable to download.
Unspecified error
“
I have read the following link.
http://www.telerik.com/community/forums/aspnet/grid/disable-drag-and-drop.aspx
I have set the following properties in code behind and design view as well and both are not working.
telRadGrid.ClientSettings.AllowRowsDragDrop = False
telRadGrid.ClientSettings.ReorderColumnsOnClient = False
telRadGrid.ClientSettings.AllowDragToGroup = False
<ClientSettings AllowColumnsReorder="false" AllowDragToGroup="false" ReorderColumnsOnClient="false">
<Resizing AllowColumnResize="false" />
</ClientSettings>