Hi all,
I am opening a webform with showModalDialog . This appears to pop-up fine,
though I have a problem...
Inside the webform is a treeview control.
When the treeview is populated, I am setting the treenode navigateurl to
javascript:Clic k('test')
This does not work. It opens a new window with javascript:Clic k('test') as
the address.
However, if I open the window with window.open, the javascript works fine.
Anyone any ideas on how I can get it to work?
Further notes...
I was trying to see if it was a general issue with JS, so I create an a href
tag with exactly the same javascript. This worked as expected, so it appears
to be a conflict with the treeview when inside a showModalDialog .
Best regards,
Dave Colliver.
~~
http://www.FOCUSPortals.com - Local franchises available
I am opening a webform with showModalDialog . This appears to pop-up fine,
though I have a problem...
Inside the webform is a treeview control.
When the treeview is populated, I am setting the treenode navigateurl to
javascript:Clic k('test')
This does not work. It opens a new window with javascript:Clic k('test') as
the address.
However, if I open the window with window.open, the javascript works fine.
Anyone any ideas on how I can get it to work?
Further notes...
I was trying to see if it was a general issue with JS, so I create an a href
tag with exactly the same javascript. This worked as expected, so it appears
to be a conflict with the treeview when inside a showModalDialog .
Best regards,
Dave Colliver.
~~
http://www.FOCUSPortals.com - Local franchises available
Comment