NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: alex.kolaric on January 29, 2009, 12:19:10 AM
-
Hi,
here is the issue. I have page constructed from parent browse and its child browse (both NetWebBrowse procs). I modified template so I can add button with p_web.CreateButton after standard First/Prev/Next/Last buttons. I need to create button which sets one session var and after that refreshes just this child browse. Basically this button should behave like switch for showing/hiding zero values in child browse. I succeded in button creation but how to do the rest :)
Any help is appreciated
thanks,
Alex
-
Hi Alex,
The correct approach is to create a NetWebform.
On this form have your button (as an "other" button), and the browse. (Button underneath the browse if you like.)
Add the browse to the "reset fields" list of the button.
Then you can add the code you want, on the server side, to the button, and the browse will be refreshed after the button is pressed.
Cheers
Bruce
-
Hi Bruce,
but NetWebForm can't be child for parent browse, right? Are you suggesting I should put both parent and child browse on the same NetWebForm and not use Children tab (reset child browse on parent change manually and filter it instead)
thanks,
Alex