I am creating radwindows dynamically with js and I am using this syntax and when the window renders it doesn't move when prompted to. It stays in one fixed position
...
radWindow.set_behaviors("Telerik.Web.UI.WindowBehaviors.Move");
...
Thanks in advance for any suggestions.
Hi, i'm trying your control suite and i started to try the control in subject following the demo ccode of your website and all works fine if i use the default document ( <PdfjsProcessingSettings File="prev.pdf">
</PdfjsProcessingSettings>). But what should i do if i want to pass the file name in runtime mode dynamically? I tried this:
.ASPX FILE
<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="PdfProva._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
<script type="text/javascript">
window.pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.worker.js';
</script>
<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager>
<script type="text/javascript">
//Put your JavaScript code here.
</script>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
<div>
<telerik:RadAjaxPanel runat="server">
<asp:Button ID="Button1" runat="server" Text="Get File Name" OnClick="Button1_Click" />
<asp:Label ID="Label1" runat="server"></asp:Label>
<telerik:RadPdfViewer runat="server" ID="RadPdfViewer1" Height="450px" Width="1000px"
Skin="Default" RenderMode="Lightweight">
<PdfjsProcessingSettings>
</PdfjsProcessingSettings>
</telerik:RadPdfViewer>
</telerik:RadAjaxPanel>
</div>
</form>
</body>
</html>
VB FILE
Imports Telerik.Web.UI
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim filename As String = Server.MapPath("~/prev.pdf")
RadPdfViewer1.PdfjsProcessingSettings.File = filename
Dim currentPage = RadPdfViewer1.ActivePage
Dim result As String = String.Format("Opened file with name: <strong>{0}</strong> on page: <strong>{1}</strong><br />", filename, currentPage)
Label1.Text = result
End Sub
End Class
The result is that issue an error "PDF file fails to process".
How to solve?

There seems to be some format issues with the base Filter Window. It either does not show the save buttons without scrolling, and applying filters where the side menu pops out almost always requires scrolling.
I can set a height or min height and that seems to help with seeing the buttons, but the slide out filter menu even with a min width or width sometimes requires scrolling. And sometimes (but not always) the filter box "blue area" in the screenshot widens to take up the entire window area.

I am trying to override the default style of a radwindow using js...I see this is simple to do in the code behind, but I need a way to do it on the front end as well. This is what i've tried.
var radWindow = $find("<%=RadWindowManager1.ClientID%>").Open(null,null);
radWindow.setSize(640, 480);
radWindow._cssClass = " customClass";
radWindow.set_title("Fubar");
radWindow.setActive(true);
radWindow.SetModal(true);
radWindow.center();
radWindow.set_visibleStatusbar(false)
radWindow.set_keepInScreenBounds(true);
The window opens but the custom class isn't applied. Thanks in advance for any suggestions.



Hi,
I am trying to get RadContext menu on grid items but it doesn't work on Google chrome. It works fine with Internet Explorer. Any help to get it compatible with chrome would be great.
I am attaching the images of Chrome and Internet Explorer
Thanks in advance,
Swanand

Hi,
When having 15 items on 2 pages, PageSize =10 .
Switching to 20 per page in front-end makes the complete pager bar dissappear.
Can't believe this is standard behavior...is it?
Marc

Hi,
I have a RadGrid with pagination of 10 items per page.
Sometimes it is showing only 2 items while Pager is saying: Pagina 6 van 13, items 51 tot 60 van 128
Any idea waht could cause this?
Marc
