krapatonik
New Member
Hi,<BR><BR> I'm specifying some headertemplates in my datagrid, but I'm including a hyperlink and would like it to sort just like the bound columns do. I've snooped in the final browser source for the bound columns to see that a __doPostback is added to each column. I tried to add these manually ... i.e.<BR><headertemplate><BR><a href="javascript:__doPostBack('OrderGrid:ctrl1:ctrl0','' )"<BR>style="color:#F7F7F7;"><BR> Product</a><BR></headertemplate><BR>inside my headertemplate section. The problem is I don't know what to put<BR>inside the _doPostBack method. The 'OrderGrid:ctrl1:ctr10' identifies one of the bound columns. What EXACTLY is that pointing to and how can I simulate it?<BR><BR>Thanks,<BR>Deanna<BR>