Duplicate Control Creation on button click event
I am using ASP.NET as front design and C# as back code.
I am trying to create some TextBox server side control dynamically.
On button click event. Problem is every time i am clicking on the button i am getting control two times. I am trying to create the TextBoxes inside a HTML Table
So i don't know the reason of duplication.
I hv tried using code for the click butten event
I hv tried PostBack Event and without PoastBack Event too, either is not working.
if(!Page.IsPostBack)
{
//code for creating the control dynamically
}
Can anybody clarify on this front ??
Thanking you in advance
KG
__________________
KG
|