NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on July 25, 2015, 02:23:45 AM
-
Hi
In 2 browses out of 40 the change/delete buttons has no effect. They are very simple browses with popup-forms. Works fine without popup.
Unfortunately I can not recreate the error in a test.
Firebug displays the following error: "Error: cannot call methods on ntbrowse prior to initialization; attempted to call method 'unhideTable'" - see attached picture.
Regards Niels
[attachment deleted by admin]
-
Hi Niels,
The problem is not that the buttons have no effect - the problem is that the browse itself is not initializing correctly.
The most likely reason for this is that you have the same procedure twice on the same page. A browse, or form or whatever is just a Div, and it's likely you have ended up with 2 divs on the page with the same name.
Perhaps come to the User Group webinar on Thursday and we'll take a look at your app and see if we can spot the root error.
cheers
Bruce
-
Ive got a similar problem.
very simple browses no longer work.
It seems to display the locator search bar on top and bottom of the browse rows
I cant see a difference in the ones that do with the ones that don't
Where and what must I look for
-
Hi Bruce
Thanks - you gave me a hint.
I have now created a small test.app. As I see it, the problem occurs when I call a form (as popup) from the menu and that form uses another browse (as lookup) from the menu - duplicate ID.
Is there a way to provide a lookup browse with another ID?
Regards Niels
[attachment deleted by admin]
-
This is what I have found.
If you create a netwebbrowse stand alone it works.
if you create a netwebform with a 2nd tab which contains the first netwebbrowse and add a filter on the netwebbrowse to be childofnetwebform
then the netwebform with the netwebbrowse works, but the original netwenbrowse from the menu give this error ?
-
I made a copy of one of the netwebbrowse procs that dont work.
The copy works perfectly , the only difference is its not used anywhere else..
There must be a way to solve this
else we have to maintain to identical pieces of code ???????