How to pass parameter in ASP.NET 2.0 style to iframe?

herotom

New Member
this first attempt to pass parameter in current iframe from current page, got 500 internal server error after wrote like thismy second attempt is to write another asp page to call this page which has iframe and pass parameter to this iframe, is it possible?\[code\] <ul id="login_content"> <form action="http://127.0.0.1/hello/AdeccoCN3/login/Default.aspx?loginTypeValue='http://stackoverflow.com/questions/14555245/CANDIDATE'&loginemail=<%=Request.Form('loginid')%>&password=<%=Request.Form('passwd') %>" method="post" target="my_iframe"> <li>Login <input id="loginid" type="text" class="login_text" onfocus="if( this.value =http://stackoverflow.com/questions/14555245/='Login ID') {this.valuehttp://stackoverflow.com/questions/14555245/= '';}" onblur="if (this.value =http://stackoverflow.com/questions/14555245/='') { this.valuehttp://stackoverflow.com/questions/14555245/= 'Login ID';}" value="http://stackoverflow.com/questions/14555245/Login ID" /></li> <li>Password <input id="passwd" type="text" class="login_text" onfocus="if( this.value =http://stackoverflow.com/questions/14555245/='Password') {this.valuehttp://stackoverflow.com/questions/14555245/= '';}" onblur="if (this.value =http://stackoverflow.com/questions/14555245/='') { this.valuehttp://stackoverflow.com/questions/14555245/= 'Password';}" value="http://stackoverflow.com/questions/14555245/Password" /></li> <li id="login_btn" title="Login"> <input type="submit" value="http://stackoverflow.com/questions/14555245/Send" /> <strong><a href="http://127.0.0.1/hello/login/Default.aspx?loginTypeValue='http://stackoverflow.com/questions/14555245/CANDIDATE'&loginemail=<%=Request.Form('loginid')%>&password=<%=Request.Form('passwd') %>" target="_blank">Login</a></strong></li> </form> </ul> <div> <iframe name="my_iframe" src="http://127.0.0.1/hello/login/Default.aspx" width="600" height="400"></iframe> </div>\[/code\]
 
Top