This is a migrated thread and some comments may be shown as answers.

Modal window background 'X' is displaying

5 Answers 79 Views
Window
This is a migrated thread and some comments may be shown as answers.
Muralidharan Ramakrishnan
Top achievements
Rank 1
Muralidharan Ramakrishnan asked on 20 Mar 2009, 11:37 AM
once i open my modal window, theres an 'X' image that appears in the background at the top most left corner...
how do i remove that 'X' from appearing..please advice
i have attached below the screenshots ....

Thanks

error 1 
error 2 
Error 3

5 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 20 Mar 2009, 01:42 PM
Hello Muralidharan,

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.
0
Muralidharan Ramakrishnan
Top achievements
Rank 1
answered on 23 Mar 2009, 01:27 AM
Hi Fiko,

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"

 


0
Georgi Tunev
Telerik team
answered on 23 Mar 2009, 06:04 AM
Hi Muralidharan,

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.
0
Muralidharan Ramakrishnan
Top achievements
Rank 1
answered on 23 Mar 2009, 09:36 AM
Codes for Step1.aspx

<%

@ 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

 

0
Fiko
Telerik team
answered on 26 Mar 2009, 09:06 AM
Hello Muralidharan,

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.
Tags
Window
Asked by
Muralidharan Ramakrishnan
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Muralidharan Ramakrishnan
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or