Telerik blogs

Latest

  • Web

    Web Resources demystified: Part 2

    “Why is my page sprinkled with links to webresource.axd?” By default RadControls (both “Classic” and “Prometheus”) utilize Web Resources to embed external files. By external files I mean the following: JavaScript files – they contain the code implementing the client-side features of the controls CSS files –they define the visual appearance of the controls Images –various GIF, JPG or PNG files used by the CSS files RadControls "Classic" embed all JavaScript files and the default skin (thoughtfully named "Default"). If you use any other skin or create your own it will be served from the location specified via the SkinsPath property ("~/RadControls/<ControlName>/Skins" by default). Reducing the number...
    May 27, 2021 2 min read
  • Web

    Web Resources demystified: Part 1

    Every now and then I see people asking one of the following questions: “What is a web resource?” “Why is my page sprinkled with links to webresource.axd?” “Why are my JavaScript and CSS files not cached?!” “Why do all requests to webresource.axd fail with 404 or 500?” I will try to answer them in a series of blog posts. I will also give some details what web resources are, how they work and what are they good for. Web Resources 101 Web Resources are files which are embedded in an assembly. The WebResource.axd HTTP handler loads them and serves them to the browser. Web Resources were introduced in ASP.NET 2.0....
    May 27, 2021 3 min read
  • Web ASP.NET AJAX

    Squeezing the last millisecond from the page load time

    Hi, my name is Erjan Gavalji. I am a developer in the ASP.NET division at Telerik. I am new to blogging, but I hope the topics I present will be of a real use. RadControls for ASP.NET provide rich client-side functionality and nice look trough a number of external files - JavaScript code and CSS definitions. Those resources are registered through <script> or <link> tags and are downloaded by the browser. Part of the client-side code in RadControls “Prometheus” is shared between all controls. It is contained in a different file to prevent downloading it multiple times when several controls coexist in a...
    May 27, 2021 3 min read
  • Web ASP.NET AJAX

    Standard Compliant RadInput With No Tables

    By popular demand, some Telerik web controls such as RadInput behave like inline-block elements, i.e. they do not force new lines on the page and at the same time, they obey width, height and other block-level-specific CSS properties. In addition, RadInput supports a scenario in which several HTML elements (Label, TextBox and a Button) occupy a preset amount of space, without calculating and changing these elements' widths with Javascript on the client. Unfortunately, all these requirements cannot be met with the current browser CSS support and CSS specification. That's why some of the features and functionalities are implemented at the cost of compromising web standards - we use some...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    Licensing for RadControls "Prometheus" for ASP.NET

    It seems that despite our best efforts to educate customers, we haven't done a great job at letting everyone know that: When you buy a RadControls for ASP.NET license, with subscription or not, you get a matching license for "Prometheus" controls and you can download the developer build of the controls from your Client.net account. It is up to you to decide whether you want to use the classic controls or the "Prometheus" ones. Everyone who buys an ASP.NET Subscription or a subscription license for the all-inclusive SKU (which includes all UI components for web and desktop development plus Telerik Reporting) gets "Prometheus" as a...
    May 27, 2021 1 min read