on 07-25-2006 7:29 AM
Hi
I need this info urgently, can any one help me
in
how to set Iframe source property dynamically
hi
Follow these steps
Create a context attribute of type String and bind it to the Source property of the iFrame in the layout. Populate this context attribute with an URL dynamically and the iFrame will show it.
Regards
Dhinakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a value attribute in your context, say UrlSource of type string. Bind this attribute to the Source property of the IFrame.
Then you can use this code to set it dynamically:
String urlString = "http://www.google.com"; //or anything that you want.
wdContext.currentContextElement().setUrlSource(urlString);
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.