Javascript Error this.get_value().replace is not a function

3 posts, 0 answers
  1. SamVanity
    SamVanity avatar
    154 posts
    Member since:
    Apr 2006

    Posted 18 Mar 2011 Link to this post


    I am running into a weird issue with this XmlHttpPanel. It used to work (from a very old version, 2009.3.1208) until I updated it to the newest version just released.

    The problem happens when I want to use the $find('the panel').set_value() to initiate callback. It now works on some of my pages, but not all of them. See attached for the detailed error message.
  2. Pero
    Pero avatar
    1156 posts

    Posted 22 Mar 2011 Link to this post

    Hi Sam,

    Thank you for reporting this issue! The problem is, as you said in the other message, the user can't pass an integer value to the set_value method. We will make sure this is fixed for the next release.

    the Telerik team
  3. DevCraft R3 2016 release webinar banner
  4. Danko
    Danko avatar
    4 posts
    Member since:
    May 2008

    Posted 22 Mar 2011 Link to this post

    I just ran into the same problem and got around it by using escape:

    On the client:

    var panel = $find(panelid);

    In the handler:

    protected void PanelHandler(object sender, RadXmlHttpPanelEventArgs e)
        string value = this.Server.UrlDecode(e.Value);

    Good luck,

Back to Top