I'm trying to use the animation extension from ajax to populate with data from a selected row in my gridview. Using the code below which I found on the web, it works fine when I select a control that is not part of the gridview. i.e
If I create a column with a button in my gridview and choose the targetcontrolID to be the button, the animation extension does not recognise the control.
Ideally I wouldn't even like to have a button, i would like to select anywhere on the row and then populate the animation with any cell in that row.
I believe that the problem you are having is that the extender needs to find the control, and it can't because the GridView is a naming container, and adds additional parts to the control ID. Look at the render page, and see how the unique ID is generated for each row in the GridView.
Michael Roodt
ASKER
Thanks,
Are you able to provide me an example of how to do this please.
Thanks
Bob Learned
I can't quite see how the GridView is configured, and what your page hierarchy looks like (master page, panels, etc). Can you show me how the GridView is configured in HTML, please?
Sorry for the late reply, I added an example below, there is one gridview with a few rows that is populated from the code behind. There is also a button on the webpage. Currently when you select the button, the animation extender works, I would like to select the row on the gridview and it do the same thing. That's what I'm struggling with.