Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: programically set the payment method

  1. #1
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default programically set the payment method

    I have the following code in Page_Load of checkout1.aspx.cs but the ctrlPaymentMethod.REQUESTQUOTEChecked = true; part doesn't seem to actually check the ratio button for request quote. It just doesn't select anything:

    Code:
    CheckoutAsQuote = CommonLogic.QueryStringBool("quote");
                if (CheckoutAsQuote == true)
                {
                    SelectedPaymentType = AppLogic.ro_PMRequestQuote;
                    ctrlPaymentMethod.REQUESTQUOTEChecked = true;
                    btnCheckOut.CssClass = "CheckoutQuote";
                }

  2. #2
    jsimacek is offline Senior Member
    Join Date
    Dec 2008
    Location
    Phoenix, AZ
    Posts
    373

    Default

    Make sure your code is not before the initialize function call there etc... make sure your sequence is correct in the code and the panels are set etc.
    Jan Simacek - Compunix, LLC
    AspDotNetStorefront trusted Devnet Partner and Reseller since 2005

    AspDotNetStorefront Mods and Add-Ons at http://www.ecommercecartmods.com/
    - Searching, Filtering and Sorting (like cSearch, Dealer Locator, Price Ranges, Blog)
    - Reports (like Cart Abandonment and Net Sales)
    - Customer Experience (like Question/Answers)
    - Site and Data Management (like Entity Product Mapper, Bulk Updaters, Make/Model/Year filters)