Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ImageButton in CellTemplate event doesn't fire always

Status
Not open for further replies.

beefeater267

Programmer
Apr 6, 2005
79
Hi,

I have a 3rd party grid that supports hierarchial views.

Here's the deal:
I have a grid w/ a hierarchial view. Both parent and child rows have imagebuttons in the row. Within the imagebutton declaration, i have a 'onclick=xxxx' event... (server public)

so, here's the problem:
when i goto any page > 1, and i want to click the CHILD imagebutton, the event does not fire on the FIRST click. It's strange b/c the PARENT imagebutton event always fires regardless. After a first attempt (failed) to view the CHILD imagebutton, all works fine.

Any reason why the 1st click does not respond?

I found this article:

which describes the problem exactly.

However, the solution doesn't sound like it'll work for me.
This happens when I goto the next page, so, i need to bind the grid on the page_index_changed event.

Can anyone help solve this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top