Startbeitrag von willy hermans am 20.08.2013 07:51
Hello,
A website contains a tab control.
When I click on a button on TAB2, I am calling a child page. When I return to the parent page, I want to have TAB 2 has focus.
Is this possible in WebDev
Thanks
Willy Hermans
A website contains a tab control.
When I click on a button on TAB2, I am calling a child page. When I return to the parent page, I want to have TAB 2 has focus.
Is this possible in WebDev
Thanks
Willy Hermans
Antworten:
Sure...
Solution 1:
Add a pTabNumber to your Page signature.
E.g. PROCEDURE PageName(pTabNr is int = 0)
Next in the init code:
IF pTabNr > 0 then
Tabname = pTabnr
END
Solution 2:
Write the last active tab page in a cookie or in a (server-side) context variable.
Cheers,
Peter H.
von Peter Holemans - am 20.08.2013 10:58
Tabname = 1 is the forst tab
Tabname = 2 is the second tab
So if you want to open a page and show the second tab state tabname = 2
regards
Allard
von Allard - am 20.08.2013 18:37