This is a migrated thread and some comments may be shown as answers.

Problem With RadAjaxManager, using Third Party Control

1 Answer 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mehul Dumasia
Top achievements
Rank 1
Mehul Dumasia asked on 25 Jun 2010, 02:34 PM

        <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
 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 30 Jun 2010, 05:29 PM
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
Tags
General Discussions
Asked by
Mehul Dumasia
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or