Welcome Guest Search | Active Topics | Sign In | Register

Dialog Callback Panel and HTML Table Options
Loren Dorez
Posted: Sunday, August 30, 2009 12:07:05 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
I have a Dialog Window that popup up and loads Form. the form is built using a HTML Table for layout on the screen. if i put the form inside a callback panel inside the content template of the dialog i lose my table formatting and everything is just placed on the page and all <TH> are no longer visible can you check on your end to see if this is an issue just do a Dialog (Vista Style) then in the content template to a TABLE within a table etc with TH and TD and some fields and then see if it renders fine then try adding a callbackpanel to the mix for the window will stay open when a callback is triggers and youll see the layout is gon.

sample HTML code

Code: HTML/ASPX
<table style="width: 100%;">
                    <tr>
                        <td align="center">
                            <fieldset>
                                <legend>Diary Information</legend>
                                <div id="divValidationSum">
                                    <asp:ValidationSummary ID="ValDiarySummary" runat="server" ShowMessageBox="true" DisplayMode="BulletList" HeaderText="Please correct the following error(s):" ShowSummary="false" ValidationGroup="valGrpTPLDiary" />
                                </div>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:HiddenField ID="hfDiaryID" runat="server" />
                                            <asp:HiddenField ID="hfParcelID" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top" align="right">
                                            <asp:RequiredFieldValidator ID="reqValDate" runat="server" ErrorMessage="Date is Required!" Text="*" ControlToValidate="dpTPLDiaryDate" Display="Dynamic" InitialValue="" SetFocusOnError="true" ValidationGroup="valGrpTPLDiary"></asp:RequiredFieldValidator>
                                            Date:
                                        </th>
                                        <td valign="top" align="left">
                                            <eo:DatePicker ID="dpTPLDiaryDate" runat="server" ControlSkinID="None" DayCellHeight="16"
                                                DayCellWidth="19" DayHeaderFormat="FirstLetter" DisabledDates="" ForceSSL="True"
                                                OtherMonthDayVisible="True" SelectedDates="" TitleLeftArrowImageUrl="DefaultSubMenuIconRTL"
                                                TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2009-08-01" WaitMessage="Loading...">
                                                <TodayStyle CssText="font-family: tahoma; font-size: 12px; border-right: #bb5503 1px solid; border-top: #bb5503 1px solid; border-left: #bb5503 1px solid; border-bottom: #bb5503 1px solid" />
                                                <SelectedDayStyle CssText="font-family: tahoma; font-size: 12px; background-color: #fbe694; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                                <DisabledDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                                <PickerStyle CssText="font-family:Courier New; padding-left:5px; padding-right: 5px;" />
                                                <CalendarStyle CssText="background-color: white; border-right: #7f9db9 1px solid; padding-right: 4px; border-top: #7f9db9 1px solid; padding-left: 4px; font-size: 9px; padding-bottom: 4px; border-left: #7f9db9 1px solid; padding-top: 4px; border-bottom: #7f9db9 1px solid; font-family: tahoma" />
                                                <TitleArrowStyle CssText="cursor:hand" />
                                                <DayHoverStyle CssText="font-family: tahoma; font-size: 12px; border-right: #fbe694 1px solid; border-top: #fbe694 1px solid; border-left: #fbe694 1px solid; border-bottom: #fbe694 1px solid" />
                                                <MonthStyle CssText="font-family: tahoma; font-size: 12px; margin-left: 14px; cursor: hand; margin-right: 14px" />
                                                <TitleStyle CssText="background-color:#9ebef5;font-family:Tahoma;font-size:12px;padding-bottom:2px;padding-left:6px;padding-right:6px;padding-top:2px;" />
                                                <OtherMonthDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                                <DayHeaderStyle CssText="font-family: tahoma; font-size: 12px; border-bottom: #aca899 1px solid" />
                                                <DayStyle CssText="font-family: tahoma; font-size: 12px; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                            </eo:DatePicker>
                                        </td>
                                        <td valign="top" align="left" colspan="2">
                                            <table>
                                                <tr>
                                                    <td align="left">
                                                        <asp:CheckBox ID="cbTPLExcludeReport" runat="server" Text="Exclude from Who Billed What Report?" />        
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left">
                                                        <asp:CheckBox ID="cbTPLOwnerContact" runat="server" Text="Owner or Owner Representative Contact?" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            Agent:
                                        </td>
                                        <td align="left">
                                            <asp:DropDownList ID="ddlTPLAgents" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td rowspan="2">
                                            <table>
                                                <tr>
                                                    <td valign="top">
                                                        <asp:Button ID="btnTPLAddAgent" runat="server" Text="Add Agent" Width="125px" 
                                                            onclick="btnTPLAddAgent_Click"></asp:Button>
                                                        <br />
                                                        <asp:Button ID="btnTPLRemoveAgent" runat="server" Text="Remove Agent" 
                                                            Width="125px" onclick="btnTPLRemoveAgent_Click">
                                                        </asp:Button>
                                                    </td>
                                                    <td valign="top">
                                                        <asp:ListBox ID="lstTPLAgents" runat="server" Width="200" Rows="3"></asp:ListBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th align="right">
                                            Hours:
                                        </th>
                                        <td align="left">
                                            <asp:TextBox ID="txtTPLHours" runat="server" MaxLength="50" Width="100px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" colspan="3">
                                            <table>
                                                <tr>
                                                    <th align="left">
                                                        Activity:
                                                    </th>
                                                    <td align="left">
                                                        <asp:Button ID="btnPredefinedActivities" runat="server" 
                                                            Text="Get Predefined Activity" onclick="btnPredefinedActivities_Click" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">
                                            <asp:TextBox ID="txtcomments" runat="server" TextMode="MultiLine" Width="100%" Rows="12"></asp:TextBox>

                                            <script type="text/javascript">
                                                function msg_handler(ctrl, msgName) {
                                                    if (msgName == "no_error") {
                                                        closeSPCheckerWindow();
                                                    }
                                                }
                                                function closeSPCheckerWindow() {
                                                    //Page_ClientValidate().
                                                    var ok = Page_ClientValidate("valGrpTPLDiary");
                                                    if (ok == true) {
                                                        setTimeout(function() { postBackSP(); }, 1000);
                                                    }
                                                    else {
                                                        //alert('FAILED VALIDATION!');
                                                    }
                                                }
                                                function postBackSP() {
                                                    eo_GetObject('spCheckerWindow').close();
                                                    //Get the JavaScript code that can be used to simulate Save button click
                                                    var postBackJS = "<%=GetPostBackEventReference(btnSave) %>";
                                                    eval(postBackJS);
                                                }
                                            </script>
                                            <eo:SpellChecker ID="spChecker" runat="server" DialogID="spCheckerWindow" StartButton="btnSave"
                                                ControlToCheck="txtComments" ClientSideOnMessage="msg_handler">
                                            </eo:SpellChecker>
                                            <eo:SpellCheckerDialog ID="spCheckerWindow" runat="server" AllowResize="True" CloseButtonUrl="00020440"
                                                ControlSkinID="None" HeaderHtml="Spell Check" HeaderHtmlFormat="&lt;div style=&quot;padding-top:4px&quot;&gt;{0}&lt;/div&gt;"
                                                HeaderImageHeight="27" HeaderImageUrl="00020441" Height="216px" MinHeight="100"
                                                MinWidth="150" Width="320px">
                                                <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;" />
                                                <BorderImages BottomBorder="00020409,00020429" BottomLeftCorner="00020408,00020428"
                                                    BottomRightCorner="00020410,00020430" LeftBorder="00020406,00020426" RightBorder="00020407,00020427"
                                                    TopBorder="00020402,00020422" TopLeftCorner="00020401,00020421" TopLeftCornerBottom="00020404,00020424"
                                                    TopRightCorner="00020403,00020423" TopRightCornerBottom="00020405,00020425" />
                                                <FooterStyleActive CssText="background-color:#f0f0f0; padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
                                                <ContentTemplate>
                                                    <table border="0" cellpadding="3" cellspacing="0">
                                                        <tr>
                                                            <td colspan="3">
                                                                Content:
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" valign="top" width="330">
                                                                <asp:Panel ID="TextPanel" runat="server" Style="border-right: gray 1px solid; border-top: gray 1px solid;
                                                                    border-left: gray 1px solid; width: 330px; border-bottom: gray 1px solid; height: 150px">
                                                                </asp:Panel>
                                                            </td>
                                                            <td valign="top">
                                                                <asp:Button ID="IgnoreOnceButton" runat="server" Text="Ignore Once" Width="120px" />
                                                                <p>
                                                                    <asp:Button ID="IgnoreAllButton" runat="server" Text="Ignore All" Width="120px" />
                                                                </p>
                                                                <p>
                                                                    <asp:Button ID="AddCustomButton" runat="server" Text="Add to Dictionary" Width="120px" />
                                                                </p>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="3">
                                                                Suggestions:
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" valign="top" width="330">
                                                                <asp:Panel ID="SuggestionPanel" runat="server" Style="border-right: gray 1px solid;
                                                                    border-top: gray 1px solid; border-left: gray 1px solid; width: 330px; border-bottom: gray 1px solid;
                                                                    height: 100px">
                                                                </asp:Panel>
                                                            </td>
                                                            <td valign="top">
                                                                <asp:Button ID="ChangeButton" runat="server" Text="Change" Width="120px" />
                                                                <p>
                                                                    <asp:Button ID="ChangeAllButton" runat="server" Text="Change All" Width="120px" />
                                                                </p>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td nowrap="nowrap">
                                                                Change to:
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="ChangeToText" runat="server" Style="width: 220px"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right" colspan="3">
                                                                <input id="btnFinish" type="button" value="Finish" onclick="closeSPCheckerWindow();" style="width: 120px;" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ContentTemplate>
                                                <ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px" />
                                            </eo:SpellCheckerDialog>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="3">
                                            <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" ValidationGroup="valGrpTPLDiary" />
                                               
                                            <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" />
                                               
                                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                </table>
eo_support
Posted: Sunday, August 30, 2009 3:16:23 PM
Rank: Administration
Groups: Administration

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

We are not aware of any of such issues. If you can provide a full test page we will be happy to take a look.

I would not recommend you to place SpellCheckerDialog inside the template of another dialog though. Dialogs can be stacked together, but there is no point for them to be nested because a dialog never shows inside another dialog.

Thanks!
Loren Dorez
Posted: Sunday, August 30, 2009 3:41:05 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
I have it doing this just fine. The spellcheck shows up just fine. As for a Full test page i provided the HTML code just past it between a CallbackPanel and you should get the results i get no triggers anything needs to be set base eocallback panel will cause this even.
eo_support
Posted: Sunday, August 30, 2009 4:01:52 PM
Rank: Administration
Groups: Administration

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

We will still need you to provide a full test page to demonstrate the problem. Please see here for more details:

http://www.essentialobjects.com/forum/postst3013_I-run-into-a-problem-can-I-send-over-my-code-so-that-you-can-take-a-look.aspx

Thanks
Loren Dorez
Posted: Sunday, August 30, 2009 4:27:57 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
How do i get this test page to you? Or fo i just copy and past the code here?
eo_support
Posted: Sunday, August 30, 2009 4:44:02 PM
Rank: Administration
Groups: Administration

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

If it is a single page, you can copy and paste it directly at here. If it is a test project with multiple pages, you can zip it up and email it to us (we will PM with the email address). In either case please make sure the test page runs independently and only contain necessary code that is needed to reproduce the problem. Also make sure you include step by step instructions to reproduce the problem if it is not obvious.

Thanks!
Loren Dorez
Posted: Sunday, August 30, 2009 4:51:35 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
HERE THE ASPX Code

Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:LinkButton ID="btnAddRecordTop" runat="server" Text="Add Diary" OnClick="btnAddRecord_Click" Font-Size="Large"></asp:LinkButton>
    <!-- EDIT DIALOG WINDOW FOR DIARIES -->
    <eo:Dialog ID="oEditWindow" runat="server" Height="500px" Width="600px" AllowResize="True"
        CloseButtonUrl="00020440" ControlSkinID="None" ForceSSL="True" HeaderHtml="Dialog Title"
        HeaderHtmlFormat="&lt;div style=&quot;padding-top:4px&quot;&gt;{0}&lt;/div&gt;"
        HeaderImageHeight="27" HeaderImageUrl="00020441" MinHeight="100" MinWidth="150"
        SaveLocation="True" CancelButton="btnCancel">
        <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;" />
        <BorderImages BottomBorder="00020409,00020429" BottomLeftCorner="00020408,00020428"
            BottomRightCorner="00020410,00020430" LeftBorder="00020406,00020426" RightBorder="00020407,00020427"
            TopBorder="00020402,00020422" TopLeftCorner="00020401,00020421" TopLeftCornerBottom="00020404,00020424"
            TopRightCorner="00020403,00020423" TopRightCornerBottom="00020405,00020425" />
        <FooterStyleActive CssText="background-color:#f0f0f0; padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
        <ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px" />
        <ContentTemplate>
            <%-- ID="CallbackPanel1" runat="server" Height="100%" Width="100%">--%>
                                <table style="width: 100%;">
                    <tr>
                        <td align="center">
                            <fieldset>
                                <legend>Diary Information</legend>
                                <div id="divValidationSum" style="color:Red; text-align:left;">
                                    <asp:Literal ID="litError" runat="server"></asp:Literal>
                                </div>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:HiddenField ID="hfDiaryID" runat="server" />
                                            <asp:HiddenField ID="hfParcelID" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <th valign="top" align="right">
                                            Date:
                                        </th>
                                        <td valign="top" align="left">
                                            <eo:DatePicker ID="dpTPLDiaryDate" runat="server" ControlSkinID="None" DayCellHeight="16"
                                                DayCellWidth="19" DayHeaderFormat="FirstLetter" DisabledDates="" ForceSSL="True"
                                                OtherMonthDayVisible="True" SelectedDates="" TitleLeftArrowImageUrl="DefaultSubMenuIconRTL"
                                                TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2009-08-01" WaitMessage="Loading...">
                                                <TodayStyle CssText="font-family: tahoma; font-size: 12px; border-right: #bb5503 1px solid; border-top: #bb5503 1px solid; border-left: #bb5503 1px solid; border-bottom: #bb5503 1px solid" />
                                                <SelectedDayStyle CssText="font-family: tahoma; font-size: 12px; background-color: #fbe694; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                                <DisabledDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                                <PickerStyle CssText="font-family:Courier New; padding-left:5px; padding-right: 5px;" />
                                                <CalendarStyle CssText="background-color: white; border-right: #7f9db9 1px solid; padding-right: 4px; border-top: #7f9db9 1px solid; padding-left: 4px; font-size: 9px; padding-bottom: 4px; border-left: #7f9db9 1px solid; padding-top: 4px; border-bottom: #7f9db9 1px solid; font-family: tahoma" />
                                                <TitleArrowStyle CssText="cursor:hand" />
                                                <DayHoverStyle CssText="font-family: tahoma; font-size: 12px; border-right: #fbe694 1px solid; border-top: #fbe694 1px solid; border-left: #fbe694 1px solid; border-bottom: #fbe694 1px solid" />
                                                <MonthStyle CssText="font-family: tahoma; font-size: 12px; margin-left: 14px; cursor: hand; margin-right: 14px" />
                                                <TitleStyle CssText="background-color:#9ebef5;font-family:Tahoma;font-size:12px;padding-bottom:2px;padding-left:6px;padding-right:6px;padding-top:2px;" />
                                                <OtherMonthDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                                <DayHeaderStyle CssText="font-family: tahoma; font-size: 12px; border-bottom: #aca899 1px solid" />
                                                <DayStyle CssText="font-family: tahoma; font-size: 12px; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
                                            </eo:DatePicker>
                                        </td>
                                        <td valign="top" align="left" colspan="2">
                                            <table>
                                                <tr>
                                                    <td align="left">
                                                        <asp:CheckBox ID="cbTPLExcludeReport" runat="server" Text="Exclude from Who Billed What Report?" />        
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left">
                                                        <asp:CheckBox ID="cbTPLOwnerContact" runat="server" Text="Owner or Owner Representative Contact?" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th align="right">
                                            Agent:
                                        </th>
                                        <td align="left">
                                            <asp:DropDownList ID="ddlTPLAgents" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td rowspan="2">
                                            <table>
                                                <tr>
                                                    <td valign="top">
                                                        <asp:Button ID="btnTPLAddAgent" runat="server" Text="Add Agent" Width="125px" 
                                                            ></asp:Button>
                                                        <br />
                                                        <asp:Button ID="btnTPLRemoveAgent" runat="server" Text="Remove Agent" 
                                                            Width="125px" >
                                                        </asp:Button>
                                                    </td>
                                                    <td valign="top">
                                                        <asp:ListBox ID="lstTPLAgents" runat="server" Width="200" Rows="3"></asp:ListBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th align="right">
                                            Hours:
                                        </th>
                                        <td align="left">
                                            <asp:TextBox ID="txtTPLHours" runat="server" MaxLength="50" Width="100px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" colspan="3">
                                            <table>
                                                <tr>
                                                    <th align="left">
                                                        Activity:
                                                    </th>
                                                    <td align="left">
                                                        <input id="btnPredefinedActiviy" runat="server" type="button" value="Get Predefined Activity" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">
                                            <asp:TextBox ID="txtTPLComments" runat="server" TextMode="MultiLine" Width="100%" Rows="12"></asp:TextBox>

                                            <script type="text/javascript">
                                                function msg_handler(ctrl, msgName) {
                                                    if (msgName == "no_error") {
                                                        closeSPCheckerWindow();
                                                    }
                                                }
                                                function closeSPCheckerWindow() {

                                                    setTimeout(function() { postBackSP(); }, 1000);
                                                }
                                                function postBackSP() {
                                                    eo_GetObject('spCheckerWindow').close();
                                                    //Get the JavaScript code that can be used to simulate Save button click
                                                    var postBackJS = "<%=GetPostBackEventReference(btnSave) %>";
                                                    eval(postBackJS);
                                                }
                                            </script>
                                            <eo:SpellChecker ID="spChecker" runat="server" DialogID="spCheckerWindow" StartButton="btnSave"
                                                ControlToCheck="txtTPLComments" ClientSideOnMessage="msg_handler">
                                            </eo:SpellChecker>
                                            <eo:SpellCheckerDialog ID="spCheckerWindow" runat="server" AllowResize="True" CloseButtonUrl="00020440"
                                                ControlSkinID="None" HeaderHtml="Spell Check" HeaderHtmlFormat="&lt;div style=&quot;padding-top:4px&quot;&gt;{0}&lt;/div&gt;"
                                                HeaderImageHeight="27" HeaderImageUrl="00020441" Height="216px" MinHeight="100"
                                                MinWidth="150" Width="320px">
                                                <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;" />
                                                <BorderImages BottomBorder="00020409,00020429" BottomLeftCorner="00020408,00020428"
                                                    BottomRightCorner="00020410,00020430" LeftBorder="00020406,00020426" RightBorder="00020407,00020427"
                                                    TopBorder="00020402,00020422" TopLeftCorner="00020401,00020421" TopLeftCornerBottom="00020404,00020424"
                                                    TopRightCorner="00020403,00020423" TopRightCornerBottom="00020405,00020425" />
                                                <FooterStyleActive CssText="background-color:#f0f0f0; padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
                                                <ContentTemplate>
                                                    <table border="0" cellpadding="3" cellspacing="0">
                                                        <tr>
                                                            <td colspan="3">
                                                                Content:
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" valign="top" width="330">
                                                                <asp:Panel ID="TextPanel" runat="server" Style="border-right: gray 1px solid; border-top: gray 1px solid;
                                                                    border-left: gray 1px solid; width: 330px; border-bottom: gray 1px solid; height: 150px">
                                                                </asp:Panel>
                                                            </td>
                                                            <td valign="top">
                                                                <asp:Button ID="IgnoreOnceButton" runat="server" Text="Ignore Once" Width="120px" />
                                                                <p>
                                                                    <asp:Button ID="IgnoreAllButton" runat="server" Text="Ignore All" Width="120px" />
                                                                </p>
                                                                <p>
                                                                    <asp:Button ID="AddCustomButton" runat="server" Text="Add to Dictionary" Width="120px" />
                                                                </p>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="3">
                                                                Suggestions:
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" valign="top" width="330">
                                                                <asp:Panel ID="SuggestionPanel" runat="server" Style="border-right: gray 1px solid;
                                                                    border-top: gray 1px solid; border-left: gray 1px solid; width: 330px; border-bottom: gray 1px solid;
                                                                    height: 100px">
                                                                </asp:Panel>
                                                            </td>
                                                            <td valign="top">
                                                                <asp:Button ID="ChangeButton" runat="server" Text="Change" Width="120px" />
                                                                <p>
                                                                    <asp:Button ID="ChangeAllButton" runat="server" Text="Change All" Width="120px" />
                                                                </p>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td nowrap="nowrap">
                                                                Change to:
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="ChangeToText" runat="server" Style="width: 220px"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right" colspan="3">
                                                                <input id="btnFinish" type="button" value="Finish" onclick="closeSPCheckerWindow();" style="width: 120px;" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ContentTemplate>
                                                <ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px" />
                                            </eo:SpellCheckerDialog>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="3">
                                            <asp:Button ID="btnReorder" runat="server" Text="Reorder Diaries" />
                                               
                                            <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="valGrpTPLDiary" />
                                               
                                            <asp:Button ID="btnDelete" runat="server" Text="Delete" />
                                               
                                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                </table>
            <%--</eo:CallbackPanel>--%>
        </ContentTemplate>
    </eo:Dialog>
    </form>
</body>
</html>
Loren Dorez
Posted: Sunday, August 30, 2009 4:52:28 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
C# Code

Code: C#
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public void btnAddRecord_Click(object sender, EventArgs e)
    {
        // Deleted Button
        btnDelete.Visible = false;
        btnDelete.Enabled = false;
        oEditWindow.InitialState = EO.Web.DialogState.Visible;
    }
}
Loren Dorez
Posted: Sunday, August 30, 2009 4:53:27 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
The First Time you run it it will load fine and look as it should however if you uncomment out the eo callback panel and then rerun it hides all TH tages and mess with the table layout
eo_support
Posted: Sunday, August 30, 2009 6:04:58 PM
Rank: Administration
Groups: Administration

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

Try to move the spell checker out of the dialog. I believe that would fix the issue for you.

Thanks!
Loren Dorez
Posted: Monday, August 31, 2009 1:46:44 PM
Rank: Advanced Member
Groups: Member

Joined: 1/9/2009
Posts: 97
Will the spellchecker dialog still work? and does it need to be in the CallbackPanel to work? Or should i move the Callback Panel out side and place both dialogs inside it?
eo_support
Posted: Monday, August 31, 2009 1:56:23 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
That is a very good point. I don't think it will continue to work once it is moved out. We will look further to see what we can find.


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.