Unplanned
Last Updated: 20 Dec 2021 14:33 by ADMIN
Created by: AP
Comments: 0
Category: Ajax
Type: Feature Request
1
Add support for templates in RadAjaxManager.Alert like in RadAlert.
Unplanned
Last Updated: 05 Apr 2021 15:23 by Jason

Attached is a reproduction project page with a <script> containing a workaround.

Reproduction steps:

1) Run the page

2) Hover quickly between the two colored squares (do this up to 15-20 seconds)

3) Observe the error in the browser's console:

Uncaught RangeError: Maximum call stack size exceeded
    at Function.Array.addRange 
    at Telerik.Web.UI.RadAjaxManager._executePendingRequest 
    at Object._endRequest 
    at Array.<anonymous> 
    at Sys.WebForms.PageRequestManager._endPostBack 
    at Sys.WebForms.PageRequestManager._scriptsLoadComplete 
    at Sys.WebForms.PageRequestManager.<anonymous>   
    at Sys._ScriptLoader._loadScriptsInternal 

 

Workaround: Place/load this script somewhere after the ScriptManager of the page

<script>
    Telerik.Web.UI.RadAjaxControl.prototype._executePendingRequest = function () {
        var pendingRequest = Array.dequeue(this._requestQueue);

        var eventTarget = pendingRequest[0];
        var eventArgument = pendingRequest[1];

        if (this._requestQueue.length > 0 && this.__id != "") {
            var currentAjaxControl = $find(this.__id);
            if (currentAjaxControl) {
                Array.addRange(currentAjaxControl._requestQueue, this._requestQueue);
                // optional, uncomment if issue persists
                //if (currentAjaxControl._requestQueue.length > currentAjaxControl._requestQueueSize) {
                //    // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice#parameters 
                //    // using negative index for start to get the last N elements
                //    currentAjaxControl._requestQueue =
                //        currentAjaxControl._requestQueue.slice(-currentAjaxControl._requestQueueSize)
                //}
            }
        }

        var requestManager = Sys.WebForms.PageRequestManager.getInstance();
        requestManager._doPostBack(eventTarget, eventArgument);
    }
</script>

Declined
Last Updated: 12 Apr 2019 16:50 by ADMIN
Created by: Wei Dong
Comments: 1
Category: Ajax
Type: Feature Request
0
Hi guy,

      I want use alert function in radajaxmanager,  After i  set  radajaxmanager.alert, if c'ode is running it ,page will pop-up a window. but this window is middle positon in page.
how can i  solve this question.thanks.


David
Unplanned
Last Updated: 13 Aug 2015 15:31 by Andre Light
Based on feedback received from our customer, we can further improve our TypeScript definitions - the main concern is that there are still missing methods and incorrect signatures.

Won't Fix
Last Updated: 20 Jul 2015 14:14 by ADMIN
The RadTextBox are placed inside a asp gridview. When an item from the combo box in the page is selected. The server side logic hide one of the columns of the gridview using such approach:

grdExamples.Columns[2].Visible = false;

This, however, keeps the controls inside the vary same GridView. So during Ajax their ScriptDescriptrs got registered in the ScriptManager. When the result $create execute client side, the JS error is thrown.

It can not be fixed in general, because we can not cover scenarios where the control is:

1. Visible

2. In the control collection. (have .Page!=null)

3. All it's parents are visible.

4. Does not render, because it's parent control ( the gridview) decides not to render some of it's childs.

When all of 1,2,3,4 are true, the control will describe, but not visible in the output HTML resulting in error.

It will happen in all controls (not only RadTextBox), when you are using the RadAjaxManager. Since the manager registers the ScriptDescriptors manually per control, before the Render of the page, therefore it can't know if the control is "Really Visible". This is limitation of the manager, that can not be changed without breaking fundamentals of how it works.
Completed
Last Updated: 13 Jul 2015 09:43 by ADMIN
ADMIN
Created by: Angel Petrov
Comments: 0
Category: Ajax
Type: Feature Request
1

			
Declined
Last Updated: 09 Jun 2015 08:37 by ADMIN
At present, you must provide the client-side ID of the element from which you want to remove the loading panel, which you cannot have when the loading panel is a DefaultLoadingPanel, for example, or when there has been an error and you simply want to hide all loading panels so the end user can continue working with the page.

Calling hide() without arguments should hide all instances of the loading panel, regardless of the elements over which they are shown.
Declined
Last Updated: 01 Jun 2015 10:47 by ADMIN
Declined
Last Updated: 02 Sep 2014 13:34 by ADMIN
Sir i am using this rad ck editor in my project and i am trying to save that image in one folder with changes and also store that image path with client id in backed .And when client login then he/She will get that image as he drawed it last time.
So will you please send me this task as soon as possible

Declined
Last Updated: 26 Jun 2014 15:29 by ADMIN
Declined
Last Updated: 01 Nov 2013 13:06 by ADMIN
Created by: Carlos
Comments: 1
Category: Ajax
Type: Feature Request
0
Running for the firts time, the calendar displays correctly the things i want to; but if I navigate to another monts in the calendar, the event is is not fired, so the render of the things I want seems not to work.

This si the code:

Protected Sub RadCalendar1_DayRender(ByVal sender As Object, _
ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) _
Handles RadCalendar1.DayRender
    Dim CurrentDate As DateTime = e.Day.[Date]
    If CurrentDate.Month <> RadCalendar1.FocusedDate.Month Then
        e.Cell.Text = "(" + CurrentDate.Day + ")"
    ElseIf e.Day.IsToday Then
        e.Cell.Style("background-color") = "Red"
    End If
End Sub

Thanks