This is a migrated thread and some comments may be shown as answers.

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

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve Holdorf
Top achievements
Rank 1
Steve Holdorf asked on 08 Feb 2013, 08:18 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 11 Feb 2013, 08:38 AM
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
Tags
General Discussions
Asked by
Steve Holdorf
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or