Calendar is showing behind the iframe in asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Toniyo Jackson
    New Member
    • Jun 2010
    • 4

    Calendar is showing behind the iframe in asp.net

    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

    Code:
     <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>
                                &nbsp;&nbsp;
                                <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>
                                                          &nbsp;&nbsp;&nbsp;&nbsp;<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>
    Thanking You
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    When you tried the z-index...did you set the iframe's zindex to something lower than the calendar?

    Comment

    • Toniyo Jackson
      New Member
      • Jun 2010
      • 4

      #3
      I tried that also. still not working

      Comment

      Working...