Click here to Skip to main content
11,928,919 members (54,498 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# 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%">
                <td align="left">
<asp:Button ID="btnViewDeals" runat="server" CssClass="formButton" Text="View Deals" OnClick="btnViewDeals_Click" />
<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%">
<asp:Button ID="btn1" Text="Export" CssClass="formButton" runat="server"
                        Visible="false" OnClick="btn1_Click" />
Posted 10-Sep-12 5:24am
Edited 10-Sep-12 5:28am

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 10 Sep 2012
Copyright © CodeProject, 1999-2015
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