views:

42

answers:

0

I am using ASP.NET 4.0 new AJAX template framework, I bind a dataview using data coming from a JSON formatted web service. I would like to call the onClientClick method of my LinkButton while passing the bound value, here is my code snippet:

 <asp:LinkButton onClientClick="GetCategoryDetails({{CategoryId}})" ID="lnkCategory"    runat="server" Text='{{ CategoryName }}'>       
 </asp:LinkButton>

I have also tried to use the command bubbeling of the dataview control but in vain.

Any ideas?

Kind regards,

Idriss