Results 1 to 36 of 36

Thread: [RESOLVED] Calling a Sub in a Different aspx.vb File

Threaded View

  1. #11

    Thread Starter
    Member
    Join Date
    Dec 2009
    Posts
    37

    Re: Calling a Sub in a Different aspx.vb File

    Quote Originally Posted by gep13 View Post
    ...Out of interest, why did you choose to do this:

    Code:
    If Request.ToString.Contains("?") Then
    Did you see that somewhere?

    Gary
    That's where the problem was! It seems that the .ToString method didn't return the actual contents of the Request, thus not adding anything to the cart! I was adding that line in case this page were somehow called without any queriable input, so to prevent any exceptions from being raised via null input... or could that even cause a problem in these circumstances? If so, how can I set this up to not add a null CartItem to my ArrayList whenever the Cart page is called without passed values?

    Oh yes, and how can I prevent the previous CartItem(s) from being removed when the user navigates away from the cart page?
    Last edited by jwesleycooper; Jan 4th, 2010 at 08:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width