ComponentOne Splitter for ASP.NET AJAX: Top Tips

Top Tips

This section provides tips and tricks for using the C1Splitter control.

      Remember to always use the ScriptManager control.

      Use image sprites in your custom visual styles to increase performance and decrease load times.

      Use the SplitterDistance property to set the location of the splitter, in pixels, from the left or top edge of the splitter.

The following code sets the SplitterDistance property to 100:

Visual Basic

me.C1Splitter1.SplitterDistance = 100

C#

this.C1Splitter1.SplitterDistance = 100;

      You can set the FullSplit property to determine whether or not the C1Splitter control fills the entire Web page or Web application.

The following code sets the FullSplit property to True:

Visual Basic

Me.C1Splitter1.FullSplit = True

C#

this.C1Splitter1.FullSplit = True;

      this.C1Splitter1.FullSplit = true;Set visual styles on your Studio for ASP.NET AJAX control to add rich themes to your application. For task-based help, see Changing the Visual Style. For a list of visual styles, see Splitter Control Visual Styles.

      Update the client-side model properties and events when you don't need to perform server-side processing. The C1Splitter control can be coded on both the client side and server side.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.