Welcome Guest Search | Active Topics | Sign In | Register

Dialogs and padding Options
Mark Rae
Posted: Wednesday, December 3, 2008 7:40:33 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
Hi,

I've gone through the documentation and can't seem to find anything on this. Basically, what actually constitutes the active content of a Dialog? I assumed that it is whatever appears within the <ContentTemplate /> tag, but this appears not to be the case.

E.g. I have the following dialog:

Code: HTML/ASPX
<eo:Dialog runat="server" id="dlgTest" HeaderImageUrl="00020441" HeaderImageHeight="27" 
	MinHeight="100" MinWidth="150" AllowResize="false" ControlSkinID="None" 
	HeaderHtml='
"padding-top:5px;">Test</div>' BackColor="#ECE9D8" CloseButtonUrl="00020440" ConfineElementID=""> <HeaderStyleActive CssText="background-image:url(00020442);color:#444444;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:7px;padding-left:8px;padding-right:0px;padding-top:0px;" /> <ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;" /> <BorderImages BottomBorder="00020409,00020429" RightBorder="00020407,00020427" TopRightCornerBottom="00020405,00020425" TopRightCorner="00020403,00020423" LeftBorder="00020406,00020426" TopLeftCorner="00020401,00020421" BottomRightCorner="00020410,00020430" TopLeftCornerBottom="00020404,00020424" BottomLeftCorner="00020408,00020428" TopBorder="00020402,00020422" /> <ContentTemplate> <asp:TextBox ID="txtMulti" runat="server" Rows="6" Width="300px" TextMode="MultiLine" /> <br /> <asp:Button ID="cmdOK" runat="server" Text="OK" /> <asp:Button ID="cmdClose" runat="server" Text="Close" /> </ContentTemplate> </eo:Dialog>


However, if I change the ContentStyleActive tag to the following:
Code: HTML/ASPX
<ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:40px;padding-left:40px;padding-right:40px;padding-top:40px;" />

it does not look any different. Obviously, I can pad the contents by surrounding it with a <div> and setting the style padding, but is that the correct way to do this?

What does the active content of a dialog actually mean?
eo_support
Posted: Wednesday, December 3, 2008 11:05:17 AM
Rank: Administration
Groups: Administration

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

This appears to be an issue introduced with the XHTML change. We will fix it along with the alt tags.

Thanks!
Mark Rae
Posted: Wednesday, December 3, 2008 11:10:07 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
eo_support wrote:
This appears to be an issue introduced with the XHTML change. We will fix it along with the alt tags.

Thanks.


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.