Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
349
Trigger button for WARP causes postback
posted

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.

David
Parents
  • 45049
    Verified Answer
    posted

    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.

Reply Children
No Data