I want to use a simple solution as suggested in
http://www.telerik.com/community/forums/aspnet-ajax/rotator/radrotator-resizing-issue.aspx
But why it is not working? I used alert to check the style.width and it was set correctly. But the rotator was not refreshed.
I tried using the Ajax request (asp.net mvc4). But when I resize the browser, I have this error popup:
http://www.telerik.com/community/forums/aspnet-ajax/rotator/radrotator-resizing-issue.aspx
window.onresize=
function
()
{
var
rotatorElement = $get(
"<%= Rttr.ClientID %>"
);
rotatorElement.style.width =
"225px"
;
rotatorElement.style.height=
"285px"
;
}
But why it is not working? I used alert to check the style.width and it was set correctly. But the rotator was not refreshed.
I tried using the Ajax request (asp.net mvc4). But when I resize the browser, I have this error popup:
0x800a139e - JavaScript runtime 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 '
<!DOCTYPE html>
'.