I wrote a Telerik Ajax based app that has been in use for years. Among other things it has a RadGrid that displays links to files stored in a SQL db. If a user wants to download a file, they simply click on the link and it downloads. (The files are stored in SQL Server db fields.) The c# code itself is fairly vanilla, something I cook-booked off the web. The data is fed into a byte array (bytes) and then passed to this final section. (I've traced and verified that the data is coming from the db as usual.) As I said, it's been in use for years without problems.
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.ContentType = sAttachType;
sAttachName = sAttachName.Replace(" ", "%20");
HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment; filename=\"" + sAttachName + "\"");
HttpContext.Current.Response.BinaryWrite(bytes);
HttpContext.Current.Response.Flush();
HttpContext.Current.Response.End();
Now that I've upgraded to the latest Telerik controls and moved development to VS2015 in a Windows 8 virtual machine, this has started.
Telerik.Web.UI.WebResource.axd:9 Uncaught Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'PK!���V�'.
at Function.f.create (Telerik.Web.UI.WebResource.axd:3)
at Sys.WebForms.PageRequestManager._createPageRequestManagerParserError (Telerik.Web.UI.WebResource.axd:9)
at Sys.WebForms.PageRequestManager._parseDelta (Telerik.Web.UI.WebResource.axd:9)
at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (Telerik.Web.UI.WebResource.axd:9)
at Array.<anonymous> (Telerik.Web.UI.WebResource.axd:3)
at Telerik.Web.UI.WebResource.axd:3
at i (Telerik.Web.UI.WebResource.axd:3)
at t.Net.WebRequest.completed (Telerik.Web.UI.WebResource.axd:3)
at XMLHttpRequest._onReadyStateChange (Telerik.Web.UI.WebResource.axd:3)
I can see there are numerous references to this problem online but nothing I've seen so far seems relevant. (I've upped my maxRequestLength to 5 meg. There is no Asp.Net update panel in my system. Etc.. )
My copy of the Telerik controls is most definitely licensed (another reference I've seen), but feel free to remind me how to double-check that.
Suggestions?
Hi,
I have a grid control on a page. Upon the first time it is loaded, it displays fine, with all the formatting, pagination controls, etc.
When clicking on any control, such as the next page control; the page refreshes with the original data(not the next page), but all the formatting is stripped off. (See attached images for correct and incorrect footer controls) This unformatted behavior continues across browsers and client machines until the app pool is refreshed on IIS. Then, the page will display properly the first time only that it is requested from the server.
I have noticed in looking at the view source for the web-pages displayed that on the original load, the <link href to the telerik.web.ui.webresources.axd is included. Any subsequent loads of the same page do not contain that link; despite the browser or computer used... until the IIS app pool is reset.
Anyone have any ideas??
Thanks!
Windows Server 2012 R2
IIS ver 8.5.9600.16384
Telerik DLL ver 2016.2.607.40
I am working on some tests using Selenium for UI testing and am having difficulty trying to determine how best to interact with RadWindows that are opened.
One scenario is that I show a radalert dialog or a radconfirm dialog frequently when the user cancels on a page. How do I use javascript to simulate the user clicking a Close button in the radalert/radconfirm dialog? The window has no "name" that I can find since I don't define it directly.
Second scenario is when I open a radwindow that contains a form. Again how can I use javascript to access all the controls in the modal dialog that I open, put text in textboxes and so forth and so on and click buttons etc.
I cannot find any examples where anyone has used Selenium with the radwindow (or any of the controls).

Hello!
We are using RadAsyncUpload in a couple of places in our system. We've set the TemporaryFileExpiration property for each control, for some of them it is set on 20 minutes, for others it is set on 4 hours. However our RadAsyncUpload temporary folder doesn't get automatically cleaned up no matter of the TemporaryFileExpiration setting. We are using version 2017.2.503.35 of Telerik.Web.UI.dll. Any help with this will be much appreciated!
Regards,
T. Toncheva
There looks to be an article about how to see Anchor links Editor Mode but the page does not display. This link is http://www.telerik.com/support/kb/aspnet-ajax/editor/making-named-anchors-visible-in-editing-area.aspx.
Is there an updated page on how to do this?

<telerik:RadPanelBar ID="pbRegister" runat="server"> <Items> <telerik:RadPanelItem Text="Register" Value="Register"> <ItemTemplate> <telerik:RadDatePicker ID="txtDate" runat="server" AutoPostBack="True" SelectedDate="2012-02-21" Width="150px"> <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"> </Calendar> <DateInput DisplayDateFormat="dd/MM/yyyy" DateFormat="dd/MM/yyyy" AutoPostBack="True" LabelWidth="" SelectedDate="2012-02-21"> </DateInput> <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton> </telerik:RadDatePicker> </ItemTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>------------------------------------------------------<asp:SqlDataSource ID="dsTGRegister" runat="server" ConnectionString="" SelectCommand="ext_Register" SelectCommandType="StoredProcedure" DataSourceMode="DataReader"> <SelectParameters> <asp:ControlParameter ControlID='<%= pbRegister.FindItemByValue("Register").FindControl("txtDate").ClientID %>' Name="AttributeDate" PropertyName="SelectedDate" /> </SelectParameters> </asp:SqlDataSource>Hello,
Working with a radtreeview with a custom template. The template has a radtextbox and when typing in the textbox if there are matching characters in any nodes, that node get auto selected (and highlighted). I need to disable this functionality.
Any help is appreciated.
I am using version 2018.1.112.40 of the Telerik software.
How to change the size of the Buttons?
Please help!
Thanks!
Sincerely,
Keith Jackson

I'm evaluating whether I can use a listbox in my web app, which needs to meet 508 accessibility standards for screen reader users. While the demo site says that the control is 508 compliant from an evaluation standpoint, i'm curious as to how I can get it to actually be usable to blind users. I tried running jaws against the keyboard support demo, and while I can use the arrows to navigate the list and select an item with the spacebar, the keystrokes to move the selected option into the right box do not work. Essentially none of the keyboard keys listed in the legend work because Jaws is trapping the key events before it gets to the control.
That being said, I then tried wrapping the demo in a div with a role="application" attribute, and jaws now allows the keyboard events to pass through to the control. However, it now doesn't actually read the items in the list as you are scrolling through them.
So my question is, how can this control be set up to be usable for screen reader users? Meaning it will read the options to the user, and also allow them to navigate within the control with the keyboard.
Thanks,
Mike
