Question : Google Checkout buttons in ASPX Gridview

Hi

I have a web page which has a dynamically built gridview with items for sale and their description etc on each row. At the end i want to use a google checkout button to enable users to purchase the items. However i seem to be running into diffuclties with the generated code google creates for the button and my own code. I have attached code below which shows the datagird view in the asp page with the google button as it is now. (I have changed the merchantID). on the page this is displayed i get two results (two lines) if i click the first line button i get an error message... Invalid postback or callback argument.  Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

when i click the second line item button it works fine...

whats going on - can you help...
ps. i have enabled event validation on my page.
Code Snippet:
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:

                     
                         
                             
                                 
                             
                         
                         
                             
                                 
                             
                         
                         
                             
                                  
                                  
                            
                            
                         
                         
                             
                                  
                             
                    
                    
                    
            
                
                
                
                
                
                
                
             
                  
                  
                 
                 
Open in New Window Select All

Answer : Google Checkout buttons in ASPX Gridview

I have managed to make a work around, I have used the google checkout which uses a javabased checkout system. It done the trick..
Random Solutions  
 
programming4us programming4us