I’ve a following requirement for my asp.net page:
-
User can add a textbox dynamically on a page A by clicking on link ‘Add a new category’ hyperlink
-
He clicks submit button on page A and gets redirected to page B.
-
When he clicks on page A link from this page, the textboxes that he added should be persisted.
Can someone help me with the code on this?
Appreciate your help!
In the ButtonClick Method write.
The Parent is the control you want to add the textbox to, for instance a panel.
You can also look at this resource.
Hope it helps.