Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » Ajax » Controls » Downloads
 
Add your own
alternative version

An Easy Way to Implement ASP.NET Callback

, 3 Sep 2010
Implementing callback inside User Control, choosing between client callback and Ajax framework
CallBackHandler.zip
CallBackHandler
App_Data
CallbackHandler-TestProject
TestProject1
bin
Debug
TestProject1.dll
WebTest1.webtest
WebTest2.webtest
My Project
TestProject1.suo
WebTest1.webtest
WebTest2.webtest

Partial Class Default2
    Inherits System.Web.UI.Page

   
    Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click

        Dim sb As New StringBuilder
        sb.AppendFormat("the form was submitted at {0}", Now.ToShortTimeString())
        sb.Append("<br/>")
        sb.AppendFormat("param 1 vales : {0}", txtParam1.Text)
        sb.Append("<br/>")
        sb.AppendFormat("param 2 vales : {0}", txtParam2.Text)
        sb.Append("<br/>")
        sb.AppendFormat("param 3 vales : {0}", txtParam3.Text)

        divResult.InnerHtml = sb.ToString()

    End Sub

   
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Mohammad A Gharakhanlou
Software Developer asemantek.ir
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 3 Sep 2010
Article Copyright 2010 by Mohammad A Gharakhanlou
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid