We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Popup a window when a nested row is edited

Thread ID:

Created:

Updated:

Platform:

Replies:

74093 May 29,2008 11:06 AM Jun 6,2008 08:54 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Ben White
Asked On May 29, 2008 11:06 AM

I'm so close but I seem to be missing something. I have a group grid that is in a call back panel. I populate the grid dynamically with datatables so that I have a parent row and a nested table on each parent row. This works great. Now here is the trick, when a user edit's a cell I need to pop up a window with a drop down list, let them select a value from that drop down list, and then save the value back into the row they selected. for testing I created a pop up window that fired when a button was clicked, the user could select the value and I would write it out to the database and update the row based on the Grid.Table.CurrentRecord. Here is where I am having trouble. If I try to call my callback multiplexer from the CurrentRecordContextChange event handler, I get an object not found error when I call this.multiPlexer.ControlsToRefresh.Add(this.CallBackPanel). Also I am unable to get the Grid.Table.CurrentRecord because it is a nested table and it always returns null.

So my questions are:
1. How can I pop up a window when a user double clicks/edits a grouping grid row that allows the user to select a value from a drop down list in the pop up, and save that value back into the grid?

Thanks!
Ben



Rajarajeswari S [Syncfusion]
Replied On June 6, 2008 08:54 AM


Hi Ben,

Sorry for the long delay in getting back to you.

In GGC we have an option called FormModeTemplate. This will get raised when you get into the the Edit mode. We can have the our own controls inside the Template. Once if you press the Save button, the values entered in the controls of the Template get stored in the Grid.


Please have a look at the sample from the below link, which illustartes the above:

C:\Documents and Settings\User Name\My Documents\Syncfusion\EssentialStudio\6.3.0.6\Web\grid.grouping.web\Samples\2.0\Editing\FormEditMode\cs


You can also refer the sample from online through the below link:

http://www2.syncfusion.com/samplebrowser/samples.aspx

Please let me know if this helps you out.

Regards,
Raji


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;