I add a WebForm2 in my ASP.NET project.. but How can I show a WebForm?? WebForm2.Show doesn't work!! help me please??
Printable View
I add a WebForm2 in my ASP.NET project.. but How can I show a WebForm?? WebForm2.Show doesn't work!! help me please??
You probably have Webform1.aspx as your start page. Either link to webform2.aspx from webform1.aspx or make webform2.aspx your start page.
yup webform1 is my start page.. how can i link the webform2?
In the HTML:
or in a button's click event:Code:<a href="webform2.aspx">Click me!</a>
VB Code:
Response.Redirect "webform2.aspx"
Or simply, in VS.NET, right click WebForm2.aspx in the solution explorer and choose "Set as start page"
I don't know what you means but you can try this:
with bnClick1: IE4.0 or higherCode:<input id="bnClick1" type=button onclick="window.showModalDialog('webform2.aspx');">
<input id="bnClick2" type=button onclick="window.showModelessDialog('webform2.aspx');">
<input id="bnClick3" type=button onclick="window.open('webform2.aspx');">
with bnClick2: IE5.5 or higher (I'm not sure :D )
with bnClick3: IE4.0 or Netscape 4.0 or higher( not sure :D )
you can goes http://webreference.com/js/tutorial1/ to look your code which you want :)
Good luck