Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
C# PostBackURL in Code behind?
Old 07-05-2011, 04:27 PM C# PostBackURL in Code behind?
DmitryS's Avatar
Skilled Talker

Posts: 84
Trades: 0
Hi All,

I have a shopping cart. The cart contents is database driven. When the user wants to click continue to purchase the items in the cart, I need to pass the cartID to the next page (order.aspx). However, I also need to recalculate the cart contents to ensure no quantities have been altered.

So I really need an onclick function to call the recalcCart function and then use PostBackURL (or equivalent). I can't seem to find a way to do it.

I don't want to use querystring or server.transfer (want to a move to the next page)

Any help would be greatly appreciated.
__________________
»
Please login or register to view this content. Registration is FREE
for web developers
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
DmitryS is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-06-2011, 04:56 PM Re: C# PostBackURL in Code behind?
chrishirst's Avatar
Defies a Status

Posts: 43,971
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use a session value or a cookie.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to C# PostBackURL in Code behind?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15956 seconds with 11 queries