Hi
I need to create an attendance sheet. I would like a user to click on a cell in the grid and the an Edit Popup Form should display containing the selected cells data. The user should be able to edit the cells details using the form and save it to the database. How can I do this?
Thank You
Fred
I need to create an attendance sheet. I would like a user to click on a cell in the grid and the an Edit Popup Form should display containing the selected cells data. The user should be able to edit the cells details using the form and save it to the database. How can I do this?
Thank You
Fred
6 Answers, 1 is accepted
0
Hi Fred,
Here is a online demo which illustrates how to switch grid cells in edit mode by simply double-clicking them (an easy and intuitive approach), update the data on the client and then process all changes on the server with a single batch update:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx
Check it out and let me know if its useful for you.
Regards,
Pavlina
the Telerik team
Here is a online demo which illustrates how to switch grid cells in edit mode by simply double-clicking them (an easy and intuitive approach), update the data on the client and then process all changes on the server with a single batch update:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx
Check it out and let me know if its useful for you.
Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Fred Mare
Top achievements
Rank 1
answered on 18 Jan 2012, 07:42 AM
Dear Pavlina
Thank you for the email.
I have managed to implement the client batch update grid example. When I edit cells and then click on the process button the values are returned to the ajax request but the grid looses the values the displayed. When I double click on the cell again the value is still there. Do I need to rebind the grid or reload it?
Thank You
Fred
Thank you for the email.
I have managed to implement the client batch update grid example. When I edit cells and then click on the process button the values are returned to the ajax request but the grid looses the values the displayed. When I double click on the cell again the value is still there. Do I need to rebind the grid or reload it?
Thank You
Fred
0
Hi,
Can you please confirm that you refresh the data in the source inside the OnAjaxRequest handler on the server as demonstrates in the example for Client Edit with Batch Server Update?
All the best,
Pavlina
the Telerik team
Can you please confirm that you refresh the data in the source inside the OnAjaxRequest handler on the server as demonstrates in the example for Client Edit with Batch Server Update?
All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Fred Mare
Top achievements
Rank 1
answered on 19 Jan 2012, 11:04 AM
Dear Pavlina
I am using the same code as except for the Web.UI.AjaxRequestEventArgs e that is different due to the new manager. The rebind does not execute.
Thank yo u
Fred
I am using the same code as except for the Web.UI.AjaxRequestEventArgs e that is different due to the new manager. The rebind does not execute.
Thank yo u
Fred
protected
void
RadAjaxManager1_AjaxRequest(
object
sender, Web.UI.AjaxRequestEventArgs e)
{
if
(e.Argument ==
string
.Empty)
{
RadGrid1.Rebind();
}
string
[] editedItemIds = e.Argument.Split(
':'
);
int
i;
for
(i = 0; i <= editedItemIds.Length - 2; i++)
{
string
productId = editedItemIds[i];
GridDataItem updatedItem = RadGrid1.MasterTableView.FindItemByKeyValue(
"ProductID"
,
int
.Parse(productId));
UpdateValues(updatedItem);
}
}
0
Hello Fred,
Will it be convenient for you to open a formal support ticket and send us a sample runnable project where the problem can be replicated. We will debug it locally and advice you further.
Kind regards,
Pavlina
the Telerik team
Will it be convenient for you to open a formal support ticket and send us a sample runnable project where the problem can be replicated. We will debug it locally and advice you further.
Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Fred Mare
Top achievements
Rank 1
answered on 05 Feb 2012, 01:28 PM
No need I managed to get it working thank you for the help