OK, I've put this in the onclick-event of my button.
The problem now is that he first performs the java-script and then the
actions i've put in the click-event in my form.
The button is a login-button.
When the user is logged in and has the proper rights my right frame should
display the form in administration-mode, otherwise the form is shown in
display-mode.
"Simon" <an*******@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
avnrao is right - doing stuff in other windows or frames must be
client-side...
window.open('fred.aspx','rightframe');
Also you should consider using Session rather than cookies to pass stuff
between pages.
"Bart Schelkens" <BS********@hotmail.com> wrote in message
news:OK**************@TK2MSFTNGP09.phx.gbl... there is no vb.net way to do this?
I actually just want to refresh the mainFrame with my form.
I write some values in a cookie and when the form is loaded, it checks
the cookie for that certain value.
"avnrao" <av*@newsgroups.com> wrote in message
news:Ow**************@TK2MSFTNGP14.phx.gbl... since you have implemented frames, you have to use client side
scripting to get this done.
do this in javascript :
if(buttonActionSuccessful)
{
window.top.document.frames("secondFrame").document .forms("yourForm").textBox
.visible = true;
}
Av.
"Bart Schelkens" <BS********@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I have this website that consists of 2 frames.
> In my leftFrame I have a button that performs some actions.
> In my rightFrame I display a table or some textboxes.
>
> I the action of the button was successful i want to display the
textboxes, > otherwise i need to display the table.
>
> I can't get this to work.
> Can anyone help me?
>
>