Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Build a .NET App for Google Checkout
Subject:   Using CheckOut API in VB. NET
Date:   2007-11-21 23:17:23
From:   zeeshanks
Response to: Using CheckOut API in VB. NET

Hello Martin,
Is it possible to get the actual form file for the simple.aspx file?


I 'm trying to compile my project with PostCarttoGoogle function. I have created a button (Button4) in my form.


The first error is related to this line:


Dim Req As CheckoutShoppingCartRequest = Button4.CreateRequest


The error is :
'CreateRequest' is not a member of 'System.Web.UI.WebControls.Button'.


Can you please help.


Thanks,
Zee

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Using CheckOut API in VB. NET
    2007-11-22 12:33:14  momander [View]

    Zee,

    Sounds like your Button4 is a regular Button and not a GCheckoutButton. Did you add the button to your ASPX page according to page 3 of the article, like this:

    <cc1:GCheckoutButton id="GCheckoutButton1" onclick="PostCartToGoogle" runat="server"/>

    /Martin