how to append textboxes upon textchanged in a textbox
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 5, 2013, 8:37 AM
Regards,
Ifitkar
vinod kumarPosted Jul 5, 2013, 8:31 AM
code behind
Iftikar HussainPosted Jul 5, 2013, 8:25 AM
Regards,
Iftikar
vinod kumarPosted Jul 5, 2013, 8:24 AM
but with this code i am able to generate only the txtboxes and not what i actually require..
Iftikar HussainPosted Jul 5, 2013, 7:29 AM
In your aspx
Regards,
Iftikar
vinod kumarPosted Jul 5, 2013, 7:14 AM
at first a textbox accepts the no. of textboxes to display upon btnclick.(suppose txtbox id is txtmain.) then the reqd no of txtboxes are displayed.therafter the text in txtmain is changed.
For eg:let initially text in txtmain be 5 and 5 textboxes are displayed after button click.
then text in txtmain is changed to 10.
Now the previous 5 txtboxes shud not be deleted instead 5 new txtboxes to be added.and also the text in prev 5 txtboxes shud not be changed.
Help me to solve this!!!
Kunal VaishyaPosted Jul 5, 2013, 7:13 AM
Iftikar HussainPosted Jul 5, 2013, 6:57 AM
you can do like this
In your aspx
In your code behind
private string _data;
Regards,
Iftikar
Sanjeeb LenkaPosted Jul 5, 2013, 6:54 AM