'Telerik.Web.UI.RadSplitBar' does not contain a definition for 'ClientId'

2 posts, 0 answers
  1. Chad
    Chad avatar
    3 posts
    Member since:
    Sep 2008

    Posted 20 Jan 2009 Link to this post

    I have a master page with three panes in it. One pane has a rad splitter bar. Randomly, the page that uses this master page stopped working, now I get the above error.
    The radsplit bar code is:
     <telerik:RadSplitBar ID="radSplitBar1" runat="server" EnableResize="true" CollapseMode="Both" BorderStyle="None" Visible="true" />

    Any idea why this would happen?

    This error happens in System.Web PostProcessFoundBuildResult and the error code is CS0117.

    Any hep would be appreciated.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 21 Jan 2009 Link to this post

    Hello Chad,

    Since I do not have your project and I am unable to examine and debug it I cannot tell what is teh exact reason for the problem. However, I assume that the problem comes from the fact that you have referenced the splitbar in code block by typing ClientId instead of ClientID - please note that the case matters and you should use the correct case when getting the ClientID property value. This being said, make sure that in all the code you have used teh correct spelling e.g  as shown below:

    var splitBar = $find("<%= RadSplitBar1.ClientID %>");

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top