Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Need webform Navigation help MVP's (http://www.velocityreviews.com/forums/t104864-need-webform-navigation-help-mvps.html)

=?Utf-8?B?U2FrZXQgTXVuZHJh?= 06-17-2005 09:33 AM

Need webform Navigation help MVP's
 
I am designing a web application to offer services to customers. In form1 I
have listed all the services available using CheckBoxlist control. I have a
different webform for customization of each of the services that is being
offered.

I want that when a user makes selection of services in the checkboxlist
control on form1, based on his selection of services he shall be redirected
to the pages for selected services one by one in the order of services
selected. Is this Possible?
If yes please guide me how shall i proceed?

Any help is appreciated.

--
Thank You.

Saket Mundra

Scott Allen 06-17-2005 03:44 PM

Re: Need webform Navigation help MVP's
 
A very simple approach would be to keep an ArrayList of URLs the user
needs to visit in Session state. On each form you can generate a
HyperLink or LinkButton using the next URL in the ArrayList (and then
removing it when they arrive). A bit naive, but it's a starting point
you can work from.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 17 Jun 2005 02:33:28 -0700, Saket Mundra
<SaketMundra@discussions.microsoft.com> wrote:

>I am designing a web application to offer services to customers. In form1 I
>have listed all the services available using CheckBoxlist control. I have a
>different webform for customization of each of the services that is being
>offered.
>
>I want that when a user makes selection of services in the checkboxlist
>control on form1, based on his selection of services he shall be redirected
>to the pages for selected services one by one in the order of services
>selected. Is this Possible?
>If yes please guide me how shall i proceed?
>
>Any help is appreciated.



=?Utf-8?B?U2FrZXQgTXVuZHJh?= 06-17-2005 08:18 PM

Re: Need webform Navigation help MVP's
 
Thank you for response Scott.
I wonder if I follow what you have stated what would happen if the user
clicks the back button on the browser. He would be directed to the previous
page but an item would have been removed from the arraylist stored in session
state. Hence when he proceeds further, instead of going to the supposed next
page the user would be directed to, next to next page and this will keep
going on.

Let me tell you that whatever the user is selcting I am storing it in a
database table, if it helps.

I am stuck in this for quite sometime now. Please help.
--
Thank You.

Saket Mundra


"Scott Allen" wrote:

> A very simple approach would be to keep an ArrayList of URLs the user
> needs to visit in Session state. On each form you can generate a
> HyperLink or LinkButton using the next URL in the ArrayList (and then
> removing it when they arrive). A bit naive, but it's a starting point
> you can work from.
>
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
>
> On Fri, 17 Jun 2005 02:33:28 -0700, Saket Mundra
> <SaketMundra@discussions.microsoft.com> wrote:
>
> >I am designing a web application to offer services to customers. In form1 I
> >have listed all the services available using CheckBoxlist control. I have a
> >different webform for customization of each of the services that is being
> >offered.
> >
> >I want that when a user makes selection of services in the checkboxlist
> >control on form1, based on his selection of services he shall be redirected
> >to the pages for selected services one by one in the order of services
> >selected. Is this Possible?
> >If yes please guide me how shall i proceed?
> >
> >Any help is appreciated.

>
>


Steve C. Orr [MVP, MCSD] 06-17-2005 09:25 PM

Re: Need webform Navigation help MVP's
 
Here's an example of using a base class to provide common functionality to
all your pages:
http://www.dwaynesparks.com/Website_Templating_3.aspx
You can put the navigation code in there.

Here's information about creating a wizard:
http://aspalliance.com/articleViewer.aspx?aId=624&pId=1

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


"Saket Mundra" <SaketMundra@discussions.microsoft.com> wrote in message
news:C38ACF0C-90BF-4F62-8BCA-957ACD8061C4@microsoft.com...
>I am designing a web application to offer services to customers. In form1 I
> have listed all the services available using CheckBoxlist control. I have
> a
> different webform for customization of each of the services that is being
> offered.
>
> I want that when a user makes selection of services in the checkboxlist
> control on form1, based on his selection of services he shall be
> redirected
> to the pages for selected services one by one in the order of services
> selected. Is this Possible?
> If yes please guide me how shall i proceed?
>
> Any help is appreciated.
>
> --
> Thank You.
>
> Saket Mundra




=?Utf-8?B?U2FrZXQgTXVuZHJh?= 06-18-2005 06:45 AM

Re: Need webform Navigation help MVP's
 
Thank you very much for help Steve. I hope this will sort out my problem.
I'll try using base class. However, I am confused if I can put the navigation
code in the base class during design time. Let me explain:

Form 1 - name "Services"
In this form I have checkboxlist displaying the 35 services offered. Now a
user1 visits the site and he selects
------ checkboxlistitem1
------ checkboxlistitem3
------ checkboxlistitem7

I want that as user1 clicks proceed he must be directed to form - Service1,
then to form- service3, and in the end to form- service3.

In the same way if user2 visits the site and selects
------ checkboxlistitem9
------ checkboxlistitem11
he must be directed to form - Service9, then to form- service11.

I am not very sure how can i do this using base class. Please explain.
I am a final year student and stuck up in my final year project due to this.
Please help. Its very urgent.

Thanks for any help.

Saket Mundra


"Steve C. Orr [MVP, MCSD]" wrote:

> Here's an example of using a base class to provide common functionality to
> all your pages:
> http://www.dwaynesparks.com/Website_Templating_3.aspx
> You can put the navigation code in there.
>
> Here's information about creating a wizard:
> http://aspalliance.com/articleViewer.aspx?aId=624&pId=1
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "Saket Mundra" <SaketMundra@discussions.microsoft.com> wrote in message
> news:C38ACF0C-90BF-4F62-8BCA-957ACD8061C4@microsoft.com...
> >I am designing a web application to offer services to customers. In form1 I
> > have listed all the services available using CheckBoxlist control. I have
> > a
> > different webform for customization of each of the services that is being
> > offered.
> >
> > I want that when a user makes selection of services in the checkboxlist
> > control on form1, based on his selection of services he shall be
> > redirected
> > to the pages for selected services one by one in the order of services
> > selected. Is this Possible?
> > If yes please guide me how shall i proceed?
> >
> > Any help is appreciated.
> >
> > --
> > Thank You.
> >
> > Saket Mundra

>
>
>



All times are GMT. The time now is 04:36 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57