What is the use of trigger in update panel in ajax [Resolved]

Posted by Jitendrasoft09 under ASP.NET on 6/26/2013 | Points: 10 | Views : 1164 | Status : [Member] [MVP] | Replies : 3
Hi All,
I want to understand What is the use of trigger in update panel in ajax, let me know if anybody knows.

Jitendra Kumar
If my post helps you, plz mark as an answer.



Responses

Posted by: Justshekhar123 on: 6/26/2013 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi Jitendra,

In our Web page, we can use the update panel basically to do postback without refreshing the entire page(ie.it refresh the content which is specified withing the update paenl).

Sometimes in a situation, If you want to refresh the content which is specified in the Update panel when user can clicks the button,In that situation you can do this using Triggers.

Example:

<asp:UpdatePanel>
<ContentTemplate>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Button1"
EventName="Click" />
</Triggers>
<asp:UpdatePanel>

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 6/27/2013 [Member] Starter | Points: 25

Up
0
Down
http://www.aspnetcodes.com/2013/06/trigger-in-sql-server.html

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jitendrasoft09 on: 6/27/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Thanks Chourasia..., nice explanation Shekhar....

Jitendra Kumar
If my post helps you, plz mark as an answer.

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response