Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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
 
<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 10-Sep-12 5:24am
Edited 10-Sep-12 5:28am
(no name)105.8K
v2

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



Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 10 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100