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
- Drag ScriptManager and UpdatePanel controls to
the WebForm.
- Drag WebInput along with WebButton controls into
the UpdatePanel control.
- Right-click on WebButton control and choose Properties.
- Set AutoPostback to True and PostBackMode
to FullPostBack.
- Put the following code in WebButton's Clicked server-side event in order to display
text in WebInput.
protected void WebButton1_Clicked(object sender, ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs e)
{
WebInput1.Text = "Hello World";
}
|
- Run the project.