Using Automatic Posts Back to the Server
You can have C1NavPanel perform automatic posts back to the server each time a user interacts with the C1NavPanel control. To do this, set the C1NavPanel.AutoPostBack property.
To set the AutoPostBack property using the C1NavPanel Tasks menu:
1. Click the C1NavPanel smart tag to open the C1NavPanel Tasks menu.
2. Select Edit Panes. The Navigation Pane Designer Form appears.
3. Select C1NavPanel1 on the Edit tab.
4. Set the C1NavPanel.AutoPostBack property to True in the properties pane. If the properties are categorized, you will find it under the Behavior category.
To set the AutoPostBack property programmatically:
Add the following code to your form:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
C1NavPanel1.AutoPostBack = True
End Sub
• C#
protected void Page_Load(object sender, EventArgs e)
{
C1NavPanel1.AutoPostBack = "True";
}
|