pbm to find control ref in datagrid template
Currently I m using vs 2003 and developing asp.net with c# application
I created a template column in datagrid & placed imagebutton in header template. Default it was assigned to a imageurl, dynamically when we click on that i m assigning another .gif imageurl.
when i clicked the edit button of the datagrid, the datagrid is expanding and the imagebutton is setting to its default .gif image.
I stored the reference of the control and printed no change in the url but displaying the default imageurl.Finding the reference of imagebutton using FindControl() also failed.
plz provide the solution for my problem..