Thanks.
Of course
But i want to navigate between two pages not two forms.
So this doesn't work.
> Hi,
>
> Easiest way to activate a particular form is to use the Property ActiveForm.ActiveForm property is used to Gets or sets the page's currently
active form.
> Code Snippet
>
[quoted text clipped - 14 lines]
> www.dotnetforce.com
> Force Behind .NET
olivier - 03 Jun 2004 10:50 GMT
and to a particular form
and "page.aspx#form" is not allowed
Regards
> Thanks.
>
[quoted text clipped - 28 lines]
> > www.dotnetforce.com
> > Force Behind .NET
Vinodh Kumar[MS MVP] - 03 Jun 2004 11:56 GMT
Hi,
Sorry..
have u tried using querystring .. like
Link1.NavigateUrl = "MobileWebForm2.aspx?f=2";
and load the form depending upon the querystring in page load of the second form?
if (Request["f"].ToString()=="2")
{
ActiveForm = Form2;
}
If this is not ur requirement pls ignore it..
Regards,
Vinodh Kumar
Microsoft MVP|Author|.NET Arch
www.dotnetforce.com
Force Behind .NET
----- olivier wrote: -----
Thanks.
Of course
But i want to navigate between two pages not two forms.
So this doesn't work.
"Vinod Kumar[MVP]" <vinod@dotnetforce.com> a écrit dans le message de
news:B82D13B2-E00A-49D8-836B-17E41DD1D314@microsoft.com...
> Hi,
>> Easiest way to activate a particular form is to use the Property
ActiveForm.ActiveForm property is used to Gets or sets the page's currently
active form.
>> Code Snippet
>> private void Command1_Click(object sender, System.EventArgs e)
> {
> ActiveForm=Form2;
> }
>> private void Command2_Click(object sender, System.EventArgs e)
> {
> ActiveForm=Form3;
> }
>> Regards,
>> Vinodh Kumar
> Microsoft MVP|Author|Arch
> www.dotnetforce.com
> Force Behind .NET
olivier - 03 Jun 2004 13:48 GMT
yes but i lose the value of variables
the scenario :
page n?1form n?4 (+variables) -> page n?2 form n?1
and i want :
page n?2 form 1 -> page n?1 form 4 and keep my variables
it's obvious with the do prev tag !!!!! why don't they have include it ?(
and render in chtml with javascrpt: history.back)
regards
(sorry for my english)
> Hi,
> Sorry..
[quoted text clipped - 48 lines]
> > www.dotnetforce.com
> > Force Behind .NET