Posted on: 6/6/2011 1:42:00 AM | Views : 504

Hi ,
I have a page where there is a list of items that we can select to modify. When we select a checkbox next to the item name and click modify button it opens a new window which the url holds the name of the item we have selected previously.
Before opening the new windows there is few codes, which is :
strscript.Append("<script language=""javascript"">") strFileName = dDispatcher.direct "PersonalSetting", "RFQAddVendList.aspx", "pageid=" & strPageId & "&name=" & listname) strFileName = Server.UrlEncode(strFileName) strscript.Append("ShowDialog('" & dDispatcher.direct "PersonalSetting", "Dialog.aspx", "page=" & strFileName) & "','300px');") strscript.Append("document.getElementById('btnHidden').click();") strscript.Append("</script>") If the item i have selected is "List" then the variable holds value as follows :
listname = List
strFileName = ../../Common/PersonalSetti ...

Go to the complete details ...