Problem in passing value to popup window
-
Hello friends, I know i have posted similar thing yesterday but i didn't got my solution yet. I am using popup window in my application which i am creating like this
function Open() {
window.open('SearchBOM.aspx','myWin','scrollbars=no,width=500,height=500,resizable=no');
}
</script>
<a href="javascript:;" onClick="Open()">Search</a></pre>I want to pass a string value to my SearchBOM.aspx page, which i'll enter in a TextBox.
I tried using Session variables, but i found out on net that i can't use sessions in client side code.
Then i used HiddenField for the purpose but still it didn't helped me.Now i want to try for QueryString option.
I know i have to pass it by putting '?' after pagename but it still giving me errors.Am missing something? Can anybody help me?
Also i am using Content PAge and not a normal web page.Thanks,
Nagendra.</x-turndown> -
Hello friends, I know i have posted similar thing yesterday but i didn't got my solution yet. I am using popup window in my application which i am creating like this
function Open() {
window.open('SearchBOM.aspx','myWin','scrollbars=no,width=500,height=500,resizable=no');
}
</script>
<a href="javascript:;" onClick="Open()">Search</a></pre>I want to pass a string value to my SearchBOM.aspx page, which i'll enter in a TextBox.
I tried using Session variables, but i found out on net that i can't use sessions in client side code.
Then i used HiddenField for the purpose but still it didn't helped me.Now i want to try for QueryString option.
I know i have to pass it by putting '?' after pagename but it still giving me errors.Am missing something? Can anybody help me?
Also i am using Content PAge and not a normal web page.Thanks,
Nagendra.</x-turndown>You're still working on this? :rolleyes: :omg:
function Open() { var uri = "SearchBOM.aspx?[param-name]=" + [value]; window.open(uri,'myWin','scrollbars=no,width=500,height=500,resizable=no'); }
only two letters away from being an asset
-
You're still working on this? :rolleyes: :omg:
function Open() { var uri = "SearchBOM.aspx?[param-name]=" + [value]; window.open(uri,'myWin','scrollbars=no,width=500,height=500,resizable=no'); }
only two letters away from being an asset
Hey Thanks man, i combined the results mentioned by u and some other on net and i got it worked. :-D