Button click event not getting not fired which is placed inside a panel for Model popup extender.

Posted by Sateeshkumar.Singupuram under ASP.NET on 7/15/2013 | Points: 10 | Views : 2357 | Status : [Member] | Replies : 3
Hi ,
i am new to web application development and i have a problem in my code with button click event. i am using a model popup extender control so inside the panel i have a button. on click of which i need to write some code in the code behind but all that is stopping me to do so is Button Click Event for that button. which is not getting fired. and model popup is fine.
here is my code follows.
<asp:Panel ID="pnlpopup" runat="server" BackColor="White" Height="269px" Width="400px" >
<table width="100%" style="border: Solid 3px #D55500; width: 100%; height: 100%"
cellpadding="0" cellspacing="0">
<tr style="background-color: Silver">
<td colspan="2" style="height: 10%; color: Black; font-weight: bold; font-size: larger"
align="center">
Manufacture Details
</td>
</tr>
<tr style="background-color: Silver">
<td class="style28">
Manufacture Name :
</td>
<td >
<asp:Label ID="lblusername" runat="server"></asp:Label>
</td>
</tr>
<tr style="background-color: Silver">
<td colspan="2" >Please Select the Manufacture if already existed <br /> in the Database</td>
</tr>

<tr style="background-color: Silver">
<td colspan="2" valign="top" class="style27">
<asp:Panel ID="pnlManufacture" runat="server" ScrollBars="Auto" Height="116px"
Width="394px">
<table><tr><td align ="center"><asp:RadioButtonList ID="rdblManufacture"
runat="server" Height="113px" Width="377px"></asp:RadioButtonList></td></tr></table>
</asp:Panel>
</td>
</tr>
<tr style="background-color: Silver">
<td align="center" colspan="2">
<asp:Button ID="btnUpdate" runat="server" CommandName="Update"
Text="Update" OnClick="btnUpdate_Click" /> &nbsp;&nbsp;
<asp:Button ID="btnCancel" runat="server" Text="Cancel" />
</td>
</tr>

</table>
<span style="display: none">
<asp:Button ID="btnInvisCancel" runat="server" />
</span>
</asp:Panel>



code behind :

protected void btnUpdate_Click(object sender, EventArgs e)
{

}

sateesh kumar singupuram


Responses

Posted by: Venkat0454 on: 7/15/2013 [Member] Starter | Points: 25

Up
0
Down
it's working fine

Sateeshkumar.Singupuram, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sateeshkumar.Singupuram on: 7/15/2013 [Member] Starter | Points: 25

Up
0
Down
hi venkat,
thanks for your reply but teh same code which i have posted not working in my pc. can you please send that code to me as a demo project. so that i can verify here.

thanks,
sateesh

sateesh kumar singupuram

Sateeshkumar.Singupuram, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Venkat0454 on: 7/15/2013 [Member] Starter | Points: 25

Up
0
Down
check this file
 Download source file

Sateeshkumar.Singupuram, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response