NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Ubaidullah on October 04, 2011, 01:26:23 AM
-
Hi,
I have a NetWebForm (A) that has a NetWebBrowse in it. The NetWebBrowse calls a NetWebForm (B) in popup mode to update its records. I have some buttons on NetWebForm (A) that need to be hidden/unhidden after the popup NetWebForm (B) is called. I am setting the required session variables in the popup NetWebForm (B) but I don't see the any call to NetWebForm (A) from the WebHandler after the popup is closed. I need to make the WebHandler call NetWebForm (A) with a stage of Net:Web:Div.
So, how do I add the update buttons that call NetWebForm (B) to the reset list?
Thanks & Regards,
Ubaidullah Nubar.
-
Sorry, UN, I was confused when I read in on NetTalkCentral, and re-reading it hasn't helped.
I think it needs an accompanying example if I'm to answer correctly.
cheers
Bruce
-
Sorry for not being clear.
Please see the attached app which is a modified form of example 1 BasicBrowseAndForm.
I have added a NetWebForm called 'ContainingForm' that calls the MailboxesBrowseControl.
The form has one entry string and one button. Any value entered in the string is stored in the session variable LOC:BtnText. The button takes the value of this session variable and uses it for its text in the Value::LOC:MyButton routine. So far, so good.
Now, the MailboxesFormControl sets the session variable LOC:BtnText in its ValidateRecord routine.
I want the button text in 'ContainingForm' refreshed with the value set in 'MailboxesFormControl' when the user closes the popup. How do I achieve this?
To illustrate, I have this:
Form A ---> Browse ---> Form B
Form B is a popup which sets a session variable and I need to refresh a field in Form A with this session variable's value.
Hopefully, it is clearer.
Thanks & Regards,
Ubaidullah Nubar.
[attachment deleted by admin]