I have a webform with a werbgrid displaying 20 lines. I also have a 
button that (via javascript) that opens a popup window displaying 
another webform.  The issue is that when I am on the second page of the 
webgrid (records 21-40) and the popup webform is started, the calling 
page is now reloaded to record 1-10. This also happening when I call a 
button with the saverecord property set. 

Is there any way to save (saveviewstate/loadviewstate) the current page 
and then return to it when the calling form looses focus or when the 
save button is pressed? 

I have tried setting a filter on the datasource and put the code in the 
init of the form as well as the run of the datasource.

MyTable_ds.filter(fieldnum(MyTable,PageNum),ViewstatePageNum); //does 
not seem to execute correctly.



Reply via email to