Hi!
Following is a bit of HTML code:
<INPUT type=button onclick="window.location.href='MyPageURLIsHere.htm'">
HTH.
>It occurs to me that it is a bit (sometimes a whole lot) of a waste to recreate a form and rebind to the data to then just abandon all that and navigate to another page, every time you hit a Cancel button that (in my apps at least) does nothing but navigate to another form (I am thinking specifically of the Cancel button in the Toolbar, but it could apply to any Navigate button.)
>
>I am also thinking that adding an apporpriate ClientSideScript to these buttons would mean that the page would never come back to get re-rendered, we would simply go to the specified page.
>
>The question is, what is the format of the script (given that we know the url of the desired page) that will do this?
>
>Thanks,
>
>Reg
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.