The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Custom format column in datagrid
Posted: 16 Dec 09 8:05 AM
|
Hi all,
I have a datagrid in a quickform.I want to create a custom format column and it should have a link and on clicking that link i need to execute the code where i have to get the row binding id.
Thanks, Pandi |
|
|
|
Re: Custom format column in datagrid
Posted: 16 Dec 09 8:27 AM
|
Do you want to execute Client Side code or Server side code? The concept is similar, but here is one example using Client Side Javascript:
//showDetails is a Javascript function defined somewhere else on the file.
For server side code you could use a LinkButton instead, and probably set the Command Argument to pass the ID, although you might as well be able to extract it from the DataKeys (if you are setting DataKeys) if you have access to the row Index. |
|
|
|
Re: Custom format column in datagrid
Posted: 16 Dec 09 8:38 AM
|
hi RAUL,
Thanks for your quick reply.In the datagrid column i am able to see only link column and i don't find any link button.
Can you please explain me in detail how to do the above mentioned using datagrid in quickform (Not the customized ascx ).
Thanks |
|
|
|
Re: Custom format column in datagrid
Posted: 16 Dec 09 9:53 AM
|
I am not sure if this can be done within a QuickForm. The example I provided refers to using a Custom Form (which you can do by extracting your quick form and adding code to it). |
|
|
|