Problem With RadAjaxManager, using Third Party Control

2 posts, 0 answers
  1. Mehul Dumasia
    Mehul Dumasia avatar
    3 posts
    Member since:
    Mar 2010

    Posted 25 Jun 2010 Link to this post


            <asp:TextBox ID="WinnigEmailTextBox" runat="server" Text='<%# Bind("TextForWinningEmail") %>'  TextMode="MultiLine"
                                          CssClass="form500" Rows="15" MaxLength="20"></asp:TextBox>
                         <br />
      <skm:TextBoxCounter ID="TextBoxCounter1" runat="server" MaxCharacterLength="1500" TextBoxControlId="WinnigEmailTextBox" WarningPercentage="95" />

     I Have use above skm control with RadAjaxManager, but it is create Java script error, when writing in to the TextBox.
     

    please give me Solution as soon as possible
     
  2. Tsvetina
    Admin
    Tsvetina avatar
    2481 posts

    Posted 30 Jun 2010 Link to this post

    Hi Mehul,

    Technical difficulties may occur when updating 3rd party controls which use JavaScript code on client-side outside of the updating area. As controls are not aware that they are being updated by AJAX (rather than a postback), they cannot restore their client-side functionality as the HTML element is being replaced by a new object. The control, which is to be updated via AJAX request has to be pre-modified to work with XmlHttpRequests. This should be done by its vendor, therefore please contact the control's vendor for further help on the issue.

    One thing you can try is to register the controls scripts manually, by adding script reference through the ScriptManager for instance.

    Another cause of the problem could be if the control does not render in a single tag.  You can check this by viewing the page's source. If this is so, you should nest it in an ASP Panel or a DIV tag.

    Sincerely yours,
    Tsvetina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top