RadAjaxPanel and urlrewriter

Thread is closed for posting
2 posts, 0 answers
  1. Евгений
    Евгений avatar
    1 posts
    Member since:
    Jan 2010

    Posted 12 Jan 2010 Link to this post

    Hi to all !

    I  have RadAjaxPanel and urlrewriter (IsapiRewrite4) in my application.
    As you see i use javascript functions for ClientEvents.
    I have a simple asp:LinkButton on my page.
    My first problem was that i could not postback to this page  when i turned on urlrewriter. I solved it by direct setting
    PostBackUrl property for linkbutton. Now it os ok

    But ajax functions do not called anymore with rewriter. Please help me, what should i do to force it work?

    Thanks a lot


    RA:RadAjaxPanel OnAjaxRequestError="AjaxRequestErrorHandler" id="main" runat="server" ClientEvents-OnRequestStart="ShowWait(); ..." ClientEvents-OnResponseEnd="EndWait(); ...">


  2. Veli
    Veli avatar
    2002 posts

    Posted 15 Jan 2010 Link to this post

    Hello Eugene,

    Generally, RadAjax problems originate from the URL rewriter also rewriting HTTP handlers needed to serve web resources. The most common result of erroneous URL rewrite of resource handlers is client exceptions like "Sys is not defined" or "Telerik is not defined" and the reason being that the AJAX framework and Telerik client scripts not being served. Additionally, as stylesheets and images are served also through resource handlers, if you load a control after AJAX for the  first time, your control will not have any styles and images applied.

    To fix  this issue, you need to make sure your URL rewriter excludes URLs to HTTP handlers from rewriting. For example, URLs to WebResource.axd and ScriptResource.axd need to be excluded.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top