This is kind of an odd problem. I have two environments. Both running SharePoint 2010. Same software and configuration on both. In dev my combobox works fine but once it's deployed to test the combobox acts like it is disabled. The combobox is in a radgrid and there is a javascript error when the row is expanded that the combobox is in. The error is "TypeError: h is not a constructor
https://site.com/ScriptResource.axd?d=W3VnxZIztGbCDKsquF9usLpO8arHyM1n_yidsMg0IaOQVKbSAKbUEBJDrGFGi4-QgmAjM7HywJgZHYjTu0Tn5eaeE4RtTKrP8BaZjX7dJkBEMXpkn7vpFGr21ix6C_gWer2-t6UM1llpQNJr7X0qxaAfP7A1&t=ffffffffb868b5f4
Line 5" Now this doesn't tell me much but I believe it is coming from the MicrosoftAjax.js that is included with the Telerik controls. We are currently on version 2012.1.301.35. Does anyone have any ideas on what could be causing this?
https://site.com/ScriptResource.axd?d=W3VnxZIztGbCDKsquF9usLpO8arHyM1n_yidsMg0IaOQVKbSAKbUEBJDrGFGi4-QgmAjM7HywJgZHYjTu0Tn5eaeE4RtTKrP8BaZjX7dJkBEMXpkn7vpFGr21ix6C_gWer2-t6UM1llpQNJr7X0qxaAfP7A1&t=ffffffffb868b5f4
Line 5" Now this doesn't tell me much but I believe it is coming from the MicrosoftAjax.js that is included with the Telerik controls. We are currently on version 2012.1.301.35. Does anyone have any ideas on what could be causing this?
3 Answers, 1 is accepted
0
Chris
Top achievements
Rank 1
answered on 07 Aug 2012, 03:08 PM
HTML output from both servers
Dev (Where the combobox does work):
Dev (Where the combobox does work):
<td class="DefaultStatusCell">
<div style="width:300px;" class="RadComboBox RadComboBox_Default" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus">
<table style="border-width: 0px; border-collapse: collapse;" summary="combobox" class="">
<tbody><tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="width:100%;"><input type="text" readonly="readonly" value="Please Select" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_Input" class="rcbInput rcbEmptyMessage" name="ctl00$m$g_246cda01_2d24_47d0_9709_e4401f295753$ctl00$TemplateGrid$ctl00$ctl06$ddlActivityTaskStatus" autocomplete="off"></td>
<td class="rcbArrowCell rcbArrowCellRight"><a style="overflow: hidden;display: block;position: relative;outline: none;" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_Arrow">select</a></td>
</tr>
</tbody></table>
<div style="z-index:6000;" class="rcbSlide"><div style="display:none;" class="RadComboBoxDropDown RadComboBoxDropDown_Default " id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_DropDown"><div style="width:100%;" class="rcbScroll rcbWidth"><ul style="list-style:none;margin:0;padding:0;zoom:1;" class="rcbList"><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Approved</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Completed</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Date</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Due</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Expiration</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Imported</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Initiated</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Provided</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Received</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Renewal Expiration</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Renewal/Updated/Revision</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Requested</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Sent</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Submitted</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Survey Date</li></ul></div></div></div><input type="hidden" name="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_ClientState" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_ClientState" autocomplete="off" value="{"logEntries":[],"value":"","text":"","enabled":true,"checkedIndices":[],"checkedItemsTextOverflows":false}">
</div>
</td>
<div style="width:300px;" class="RadComboBox RadComboBox_Default" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus">
<table style="border-width: 0px; border-collapse: collapse;" summary="combobox" class="">
<tbody><tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="width:100%;"><input type="text" readonly="readonly" value="Please Select" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_Input" class="rcbInput rcbEmptyMessage" name="ctl00$m$g_246cda01_2d24_47d0_9709_e4401f295753$ctl00$TemplateGrid$ctl00$ctl06$ddlActivityTaskStatus" autocomplete="off"></td>
<td class="rcbArrowCell rcbArrowCellRight"><a style="overflow: hidden;display: block;position: relative;outline: none;" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_Arrow">select</a></td>
</tr>
</tbody></table>
<div style="z-index:6000;" class="rcbSlide"><div style="display:none;" class="RadComboBoxDropDown RadComboBoxDropDown_Default " id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_DropDown"><div style="width:100%;" class="rcbScroll rcbWidth"><ul style="list-style:none;margin:0;padding:0;zoom:1;" class="rcbList"><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Approved</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Completed</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Date</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Due</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Expiration</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Imported</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Initiated</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Provided</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Received</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Renewal Expiration</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Renewal/Updated/Revision</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Requested</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Sent</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Submitted</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Survey Date</li></ul></div></div></div><input type="hidden" name="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_ClientState" id="ctl00_m_g_246cda01_2d24_47d0_9709_e4401f295753_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_ClientState" autocomplete="off" value="{"logEntries":[],"value":"","text":"","enabled":true,"checkedIndices":[],"checkedItemsTextOverflows":false}">
</div>
</td>
<td class="DefaultStatusCell">
<div style="width:300px;" class="RadComboBox RadComboBox_Default" id="ctl00_m_CreateNewTemplate_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus">
<table style="border-width:0;border-collapse:collapse;" summary="combobox">
<tbody><tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="width:100%;"><input type="text" readonly="readonly" value="Please Select" id="ctl00_m_CreateNewTemplate_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_Input" class="rcbInput rcbEmptyMessage" name="ctl00$m$CreateNewTemplate$ctl00$TemplateGrid$ctl00$ctl06$ddlActivityTaskStatus"></td>
<td class="rcbArrowCell rcbArrowCellRight"><a style="overflow: hidden;display: block;position: relative;outline: none;" id="ctl00_m_CreateNewTemplate_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_Arrow">select</a></td>
</tr>
</tbody></table>
<div style="z-index:6000;" class="rcbSlide"><div style="display:none;" class="RadComboBoxDropDown RadComboBoxDropDown_Default " id="ctl00_m_CreateNewTemplate_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_DropDown"><div style="width:100%;" class="rcbScroll rcbWidth"><ul style="list-style:none;margin:0;padding:0;zoom:1;" class="rcbList"><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Approved</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Completed</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Date</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Due</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Expiration</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Imported</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Initiated</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Provided</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Received</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Renewal Expiration</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Renewal/Updated/Revision</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Requested</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Sent</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Submitted</li><li class="rcbItem "><input type="checkbox" class="rcbCheckBox">Survey Date</li></ul></div></div></div><input type="hidden" name="ctl00_m_CreateNewTemplate_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_ClientState" id="ctl00_m_CreateNewTemplate_ctl00_TemplateGrid_ctl00_ctl06_ddlActivityTaskStatus_ClientState">
</div>
</td>
0
Chris
Top achievements
Rank 1
answered on 07 Aug 2012, 03:22 PM
Besides the ids it looks like it is generating the same html except the working one includes the below markup.
autocomplete="off" value="{"logEntries":[],"value":"","text":"","enabled":true,"checkedIndices":[],"checkedItemsTextOverflows":false}">
0
Hello,
The issue may be caused because the scripts of RadCombobox have not been loaded properly.
Please make sure that you have upgrade to the latest cumulative update of the SharePoint 2010 server - it came out at the end of October 2011.
The cumulative pack contained a fix for an issue where SharePoint 2010 was failing to load scripts on an Ajax request.
Perhaps, this is the case in your scenario as well.
Hope this will be helpful.
Kind regards,
Plamen
the Telerik team
The issue may be caused because the scripts of RadCombobox have not been loaded properly.
Please make sure that you have upgrade to the latest cumulative update of the SharePoint 2010 server - it came out at the end of October 2011.
The cumulative pack contained a fix for an issue where SharePoint 2010 was failing to load scripts on an Ajax request.
Perhaps, this is the case in your scenario as well.
Hope this will be helpful.
Kind regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.