How To? Reload webapps main page.

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default How To? Reload webapps main page.

    Good morning all,

    I have a page that has a frameset with three frames. It
    is called Default.aspx. This is the main way into my app.
    On a page in the main frame, thats the right frame, of
    the frameset I want to reload the whole app on a btn
    click event.

    How would I do this in code behind from that page?
    Using vb I am.

    So
    Apps Page = Default.aspx
    Frame pages =
    Left = Menubar.aspx
    Right = Main.apsx
    Bottom = Status.aspx
    The btn-click code is on Main.aspx

    thanks
    Deasun
    Deasun O'Donnachadha Guest

  2. Similar Questions and Discussions

    1. Forced Page Reload
      Howdy all, I have a site I just released which has several pages which change with some frequency. I remember that I can force the browser to...
    2. Reload the page to a variable
      Here is the command I'm trying to use, but wont work. How else can I acomplish this without referring to a different page? <meta...
    3. Start Page gives incorrect link to site's main page
      I designed a small site in Dreamweaver and imported it into Contribute. It's an ASP-based site, so the index file is index.asp, not index.html. I...
    4. Reload page on resize?
      I've finally got a menu built and it works great! Only one problem I have noticed... Flash HATES to be scaled! Okay here it is, PROBLEM: When...
    5. How do I reload same page?
      Hi, I am new to php and as a learning challenge for myself I have been writing a page that links to a mysql database and populates it with values...
  3. #2

    Default Re: How To? Reload webapps main page.

    Deasun,

    You'll have to reload the frame using client side code.

    You can still trigger this client side code from the code behind page
    though. I would suggest turning the body tag into a server control and then
    adding the javascript to change the frame to the onload event of the body
    tag.

    I have some sample code for using the body tag as a server side control on
    my website, [url]www.aboutfortunate.com[/url]. The entry you need is titled: Use the
    "body" tag as a server control and just happens to be the second entry in
    the datagrid so it will be easy to find.

    If you need help creating the javascript itself just post back here or feel
    free to email me. I'd be glad to help with that also.

    Sincerely,


    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche
    "Deasun O'Donnachadha" <tirnaog@mail.com> wrote in message
    news:0a9f01c355e1$e12affc0$a601280a@phx.gbl...
    > Good morning all,
    >
    > I have a page that has a frameset with three frames. It
    > is called Default.aspx. This is the main way into my app.
    > On a page in the main frame, thats the right frame, of
    > the frameset I want to reload the whole app on a btn
    > click event.
    >
    > How would I do this in code behind from that page?
    > Using vb I am.
    >
    > So
    > Apps Page = Default.aspx
    > Frame pages =
    > Left = Menubar.aspx
    > Right = Main.apsx
    > Bottom = Status.aspx
    > The btn-click code is on Main.aspx
    >
    > thanks
    > Deasun

    S. Justin Gengo Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139