Hi,
I would like to do an asynch callback using a trigger button to populate a gridview with various data. Even though the triggercontrolID is set to a button a postback still occurs (IE 7) when I am expecting a smart callback instead. Once data is in the grid, the paging and other row commands do occur in a callback fashion so no problems there. Incidentally when I list the trigger control ids that are available in the WARP properties my desired button is still not there....is this a clue??
The button and grid are on the same tab in an UltraWebTab control. Also I have tried adding the webtab reference eg WebTabName$ctl04$controlID but this again resulted in a postback.
Any thoughts/help would be greatly appreciated.
Thanks Vince for the suggestion. I was not setting the triggerControlID at runtime, as you suggested, with the clientID. That is now working.
David
How are you connecting the button to the TriggerControlID property of the WARP? Are you passing the button's ClientID property?
If you're adding refresh target controls to WARP in code, I suggest using the AddRefreshTarget() method instead, using the overload that takes a Control.