telerik

Submission
Home  Community  CodeLibrary home  RadControls for ASP.NET and ASP.NET AJAX  RadGrid  Edit on double click in hierarchical grid

Requirements

RadGrid version

4.x

Telerik.Web.UI Web.UI_2007_3_1328+
.NET version

2.0

Visual Studio version

VS 2005

programming language

VB.NET, Javascript

browser support

all browsers supported by RadGrid

To convert code from posted projects Telerik online converter

PROJECT DESCRIPTION
This project represents how to transform the edit on double click online example to work with two-level hierarchy grid (automatic update operation and data editing confirmation included). 

The example can be extended to work with multiple nested tables as well.


RadGrid Classic only:
Note that for the child table you will need to find the nested view by unique name in the code-behind of the page. The unique id is passed as argument to the RadGridClientObject.AjaxRequest method and extracted inside the RaisePostBackEvent handler.


lakshman | #
5/6/2008 11:00:07 AM
Question on Double-click with AJAX javascript -> to Edit Mode:
    1. I have created a dynamic RadGrid when user clicks on a button. RadGrid displays fine, datasource is based on a filter from a text box.
When I set the datasource in the button click event, the Ajax double click event fires fine, but the datagrid is not going into edit mode. Any ideas?

((RadGrid1.MasterTableView.Controls[0]

as Table).Rows[int.Parse(postBackEventArgumentData[1])] as GridItem).Edit = true;



If I put the datasource binding and query in the page_load, the doubleclick works fine which takes into Edit mode.

lakshman | #
5/6/2008 12:37:39 PM
Thanks Prangadj...Telerik seems to be a hell for beginner without proper guidance...Appreciate your help...NeedDataSource works ...

lakshman | #
5/6/2008 12:37:41 PM
Thanks Prangadj...Telerik seems to be a hell for beginner without proper guidance...Appreciate your help...NeedDataSource works ...