|
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>
|
|
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!
|
|
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>
|
|
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!
|
|
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
|
|
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!
|
|
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.
|
|