I have downloaded the Splitter Panel Ajaxian ASP.NET WebControl on CodePlex. This is exactly what i need to implement in the project.
The problem is there is no good documentation available and I am not able to access the controls inside the LeftPane
and RightPane
tags.
Can you recommend any sample code or articles or other document开发者_如何学编程ation available to access controls that are placed in the left and the right panes?
Try this with the latest release:
Label label1 = (Label)SplitterPanel1.FindControl("label1");
Or, for the right pane, do this:
Label label1 = (Label)SplitterPanel1.RightOwner.FindControl("label1");
For left pane you can do this:
Label label1 = (Label)SplitterPanel1.LeftOwner.FindControl("label1");
精彩评论