.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Using ASP .NET Ajax UpdateProgress Control

Posted By:Rajshree       Posted Date: October 28, 2010    Points: 15    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

Using Multiple UpdateProgress Control with AssociatedControlId in ASP .net Ajax

Source Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="mPbar.aspx.vb" Inherits="mPbar" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

    Untitled Page



                                 OnClick="Button1_Click" />



                                 OnClick="Button2_Click" />              



               Updating ...



               Updating ...




VB Code:

Partial Class mPbar
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Label1.Text = DateTime.Now.ToString("hh:mm:ss tt")

    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        Label2.Text = DateTime.Now.ToString("hh:mm:ss tt")
    End Sub
End Class



Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend