Welcome Guest Search | Active Topics | Sign In | Register

Dialog calling another dialog , both becomes inactive and none can be selected Options
Ramy
Posted: Thursday, May 24, 2012 6:56:09 AM
Rank: Member
Groups: Member

Joined: 3/8/2011
Posts: 19
Dear Sir
I have created a user control which opens a modal dialog, that user control i have put on another modal dialog.
When i run the second dialog opens up, also the data is shown, but the both the dialogs become inactive and i can not select it by mouse or keyboard.

following is the code

Dialog 1
Code: HTML/ASPX
<eo:Dialog runat="server" id="ReviseDocDialog" ControlSkinID="None" Width="500px" HeaderHtml='
"padding-top:5px">Upload Document Revision</div>' Height="312px" BackColor="#ECE9D8" CloseButtonUrl="00020440" ForeColor="Black" AcceptButton="ReviseDocDialogbtnCloseDialog" AcceptButtonPostBack="true" HeaderImageUrl="00020441" HeaderImageHeight="27" AllowResize="True" MinHeight="100" MinWidth="150" IsModal="true" > <FooterStyleActive CssText="background-color:#f0f0f0;padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></FooterStyleActive> <HeaderStyleActive CssText="background-image:url(00020442);color:#444444;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-a:0px;padding-b:0px;padding-bottom:7px;padding-c:0px;padding-d:0px;padding-left:8px;padding-right:0px;padding-top:0px;"></HeaderStyleActive> <ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:9pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;"></ContentStyleActive> <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"></BorderImages> <ContentTemplate> <center> <eo:CallbackPanel ID="Dialogcbpnl" runat="server" Triggers="{ControlID:ReviseDocDialogbtnSaveRevision;parameter:}" > <asp:CustomValidator ID="vldtr" runat="server" Font-Size="10px" ForeColor="Red"></asp:CustomValidator> <table cellpadding="2px" cellspacing="2px" style="vertical-align:middle; text-align:left; width:100%; border-bottom-style:double; border-bottom-color:#D8DBCD; border-left-style:double; border-left-color:#D8DBCD; border-right-style:double; border-right-color:#D8DBCD; border-top-style:double; border-top-color:#D8DBCD;"> <tr> <td> <strong>Doc Ref No</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblDocRefNo" runat="server" ></asp:Label> </td> <td> <strong>Doc Date</strong> </td> <td> <eo:DatePicker ID="ReviseDocDialogdtpDocDate" runat="server" PickerFormat="dd/MM/yyyy" ControlSkinID="None" DayCellHeight="16" DayCellWidth="22" DayHeaderFormat="Short" DisabledDates="" MonthSelectorVisible="True" SelectedDates="" TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" WeekSelectorVisible="True"> <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" /> <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" /> <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" /> <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" /> <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" /> <PickerStyle CssText="font-family: Arial, Helvetica, sans-serif;" /> <PickerStyle CssText="font-family: Arial, Helvetica, sans-serif;" /> <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" /> <TodayStyle CssText="background-image:url('00040106');" /> <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" /> <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" /> <FooterTemplate> <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;"> <img src="{img:00040106}" alt="a"> Today: {var:today:MM/dd/yyyy} </img></div> </FooterTemplate> </eo:DatePicker> </td> </tr> <tr> <td> <strong>Discipline</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblDisciplineName" runat="server" ></asp:Label> </td> <td> <strong>Document Type</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblDocTypeName" runat="server" ></asp:Label> </td> </tr> <tr> <td> <strong>File Path</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblSubFolderPath" runat="server" ></asp:Label> </td> <td> <strong>File Name</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblFileName" runat="server" ></asp:Label> </td> </tr> <tr> <td> <strong>Version No</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblVersion" runat="server" ></asp:Label> </td> <td> <strong>Last Updated Date</strong> </td> <td> <asp:Label ID="ReviseDocDialoglblLastUpdatedDate" runat="server" ></asp:Label> </td> </tr> <tr> <td> <strong>Mng Sys: Rev No</strong> </td> <td> <asp:TextBox id="ReviseDocDialogtxtBoxQMSRevNo" runat="server"></asp:TextBox> </td> <td> <strong>Mng Sys: Issue No</strong> </td> <td> <asp:TextBox id="ReviseDocDialogtxtBoxQMSIssueNo" runat="server"></asp:TextBox> </td> </tr> <tr> <td> <strong>Document Link</strong> </td> <td colspan="3"> <asp:Label ID="ReviseDocDialoglblDocLink" runat="server"></asp:Label> </td> </tr> <tr> <td> <strong>Upload New File</strong> </td> <td colspan="3"> <eo:AJAXUploader ID="ReviseDocDialogFileUploader" runat="server" AutoUpload="True" MaxDataSize="100000" TempFileLocation="~/eo_upload" Width="400px" MaxFileCount="1" EnableViewState="true" > <LayoutTemplate> <table border="0" cellpadding="0" cellspacing="0" width="400px"> <tr> <td> <asp:PlaceHolder runat="server" id="InputPlaceHolder">Input Box Place Holder </asp:PlaceHolder> </td> </tr> <tr> <td align="right"> <asp:Button runat="server" ID="UploadButton" Text="Upload" Visible="False" /> </td> </tr> <tr> <td> <eo:ProgressBar runat="server" id="ProgressBar" ControlSkinID="Windows_XP" /> </td> </tr> <tr> <td> <asp:PlaceHolder runat="server" id="ProgressTextPlaceHolder">Progress Text Place Holder </asp:PlaceHolder> </td> </tr> <tr> <td align="right"> <asp:Button runat="server" ID="CancelButton" Text="Cancel" Visible="False" /> </td> <tr> <td> <asp:PlaceHolder runat="server" id="PostedFilesPlaceHolder">Posted Files Place Holder </asp:PlaceHolder> </td> </tr> <tr> <td align="right"> <asp:Button runat="server" ID="DeleteButton" Text="Delete Selected Files" /> </td> </tr> </table> </LayoutTemplate> </eo:AJAXUploader> </td> </tr> </table> <br /> <center> <asp:LinkButton ID="ReviseDocDialogbtnSaveRevision" Text="Click here to Save" Font-Underline="true" runat="server" /> </center> <asp:Label ID="ReviseDocDialoglblFinalMessage" runat="server" ForeColor="Green" Font-Size="14px"></asp:Label> </eo:CallbackPanel> <hr /> <asp:CheckBox ID="ReviseDocDialogchkDistribute" Text="Distribute Again" runat="server" /> <table width="100%"> <tr> <td> <strong>Distribution</strong> </td> </tr> <tr> <td> Action By </td> <td> <uc1:ADPeoplePicker ID="ReviseDocDialogpPickerActionBy" runat="server" /> </td> </tr> <tr> <td> Copy To </td> <td> <uc1:ADPeoplePicker ID="ReviseDocDialogpPickerCopyTo" runat="server" /> </td> </tr> </table> </center> </ContentTemplate> <FooterTemplate> <center> <asp:Button ID="ReviseDocDialogbtnCloseDialog" runat="server" Text="Close" /> </center> </FooterTemplate> </eo:Dialog>


User control uc1:ADPeoplePicker
Code: HTML/ASPX
<script type="text/javascript" language="javascript">
    function ClearValues(a, b) {
        if (a != null)
            a.value = "";



        if (b != null)
            b.value = "";
    }

    function MakeFocusonList() {
        var lst = document.getElementById("<%=lstADUsers.ClientID %>")
        lst.focus();
    }


    function btnOk_Click(id, name, cmb) {
        if (cmb != null) {
            var listLength = cmb.options.length;
            for (var i = 0; i < listLength; i++) {
                if (cmb.options[i].selected) {
                    //lst2.options.add(sel.options[i].text);            
                    //lst2.options[list2length] = new Option(sel.options[i].text);
                    //list2length++;
                    //alert(cmb.options[i].value);
                    //alert(cmb.options[i].text);
                    if (id.value == "") {
                        id.value = cmb.options[i].value;
                        name.value = cmb.options[i].text;
                    }
                    else {
                        id.value = id.value + ", " + cmb.options[i].value;
                        name.value = name.value + ", " + cmb.options[i].text;
                    }
                }
            }
        }

    }

</script>



<div class="entry">
<table>
<tr>
<td>
<eo:CallbackPanel id="CallbackPanel1121" runat="server" GroupName="ADPP"   Triggers="{ControlID:btnClear;Parameter:clear}"
	LoadingHTML="Loading..." OnExecute="btnSearch_Click">
<asp:TextBox ID="txtBoxSelectedPersonName" runat="server" ReadOnly="True"    style="font-family: Arial, Helvetica, sans-serif;"
    TextMode="MultiLine" Width="300px"></asp:TextBox>
    <asp:TextBox ID="txtBoxSelectedADLoginId" runat="server"  ReadOnly="true" Width="0px" Height="0px" ></asp:TextBox>
</eo:CallbackPanel>
    </td>
    <td style="vertical-align:bottom;">
    <asp:LinkButton ID="btnSelect" Text="Select" runat="server"></asp:LinkButton>  
    <asp:LinkButton ID="btnClear" Text="Clear" runat="server"></asp:LinkButton>
    </td>
    </tr>
    </table>
    

<eo:Dialog runat="server" id="Dialog1" ControlSkinID="None" Width="412px" HeaderHtml='
"padding-top:5px">Select Person(s)</div>' Height="312px" BackColor="#ECE9D8" CloseButtonUrl="00020440" ClientSideOnAccept="changeDialogOpenValue" AcceptButton="btnOK" AcceptButtonPostBack="true" HeaderImageUrl="00020441" HeaderImageHeight="27" AllowResize="True" MinHeight="100" MinWidth="150" IsModal="true" > <FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></FooterStyleActive> <HeaderStyleActive CssText="background-image:url(00020442);color:#444444;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-a:0px;padding-b:0px;padding-bottom:7px;padding-c:0px;padding-d:0px;padding-left:8px;padding-right:0px;padding-top:0px;"></HeaderStyleActive> <ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;"></ContentStyleActive> <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"></BorderImages> <ContentTemplate > <eo:CallbackPanel LoadingHTML="Loading..." ID="DialogCallBackPanel" runat="server" Triggers="{ControlID:btnOk; Parameter:" GroupName="ADPP"> <eo:TabStrip runat="server" id="TabStrip1" ControlSkinID="None" Width="100%" EnableScrolling="true" MultiPageID="MultiPage1"> <TopGroup> <Items> <eo:TabItem Text-Html="NMDC Users"></eo:TabItem> <eo:TabItem Text-Html="EDMS Email Groups"></eo:TabItem> </Items> </TopGroup> <LookItems> <eo:TabItem Height="21" HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010502); background-repeat: repeat-x" ItemID="_Default" RightIcon-Url="00010505" RightIcon-SelectedUrl="00010509" RightIcon-HoverUrl="00010507" NormalStyle-CssText="position: relative; top: 2px; background-image: url(00010501); background-repeat: repeat-x" SelectedStyle-CssText="background-image: url(00010503); background-repeat: repeat-x" LeftIcon-Url="00010504" LeftIcon-SelectedUrl="00010508" LeftIcon-HoverUrl="00010506" Text-Padding-Top="1" Text-Padding-Bottom="2"> <SubGroup Style-CssText="background-image:url(00010510);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:'Microsoft Sans Serif',Verdana;font-size:8.25pt;" ItemSpacing="1"></SubGroup> </eo:TabItem> </LookItems> </eo:TabStrip> <eo:MultiPage runat="server" id="MultiPage1" Width="100%"> <eo:PageView ID="pgADUsers" runat="server"> <asp:ListBox SelectionMode="Multiple" Height="220px" Width="400px" ID="lstADUsers" runat="server" TabIndex="0" ></asp:ListBox> <br /> <p style="color:Black">Press Ctrl Key to select multiple people</p> </eo:PageView> <eo:PageView ID="pgEmailGroups" runat="server"> <asp:ListBox Height="220px" Width="400px" ID="lstEmailGrp" runat="server" TabIndex="0" ></asp:ListBox> </eo:PageView> </eo:MultiPage> <center> <asp:Button ID="btnOK" Text="Ok" runat="server"></asp:Button> </center> </eo:CallbackPanel> </ContentTemplate> </eo:Dialog> </div>
eo_support
Posted: Friday, May 25, 2012 12:18:46 PM
Rank: Administration
Groups: Administration

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

Please download the new build from our download page. We have confirmed this to be a bug and fixed it.

Thanks!
Ramy
Posted: Sunday, May 27, 2012 1:47:01 AM
Rank: Member
Groups: Member

Joined: 3/8/2011
Posts: 19
I downloaded the latest update but now it is showing the license error.
I think you need to send me the new licx file.
Regards
eo_support
Posted: Sunday, May 27, 2012 9:23:13 AM
Rank: Administration
Groups: Administration

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

You can download it from your account. Just click "View" under "License Key" for your latest order.

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.