<telerik:RadAjaxPanel runat="server" ID="rapEntryPurchase" ClientEvents-OnRequestStart="onRequestStart" LoadingPanelID="RadAjaxLoadingPanel1" > //RadComboBox <telerik:RadAjaxPanel runat="server" ID="rapPurchase" ClientEvents-OnRequestStart="onRequestStart" LoadingPanelID="RadAjaxLoadingPanel1"> <asp:Panel ID="pnlPurchase" runat="server" Width="100%" ScrollBars="Horizontal" BackColor="Blue"> //RadGrid1 </asp:Panel> <telerik:RadAjaxPanel runat="server" ID="rapPurchaseLines" ClientEvents-OnRequestStart="onRequestStart" LoadingPanelID="RadAjaxLoadingPanel1"> <asp:Panel ID="pnlPurchaseLine" runat="server" Width="100%" ScrollBars="auto"> //RadGrid2 </asp:Panel> </telerik:RadAjaxPanel> </telerik:RadAjaxPanel><telerik:RadAjaxPanel><telerik:RadEditor ID="RadEditor1" runat="server" > <ContextMenus> <telerik:EditorContextMenu TagName="INPUT"> <telerik:EditorTool name="fieldModifica" Text="Modifica proprietà ..." /> </telerik:EditorContextMenu> <telerik:EditorContextMenu TagName="SELECT"> <telerik:EditorTool name="selectModifica" Text="Modifica proprietà ..." /> </telerik:EditorContextMenu> </ContextMenus> <Content> <select id="aSelect"><option value="first">first</option><option value="second">second</option></select><br /> <input type="text" id="anInputBox" value="an input box"></input> </Content></telerik:RadEditor><script type="text/javascript">//<![CDATA[function ModifyFieldProperty(commandName, editor, args, tagname, fieldtype) { var elem = editor.getSelectedElement(); //returns the selected element. alert("elem.tagName: " + elem.tagName + " - tagname: " + tagname);}Telerik.Web.UI.Editor.CommandList["fieldModifica"] = function(commandName, editor, args) { ModifyFieldProperty(commandName, editor, args, "INPUT", "text");};Telerik.Web.UI.Editor.CommandList["selectModifica"] = function(commandName, editor, args) { ModifyFieldProperty(commandName, editor, args, "SELECT", "");};//]]></script>
I’m new to the RadControls for VS2010 and have been having a problem trying to get the client-side methods to exist. I upgraded an existing project through the Upgrade Wizard. I placed four copies of the ComboBox on the ASP page utilizing AJAX. The first three ComboBoxes are setup for cascading functionality. The first is populated through an Object Data Source. The next two are populated server side and this is working. The forth control is set up to be populated client side based on the selection of the first controls. The object exists in the client side script. The methods in the documentation are undefined. What am I missing in order to use the client-side methods? I don't think I need the Telerik.QuickStart but I gave it a try.
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadScriptManager ID="RadScriptManager" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
.
.
.
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="810px">
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="700px" AutoPostBack="False" Enabled="False"
HighlightTemplatedItems="true" Skin="WebBlue" CausesValidation="False"
DataTextField="ConfigID" DataValueField="ConfigID"
EnableItemBindingExpressions="False">
<HeaderTemplate>
<table style="width: 100%; text-align: left;">
<tr>
<td style="width: 100px;">ConfigID</td>
<td style="width: 200px;">Title</td>
<td style="width: 300px;">Description</td>
<td style="width: 100px;">Date</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 100%; text-align: left;">
<tr>
<td style="width: 100px;">ConfigID</td>
<td style="width: 200px;">Title</td>
<td style="width: 300px;">Description</td>
<td style="width: 100px;">Date</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
</telerik:RadAjaxPanel>
Sys.WebForms.PageRequestManager._initialize(
'ctl00$ScriptManager', document.getElementById('aspnetForm'));
and Telerik is undefined error in the below code
Telerik.Web.UI.RadSplitter._preInitialize(
"ctl00_MainContent_ctl00_m_UIRecruitmentSplitter");
I have gone through the many of the related forum posts and I double check the configuration as well. I am using the Telerik 2009.3.1503.35 version and .Net framework 3.5 with Classic app pool but could not get this resolved.
Through the help of Fiddler I came to know the error encountering,
Let me know if I am missing something.
Here are list of posts I followed,
http://blogs.telerik.com/aspnetmvcteam/posts/08-07-18/web_resources_demystified_part_3_troubleshooting.aspx
http://www.telerik.com/help/aspnet-ajax/introduction-web-resources-troubleshooting.html
http://www.telerik.com/community/forums/aspnet-ajax/scriptmanager-and-stylesheetmanager/quot-sys-is-undefined-quot-when-i-am-using-script-manager-in-production-site-need-urgent-please.aspx