5 Answers, 1 is accepted
This image appears in the older versions of ASP.NET RadWindow in modal mode. Could you please place the attached .gif file in the directory that is shown in the 3th error image?
All the best,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thanks for your immediate reply.
Have tried putting in your given image into the folder but i am not sure why is the path not being directed accordingly.
this is the path in the properties of error3
http://localhost/smarteAppraisal/WizardReview/~App_ThemesNatureadWindowManagerSkinsDefault/Img
and if you notice, after this portion of the URL, /WizardReview/~App_ ,
the path is not going bac to the root folder and then finding for the App_Themes folder but it is on the other hand appending the root folder path to the current page URL..Please advice
These are my codes to format the window manager
Dim
strThemePath As String = "~\App_Themes\Nature\radWindowManager\Skins"
strThemePath =
String.Format(strThemePath, Page.Theme)
radWindowManager.SkinsPath = strThemePath
radWindowManager.Skin =
"Default"
In such case please open a support ticket and send us your project or a small sample one where this issue could be reproduced. We will check it and get back to you right away.
Sincerely yours,
Georgi Tunev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
<%
@ Page Language="vb" AutoEventWireup="false" CodeBehind="Step1.aspx.vb" Inherits="Appraisal.Step1" StylesheetTheme="Nature"
MasterPageFile="~/Admin.Master" %>
<%
@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radAjax" %>
<%
@ Register Assembly="RadComboBox.Net2" Namespace="Telerik.WebControls" TagPrefix="RadCB" %>
<%
@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="RadCal" %>
<%
@ Register Assembly="RadWindow.Net2" Namespace="Telerik.WebControls" TagPrefix="radWindow" %>
<%
@ Register Src="~/UILayer/Admin/Users/ERFeedBack.ascx" TagName="ERFeedBack" TagPrefix="EReviews" %>
<%
@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<
asp:Content ContentPlaceHolderID="ContentPlaceHolder2" ID="contAssignSubordinates"
runat="server">
<script type="text/javascript" language="javascript">
function ShowKPIRatings() {
var maxVal = document.getElementById("<%=txtMax.ClientID%>");
var winObj = window.radopen("RatingLabel.aspx?ratingMax=" + maxVal.value, "competencyLists");
winObj.Center();
return false;
}
</script>
<asp:Button ID="btnLnkLabel" runat="server" CssClass="Wizardlinkbg"
Width="110px" Height="20px" />
<radWindow:RadWindowManager ID="radWM" runat="server" meta:resourcekey="RadWindowManager1Resource1">
<Windows>
<radWindow:RadWindow ID="competencyLists" runat="server" meta:resourcekey="UserListDialogResource1" />
</Windows>
</radWindow:RadWindowManager></asp:Content>
Code Behind
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dblW, dblH As Double
dblW = 700
dblH = 400
FormatWindowManager(radWM, Page, dblW, dblH)
btnLnkLabel.Attributes("onclick") = String.Format("return ShowKPIRatings();")
End Sub
Public Shared Sub FormatWindowManager(ByVal radWindowManager As Telerik.WebControls.RadWindowManager, ByVal Page As System.Web.UI.Page, ByVal width As Double, ByVal height As Double)
Dim strThemePath As String = "~\App_Themes\Nature\radWindowManager\Skins"
strThemePath =
String.Format(strThemePath, Page.Theme)
radWindowManager.SkinsPath = strThemePath
radWindowManager.Skin =
"Default"
radWindowManager.Behavior = Telerik.WebControls.RadWindowBehaviorFlags.None
radWindowManager.Modal =
True
radWindowManager.Height = height
radWindowManager.Width = width
radWindowManager.Shortcuts.Add(
New Telerik.WebControls.WindowShortcut("CloseActiveWindow", "ESC"))
radWindowManager.ReloadOnShow =
True
End Sub
These are all the coding that i have for Step1.aspx(Parent page)....which in return opens the modal window when btnLnkLabel is clicked
I checked your code but I was not able to locate the exact reason for the problem or to reproduce it locally.
That is why I would like to repeat Georgi's request to open a support ticket and send us a sample project where this issue could be observed. Once we receive it, we will do our best to provide you with a solution.
Best wishes,
Fiko
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.