Results 1 to 5 of 5

Thread: show webform

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    show webform

    I add a WebForm2 in my ASP.NET project.. but How can I show a WebForm?? WebForm2.Show doesn't work!! help me please??

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    You probably have Webform1.aspx as your start page. Either link to webform2.aspx from webform1.aspx or make webform2.aspx your start page.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441
    yup webform1 is my start page.. how can i link the webform2?

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    In the HTML:

    Code:
    <a href="webform2.aspx">Click me!</a>
    or in a button's click event:

    VB Code:
    1. Response.Redirect "webform2.aspx"

    Or simply, in VS.NET, right click WebForm2.aspx in the solution explorer and choose "Set as start page"

  5. #5
    New Member
    Join Date
    Sep 2004
    Posts
    9
    I don't know what you means but you can try this:
    Code:
    <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 bnClick1: IE4.0 or higher
    with bnClick2: IE5.5 or higher (I'm not sure )
    with bnClick3: IE4.0 or Netscape 4.0 or higher( not sure )
    you can goes http://webreference.com/js/tutorial1/ to look your code which you want
    Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width