Is there any way to redraw a datagrid from javascript?
Scenario:
One screen with a grid on it, last column is a hyperlink
User clicks on hyperlink and is taken to a screen with details about the selected row. This screen is a popup window with parameters passed to it (so it knows what to display) and is therefore called via javascript.
Having made any changes on this screen the user clicks OK or Cancel.
On Cancel the popup window should close and the user is presented with the grid on the main screen, no problems so far.
On OK the database should be updated, user returned to the main screen where the grid has been refreshed.
Before we made the detail window a popup it worked fine, but now it seems impossible to get it working the same way. Can get the detail window recognising OK/Cancel, passing this back along with any updated details, but we've then got these in a javascript function and no idea how to get them from there back to C# (so we can update the data and refresh the grid).
Any help/advice appreciated
Robertio
Alias: Robbie Calder
Software Developer
urc@walkermartyn.co.uk
Scenario:
One screen with a grid on it, last column is a hyperlink
User clicks on hyperlink and is taken to a screen with details about the selected row. This screen is a popup window with parameters passed to it (so it knows what to display) and is therefore called via javascript.
Having made any changes on this screen the user clicks OK or Cancel.
On Cancel the popup window should close and the user is presented with the grid on the main screen, no problems so far.
On OK the database should be updated, user returned to the main screen where the grid has been refreshed.
Before we made the detail window a popup it worked fine, but now it seems impossible to get it working the same way. Can get the detail window recognising OK/Cancel, passing this back along with any updated details, but we've then got these in a javascript function and no idea how to get them from there back to C# (so we can update the data and refresh the grid).
Any help/advice appreciated
Robertio
Alias: Robbie Calder
Software Developer
urc@walkermartyn.co.uk