Ask a Question related to ASP.NET General, Design and Development.
-
Deasun O'Donnachadha #1
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
-
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... -
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... -
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... -
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... -
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... -
S. Justin Gengo #2
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



Reply With Quote

