Welcome Guest Search | Active Topics | Sign In | Register

Hide Dialog CloseButton Options
Sadjad Bahmanpour
Posted: Monday, August 5, 2013 7:30:35 PM
Rank: Member
Groups: Member

Joined: 6/19/2013
Posts: 23
Hi,

I want to hide Dialog CloseButton. I've set the CloseButtonUrl="Blank" or CloseButtonUrl="" but it still shows the close button. I am using v11. Here is a test case:

<eo:Dialog ID="dlgPopup" runat="server" AllowMove="false" AllowResize="false" HeaderHtml="Test" InitialState="Visible" ContentUrl="dummy.htm" CloseButtonUrl="Blank" MinimizeButtonUrl="Blank" RestoreButtonUrl="Blank" VerticalAlign="Middle" HorizontalAlign="Center" Height="200px" Width="200px">
</eo:Dialog>
eo_support
Posted: Monday, August 5, 2013 7:34:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I think you can remove close button by not setting it at all.

Thanks!
Sadjad Bahmanpour
Posted: Monday, August 5, 2013 7:43:37 PM
Rank: Member
Groups: Member

Joined: 6/19/2013
Posts: 23
No I've tried not settings and still close button shows up. Try this:

<eo:Dialog ID="dlgPopup" runat="server" InitialState="Visible" HeaderHtml="Test" Height="200px" Width="200px" ControlSkinID="None">
</eo:Dialog>
eo_support
Posted: Tuesday, August 6, 2013 1:04:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We tested your code with the latest build and it works fine.

Thanks!
Sadjad Bahmanpour
Posted: Tuesday, August 6, 2013 2:50:35 PM
Rank: Member
Groups: Member

Joined: 6/19/2013
Posts: 23
I've downloaded v11.0.20.2 and the close button shows up. here is the my aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>

<!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 id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<eo:Dialog ID="dlgPopup" runat="server"
AllowMove="false" AllowResize="false" HeaderHtml="Test" InitialState="Visible" ContentUrl="dummy.htm"
Height="200px" Width="200px">
</eo:Dialog>
</form>
</body>
</html>


I'm testing on IE 10 and Chrome 28. Visual Studio 2008 and 2010 on Windows 8; Project Target .Net Framework 3.5 or 4.0
eo_support
Posted: Tuesday, August 6, 2013 8:20:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I am not sure what else to tell you. We tested your code and it works fine. Do you have the page online so that we can take a look?

Thanks!
Sadjad Bahmanpour
Posted: Tuesday, August 6, 2013 9:06:21 PM
Rank: Member
Groups: Member

Joined: 6/19/2013
Posts: 23
Sorry, my bad. I had Theme/Skin which was over-writing my settings. Again sorry to waste you time. Thanks for the fast and great support.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.