Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have 2 overlay , the first overlay (hdOverlay) is displayed ondouble click of row(from javascript), and second overlay is displayed on click of button(btnViewDeals) present in first overlay(from code behind), till this process we get IsPostBack true (i.e., page is postback), but on click of button(btn1) present in second overlay page is reloading(i.e., IsPostBack is false )and not going to button click event.Please anyone help i want IsPostback true and proceed furthur .Thanks in advance

JavaScript
<div id="hdOverlay" style="display: none; removed: absolute; border: 1px; background-color: #fffff0;border-removed #000000 1px solid; border-removed #000000 1px solid;<br mode=" hold=" />        border-right: #000000 1px solid; border-top: #000000 1px solid;width: 700px;">
        <form id="hdDealForm" action="">
<table width="100%">
            <tr>
                <td align="left">
<asp:Button ID="btnViewDeals" runat="server" CssClass="formButton" Text="View Deals" OnClick="btnViewDeals_Click" />
 </td>
</tr>
</table>
</form>
    </div>

<div id="hdoverlayDealDetails"  runat="server" style="display: none; position: absolute;
        top: 100px; left: 100px;">
        <form id="hdDealDetails" action="" style="width: 80%; margin: 0 auto; padding: 5px;
        background-color: #fffff0; border: solid 1px #000000; z-index: 2">
        <table width="100%">
            <tr>
                <td>
<asp:Button ID="btn1" Text="Export" CssClass="formButton" runat="server"
                        Visible="false" OnClick="btn1_Click" />
 </td>
            </tr>
</table>
</form>
Posted
Updated 10-Sep-12 4:28am
v2

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