top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

    Get Free Article Updates

Facebook Login
Site Registration

Updatepanel Triggers

+3 votes
61 views
Generally update panel avoids the post back of the page. But sometimes we may have requirement like for particular button click in the update panel, total page has to refresh. In this type scenario we can use triggers to refresh the total page. Untitled Page
Page Time: <%=DateTime.Now.ToString() %>
As shown above we have button control in the update panel. Without triggers, for each time we click the button, it displays the current time without page refresh. Whenever we register the PostBackTrigger for button btn1, for each button click page will refresh and displays the current time. There are two different types of triggers are there. Those are AsyncPostBackTrigger and PostBackTrigger.Asynchronous post back triggers are used to refresh the page asynchronously and Post back triggers are used to refresh the page normally.
posted Apr 26, 2016 by Shivaranjini

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...