Something special?

3 posts, 0 answers
  1. Joe
    Joe avatar
    10 posts
    Member since:
    Jun 2011

    Posted 12 Sep 2011 Link to this post

    Is there something special I have to do in order to have a RadFormDecorator on my aspx page?

    I am having issues with a web app and the RadFormDecorator so I created a new blank asp.net C# web application.

    In both, my working app and the new blank app, any page that has a RadFormDecorator will give me a message on the browser status bar about a picture downloading from a webresource.

    On the new blank app, I went through the Configure Project wizard and did not enable ScriptManager CDN or StyleSheetManager CDN. Left the Telerik skin as Default and all other settings as default.

    No clue how to proceed.



  2. Joe
    Joe avatar
    10 posts
    Member since:
    Jun 2011

    Posted 12 Sep 2011 Link to this post

    <?xml version="1.0"?>
    <!--
      For more information on how to configure your ASP.NET application, please visit
      -->
    <configuration>
        <connectionStrings>
      <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
      <add name="PFATempConnectionString" connectionString="Data Source=MyDS;Initial Catalog=MyDB;Integrated Security=True" providerName="System.Data.SqlClient" />
     </connectionStrings>
        <system.web>
            <compilation debug="true" targetFramework="4.0">
                <assemblies>
                    <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                    <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                    <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /></assemblies></compilation>
            <authentication mode="Forms">
                <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
            </authentication>
            <membership>
                <providers>
                    <clear />
                    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
                </providers>
            </membership>
            <profile>
                <providers>
                    <clear />
                    <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
                </providers>
            </profile>
            <roleManager enabled="false">
                <providers>
                    <clear />
                    <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
                    <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
                </providers>
            </roleManager>
            <pages>
                <controls>
                    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /></controls></pages>
            <httpHandlers>
                <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
                <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
                <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
                <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /></httpHandlers>
            <httpModules>
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
                <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /></httpModules>
        </system.web>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true">
                <remove name="RadUploadModule" />
                <remove name="RadCompression" /><add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
                <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" /></modules>
            <validation validateIntegratedModeConfiguration="false" />
            <handlers>
                <remove name="ChartImage_axd" />
                <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
                <remove name="Telerik_Web_UI_DialogHandler_aspx" />
                <remove name="Telerik_RadUploadProgressHandler_ashx" />
                <remove name="Telerik_Web_UI_WebResource_axd" /><add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
                <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
                <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
                <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
                <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" /></handlers>
        </system.webServer>
        <appSettings>
        <add key="Telerik.Skin" value="Default" />
        <add key="Telerik.Web.UI.StyleSheetFolders" value="~/Styles"/>
            </appSettings>
    </configuration>

    My Web.config
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bozhidar
    Admin
    Bozhidar avatar
    677 posts

    Posted 15 Sep 2011 Link to this post

    Hello Joe,

    With the code provided we could not reproduce your issue. There is not something special to have on your page in order to run RadFromDecorator. The only thing is that it should not be placed in an update panel.

    Here is a simple page showing how RFD is running without any special settings:

    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All"
            Skin="Forest" />
        <asp:Button ID="rb1" runat="server" Text="Decorated Button" />
        </div>
        </form>
    </body>
    </html>

    If you still have some problems, send us a simple sample project where the problems is reproduced so we would be able to investigate it further.

    Best wishes,
    Bozhidar
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Back to Top