Has Telerik gone downhill? Errors and errors first time use.

1 Answer 32 Views
General Discussions Installer and VS Extensions
William
Top achievements
Rank 1
William asked on 13 Sep 2023, 01:55 PM
I've used Telerik for 15 years, or when it came out. I've stepped away from development as I moved up in ranks. Today, I'm going to develop an application. I purchased the software, installed it and opened Visual Studio. After opening Visual Studio, I selected "Telerik Web Forms Application" and clicked next. I selected a blank project from the Progress create new project screen. The app did it's thing and i was presented with a project with a Default.aspx. I tried to run it and it is nothing but errors, ( Unknown server tag 'telerik:RadStyleSheetManager'.)  (telerik, unknown tag prefix and so on) This has never happened in the past and I'm following Teleriks own project start. SMH. So much for quickly knocking out an application. Now I have to spend time trying to Unscrew Telerik's poor quality deployment and installation. SMH! So frustrating and annoying. 
So, what hoops do I need to jump through to get this working that was not done when I used Telerik to build this project?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 14 Sep 2023, 09:43 AM

Hi William,

We apologize for the inconvenience caused by this bug. Rest assured, this issue is on our radar and slated for a high-priority fix.

If you initiate a blank or responsive Telerik C# Web Forms application, you might observe that the freshly created project lacks a web.config file. This absence is the reason why Telerik controls aren't recognized by Visual Studio. Specifically, the declaration for Telerik controls is missing:

  <system.web>
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
      </controls>
    </pages>
...

 

We are aware of this challenge, and steps to escalate its resolution are already underway.

In the interim, you can manually incorporate the web.config with the following content:

<?xml version="1.0"?>
<configuration>
  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="2147483647"/>
      </webServices>
    </scripting>
  </system.web.extensions>
  <system.web>
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
      </controls>
    </pages>
    <compilation debug="true" targetFramework="4.8.1">
      <assemblies/>
    </compilation>
    <httpRuntime targetFramework="4.8.1"/>
    <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>
  </system.web>
  <appSettings>
    <add key="Telerik.Skin" value="Silk"/>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/>
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/>
    <add key="Telerik.Web.UI.RenderMode" value="lightweight"/>
  </appSettings>
  <system.webServer>
    <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>
</configuration>

 

Tags
General Discussions Installer and VS Extensions
Asked by
William
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or