Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / June 2004

Tip: Looking for answers? Try searching our database.

<do prev>

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
biggir - 26 May 2004 10:17 GMT
Hi,

When i try to navigate between two pages and want to
activate a particular form it fails :

NavigateUrl=wap.aspx#form2

How do you do this ?

Is this possible to render the prev anchor ?

Regards

Biggir
Vinod Kumar[MVP] - 02 Jun 2004 13:26 GMT
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 Snippe

private void Command1_Click(object sender, System.EventArgs e

    ActiveForm=Form2

private void Command2_Click(object sender, System.EventArgs e

    ActiveForm=Form3

Regards

Vinodh Kuma
Microsoft MVP|Author|Arc
www.dotnetforce.co
Force Behind .NET
olivier - 03 Jun 2004 10:46 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.