ASP.Net button appears twice in run time
-
I have a page with a grid view and it has a link button called Details. When I click on Details it shows the detailed view below panel with all textboxes and dropdowns. I also have a button Export-to-Excel. This button when first loaded will be one. But soon clicked on detailed view it appears twice. wondering where is this coming from. I don't see anything wrong on ASPX page.
Your help is much appreciated. Thanks Happy Coding!
-
I have a page with a grid view and it has a link button called Details. When I click on Details it shows the detailed view below panel with all textboxes and dropdowns. I also have a button Export-to-Excel. This button when first loaded will be one. But soon clicked on detailed view it appears twice. wondering where is this coming from. I don't see anything wrong on ASPX page.
Your help is much appreciated. Thanks Happy Coding!
-
I have a page with a grid view and it has a link button called Details. When I click on Details it shows the detailed view below panel with all textboxes and dropdowns. I also have a button Export-to-Excel. This button when first loaded will be one. But soon clicked on detailed view it appears twice. wondering where is this coming from. I don't see anything wrong on ASPX page.
Your help is much appreciated. Thanks Happy Coding!
Try to check your detailed button click-event in code behind if you have declare the button in The second button click-event that will happened ,or if declare your button in The page-load event That will happened tow if it does not work try to post your code
-
How did you make the button? In Code behind or using the Web form, perhaps Javascript? Is this a ASP.Net Object Button?
-
Try to check your detailed button click-event in code behind if you have declare the button in The second button click-event that will happened ,or if declare your button in The page-load event That will happened tow if it does not work try to post your code