Ajax DataGrid Support Product Page

Solved

Edit button doesn't work per tutorial

Reported 19 Jun 2013 19:19:53
1
has this problem
19 Jun 2013 19:19:53 Michael Bosquez posted:
I watched the tutorials and am trying to do the Edit and Delete links. I added the parameters to the URL as shown in the tutorial that shows all this using Lightbox. However, when I add the ?ID={0} it passes the first column of info past the ID column. In other words, column 0 is actually the second column listed. ID is the first. I tried numerous other numbers and passed the parameters to a web page instead of Lightbox so I could see what's being passed. I never found a way to pass the ID number as a parameter. I am using a MySQL database. Any idea what I add to be able to pass the ID number as a URL Parameter? Using the info from the tutorial (?ID={0}) doesn't work. It passes the wrong column of data.

Replies

Replied 19 Jun 2013 21:20:40
19 Jun 2013 21:20:40 Teodor Kuduschiev replied:
Hello Michael.

The {0} Means this is the first column of the Datagrid, no matter if this column is visible or hidden.
Did you include your ID column in the Datagrid or is it only available in your database?
Please provide a link to your page.
Replied 21 Jun 2013 19:19:00
21 Jun 2013 19:19:00 Michael Bosquez replied:
Thanks for pointing out the obvious. Sorry I missed that. I added ID as a hidden column and am all set now. Thanks!

Reply to this topic