WebInput can be integrated with WebFlyPostBackManager.
This topic will show you how to use WebInput with WebFlyPostBackManager.
To use WebInput with WebFlyPostBackManager
- Drag WebInput and WebFlyPostBackManager controls
to the WebForm.
- Right-click on WebFlyPostBackManager control and choose Properties.
- Set EnableUIMode to True. Notice that in
FlyPostBackSettings, PostInputControls and PostViewState
properties are automatically set to True.
- Set ServiceUrl to the page itself.
- Right-click on WebInput 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";
WebInput1.RequiresUIRefresh = true;
}
|
- Run the project.