On legacy application telerik controls disabled after used to replace asp controls

2 posts, 1 answers
  1. Steve Holdorf
    Steve Holdorf avatar
    119 posts
    Member since:
    Apr 2010

    Posted 08 Feb 2013 Link to this post

    I have a legacy asp application that I am converting into a telerik application. The .NET framework has been converted to 4.0. In visual studio I used the Telerik menu option to update the project to a Telerik project (i.e. update the web.config, etc.). On the first page being converted I replaced an asp combobox with a radcombobox then added hard coded radcomboboxlistitems to the combobox in the asp page. When I displaly the page the telerik radcombobox is disabled or appears to be. Next, I added a new page to the project and again added the same radcombobox control with items; however, in this page it worked. Has anyone seen this behavior before? One note, I checked the javascript on the page and nothing appears to be disabling any controls. This is a strange one?

    Thanks,


    Steve Holdorf
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 11 Feb 2013 Link to this post

    Hi Steve,

    I suppose the issue might be that you are accessing Telerik controls from Javascript via document.getElementbyId instead of that you need to access a control by $find.Check the following JS

    If not can you please share your whole markup so that I can have more of an idea about the issue
    <script type="text/javascript">
    function pageLoad()
    {
       var combo= $find("RadComboBox1");
    }
    </script>

    Thanks
    Princy
Back to Top