vinod kumar23 reputationPosted Jul 5, 2013, 3:14 AM EDT
0
hi sanjeeb..
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!!!
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 5, 2013, 2:54 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 5, 2013, 2:57 AM EDT
you can do like this
In your aspx
In your code behind
private string _data;
Regards,
Iftikar
Kunal VaishyaRank #990 · 2K reputationPosted Jul 5, 2013, 3:13 AM EDT
vinod kumar23 reputationPosted Jul 5, 2013, 3:14 AM EDT
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!!!
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 5, 2013, 3:29 AM EDT
In your aspx
Regards,
Iftikar
vinod kumar23 reputationPosted Jul 5, 2013, 4:24 AM EDT
but with this code i am able to generate only the txtboxes and not what i actually require..
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 5, 2013, 4:25 AM EDT
Regards,
Iftikar
vinod kumar23 reputationPosted Jul 5, 2013, 4:31 AM EDT
code behind
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 5, 2013, 4:37 AM EDT
Regards,
Ifitkar
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts