Intersoft Support Center

Use WebInput with ASP.NET AJAX

WebInput can be integrated with ASP.NET AJAX control.

This topic will show you how to use WebInput with ASP.NET AJAX.

To use WebInput with ASP.NET AJAX

  1. Drag ScriptManager and UpdatePanel controls to the WebForm.
  2. Drag WebInput along with WebButton controls into the UpdatePanel control.
  3. Right-click on WebButton control and choose Properties.
  4. Set AutoPostback to True and PostBackMode to FullPostBack.
  5. Put the following code in WebButton's Clicked server-side event in order to display text in WebInput.
    C# Copy Code
    protected void WebButton1_Clicked(object sender, ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs e)
    {
       WebInput1.Text = "Hello World";
    }
    

  6. Run the project.
Previous Next