Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Am using calendar extendar to select the date. Based on date am showing the records in pdf using iframe. after showing the record if i click the date calendar is going behind the iframe. Only in IE7 and IE8 its not working. below IE7 its working.

Am have tried z index. but no use. Please can anyone solve my prob.

This is my code

XML
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr>
        <td align="center" style="width: 100%; position: relative;">
            <div>
                <asp:Label ID="Label1" runat="server" CssClass="LabelStyle1" 
                           Font-Bold="False" Text="As of date"></asp:Label>
                <asp:TextBox ID="txtSrtDate" CssClass="TextBoxStyle1" 
                             onclick="javascript:return hi();"
                             runat="server" Width="100px"></asp:TextBox>
                <cc1:CalendarExtender EnableViewState="true" ID="dtDate" 
                                      TargetControlID="txtSrtDate"
                                      Format="dd/MM/yyyy" runat="server">
                </cc1:CalendarExtender>
                <asp:Button ID="btnShow" runat="server" CssClass="ButtonLoginPage"
                            Text="Show" ValidationGroup="DateValidation" />
            </div>
        </td>
    </tr>
    <tr>
        <td align="left">
            <div id="div2">
                <iframe runat="server" id="ifShowPdf" visible="false" width="100%" 
                        height="650px">
                </iframe>
            </div>
        </td>
    </tr>
</table>


Thank You

[Modified: just fixed the tabbing so it was more readable.]
Posted
Updated 1-Jul-10 6:20am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900