|
| [WB 20] Tab Control / iFrame problem |
| Iniciado por guest, 27,dic. 2015 14:06 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 27,diciembre 2015 - 14:06 |
Hi Guys,
i need some help on WebDev.
I have a Tab Control with 10 tabs and each tab has an iFrame control. In the beginning all tabs are invisible. The idea is now to open ( make it visible) a tab and assign a Page to the Tab.iFrame
now i am facing a strange behavior: Assigning a page to the iframe works fine and controlling visibility of an Tab Pane works also.Doing both in one button call does not work. No Error, code gets executed as normal just nothing happens..
Any ideas?
Thanks Sascha
----------------------------- assign page to iFrame - works ----------------------------- //Browser ChangeTarget(iFRM_1..Alias)
//Server PageDisplay(Page_Usr_Overview) -------------------------------------------- Make a Tab visible via button call - works -------------------------------------------- //Server MainTab[1]..visible = true MainTab = 1 ------------------------------------------- Doing both in one call - does not work ------------------------------------------- //Browser ChangeTarget(iFRM_1..Alias)
//Server MainTab[1]..visible = true MainTab = 1
PageDisplay(Page_Usr_Overview) |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,diciembre 2015 - 14:36 |
Hi Sacha,
so, you are first changing the page_usr_overview, then redisplaying it in its initial state, if I read correctly your code... maybe it would work with a pagerefresh, or no page function, and just having code marked as ajax
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,diciembre 2015 - 05:41 |
HI Fabrice,
unfortunately, i can´t get it to work. As soon as I have the changeTarget() in the browser code, changing the tab visbility does not work anymore. At least it will not refresh the Page, even a PageRefresh does not work. The funny thing now is, when i am hitting a newly created button (without any customization) the tab would become visibile... It looks like it does a refresh of the page.
Cheers, Sascha |
| |
| |
| | | |
|
| | | | |
| | |
|