Posted on: 8/6/2013 5:38:16 AM | Views : 233

using the variable from code-behind?
I have this code snippet which is loaded using xmldocument. But I want to change the path (folder1, folder2) during runtime using constants from the code-behind of vb.net
<PageHeaderHere><Description>The quick brown fox jumps over the lazy dog.&lt;a href="javascript:MyJSFunction('/Folder1/Folder2/Document.pdf')"&gt;Click this link&lt;/a&gt;</Description> <Items> <Item>Test</Item> </Items></PageHeaderHere> Folder1 and Folder2 is set in code-behind. The whole URL is passed to a javascript function  called MyJSFunction when the page is loaded.
Thanks
...

Go to the complete details ...