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
30
WARP with multiple controls
posted

I am vey new to this WARP feature..

I have a button1 - calls funcA

I have a button2 - calls funcB

But both of them refresh the same grid

 I put the grid within the WARP...

protected void WebAsyncRefreshPanel1_ContentRefresh(object sender, EventArgs e)

{

   //Want to call funcA if the button1 is triggered

  //Want to call funcB is button2 is triggered

 

How can i tell which button has been triggered in this function?

//sender is a WARP..it does not tell us anything

}

 

 

any help would greatly be appreciated!