uncaught exception: Syntax error, unrecognized expression: # Line 0

2 posts, 0 answers
  1. Chris
    Chris avatar
    40 posts
    Member since:
    Feb 2009

    Posted 26 Oct 2010 Link to this post

    I'm using 2010.9.929. I get this in all the browsers. Here's the url:

    /Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a315e40c1-4559-4b59-ba08-9c63c3f1ef4d%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a183fb741-216d-4765-9b46-4a1f5d38fdd7%3a16e4e7cd%3af7645509%3a22a6274a%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3a874f8ea2%3a19620875%3a490a9d4e%3abd8f85e4%3aed16cbdc%3aaa288e2d%3a58366029%3bAjaxControlToolkit%2c+Version%3d4.1.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a315e40c1-4559-4b59-ba08-9c63c3f1ef4d%3a923aa3cc%3a853c2e0b%3a46f97eb1%3a782b16ab%3ade0c8b05

    Here's the ASPX code.

    <%@ Page Title="" Language="C#" MasterPageFile="~/Includes/MasterPages/PortalMasterPage.master"
        AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_ManageConfirmations_Default"
        Culture="auto" UICulture="auto" %>
     
    <asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="PageTitle" runat="Server">
        <asp:Localize runat="server" meta:resourcekey="PageTitle">Pending Confirmations</asp:Localize>
    </asp:Content>
    <asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
        <telerik:RadAjaxManager ID="ramAjaxManager" runat="server" DefaultLoadingPanelID="loadingPanel">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ddlServiceProvider">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ddlOrganization" />
                        <telerik:AjaxUpdatedControl ControlID="rapUserGrid" />
                        <telerik:AjaxUpdatedControl ControlID="rgPendingTokenConfirmations" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="ddlOrganization">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgPendingConfirmations" />
                        <telerik:AjaxUpdatedControl ControlID="rgPendingTokenConfirmations" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgPendingConfirmations">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgPendingConfirmations" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgPendingTokenConfirmations">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgPendingTokenConfirmations" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <asp:Localize runat="server" meta:resourcekey="IntroInstructions">This section allows you to confirm pending <b>customer administrators.</b></asp:Localize>
        <br />
        <br />
        <table>
            <tr>
                <td>
                    <asp:Localize runat="server" Text='<%$ Resources:VirtualOfficeResources, ServiceProviderLabel %>'>Service Provider:</asp:Localize>
                </td>
                <td>
                    <telerik:RadComboBox ID="ddlServiceProvider" runat="server" AppendDataBoundItems="true"
                        DataTextField="Name" DataValueField="OrganizationID" AutoPostBack="true" OnSelectedIndexChanged="OnSelectedServiceProviderChanged">
                        <Items>
                            <telerik:RadComboBoxItem Value="-1" Text="<%$ Resources:VirtualOfficeResources, ServiceProviderDropDownPlaceholder %>" />
                        </Items>
                    </telerik:RadComboBox>
                </td>
                <td style="padding-left: 1em;">
                    <asp:Localize runat="server" Text='<%$ Resources:VirtualOfficeResources, OrganizationLabel %>'>Organization:</asp:Localize>
                </td>
                <td>
                    <telerik:RadComboBox ID="ddlOrganization" runat="server" AppendDataBoundItems="True"
                        DataTextField="Name" DataValueField="OrganizationID" AutoPostBack="true" OnSelectedIndexChanged="OnSelectedOrganizationChanged">
                        <Items>
                            <telerik:RadComboBoxItem Value="-1" Text="<%$ Resources:VirtualOfficeResources, OrganizationDropDownPlaceholder %>" />
                        </Items>
                    </telerik:RadComboBox>
                </td>
            </tr>
        </table>
        <br />
        <telerik:RadGrid ID="rgPendingConfirmations" runat="server" EnableEmbeddedSkins="False"
            Skin="SparxentBlack" GridLines="None" AutoGenerateColumns="False" AllowSorting="True"
            OnNeedDataSource="OnNeedPendingConfirmations" OnUpdateCommand="OnConfirmUser">
            <MasterTableView DataKeyNames="EmailAddress" meta:resourcekey="GridMasterTableView">
                <Columns>
                    <telerik:GridTemplateColumn ItemStyle-Width="1em" UniqueName="UpdateColumn">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ImageUrl="~/Skins/SparxentBlack/Grid/Update.gif"
                                CommandName="Update" AlternateText="Confirm" ToolTip="Confirm" meta:resourcekey="PendingConfirmConfirmBtn" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn DataField="EmailAddress" HeaderText="Email Address" SortExpression="EmailAddress"
                        meta:resourcekey="PendingConfirmEmailColumn">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" SortExpression="FirstName"
                        meta:resourcekey="PendingConfirmFirstNameColumn">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" SortExpression="LastName"
                        meta:resourcekey="PendingConfirmLastNameColumn">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
        <br />
        <asp:Localize runat="server" meta:resourcekey="PendingTokenInstructions">
            The following are pending token confirms that have been sent out but have not been
            acted upon (e.g no user has been created yet).
        </asp:Localize>
        <br />
        <br />
        <telerik:RadGrid ID="rgPendingTokenConfirmations" runat="server" EnableEmbeddedSkins="false"
            Skin="SparxentBlack" GridLines="None" AutoGenerateColumns="false" AllowSorting="true"
            OnNeedDataSource="OnNeedPendingTokenConfirmations">
            <MasterTableView CommandItemDisplay="Top" meta:resourcekey="GridMasterTableView">
                <Columns>
                    <telerik:GridBoundColumn DataField="UserEmailAddress" HeaderText="Email Address"
                        SortExpression="UserEmailAddress" meta:resourcekey="PendingTokenEmailColumn">
                    </telerik:GridBoundColumn>
                </Columns>
                <CommandItemTemplate>
                    <div class="gridCommandItemDiv">
                        <asp:LinkButton ID="btnResendTokens" runat="server" CssClass="gridCommandItem" OnClick="OnResendTokens"
                            Text="<%$ Resources:VirtualOfficeResources, ResendPendingTokensLabel %>"></asp:LinkButton>
                    </div>
                </CommandItemTemplate>
            </MasterTableView>
        </telerik:RadGrid>
        <telerik:RadAjaxLoadingPanel ID="loadingPanel" runat="server" Transparency="0" IsSticky="true">
            <asp:Panel ID="innerLoadingPanel" runat="server" CssClass="innerLoadingPanel">
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/Skins/SparxentBlack/Common/loading.gif" />
                        </td>
                        <td style="color: White; padding-left: 1em; font-size: larger">
                            <asp:Localize runat="server" Text="<%$ Resources:VirtualOfficeResources, LoadingLabel %>"></asp:Localize>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <ajax:AlwaysVisibleControlExtender runat="server" HorizontalSide="Center" VerticalSide="Middle"
                VerticalOffset="150" HorizontalOffset="100" TargetControlID="innerLoadingPanel">
            </ajax:AlwaysVisibleControlExtender>
        </telerik:RadAjaxLoadingPanel>
    </asp:Content>

    So the basic workflow is that we select a service provider in the first radcombobox, which then updates the list of organizations in the second radcombobox. What's happening is that we select the service provider, the loading panel appears, and the exception is thrown. Any ideas?
  2. Chris
    Chris avatar
    40 posts
    Member since:
    Feb 2009

    Posted 26 Oct 2010 Link to this post

    I found the problem. I was referencing a control that doesn't exist in the ajaxmanager.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top