Dear All,
Can any one help me to do the following scenario:
On page load: Read product group from database and add dynamic button for each group into Doc1(Doc1 already exist in form) - running well.
When I click any of these Doc1.product group button their event handler creates new button with event handler for each product in database related to that group and add them to Doc2. - running well.
My problem is when I click any of the Doc2.product button and after the page is post back the Doc2 return empty and the event handler does not fire.
I appreciate if any one tell me how to keep these Doc2.product buttons exist until I click different Doc1.group button then I clear the Doc2 combonents (buttons) and add new buttons with event handler related to the clicked group.
Best Regads,
MFE
Can any one help me to do the following scenario:
On page load: Read product group from database and add dynamic button for each group into Doc1(Doc1 already exist in form) - running well.
When I click any of these Doc1.product group button their event handler creates new button with event handler for each product in database related to that group and add them to Doc2. - running well.
My problem is when I click any of the Doc2.product button and after the page is post back the Doc2 return empty and the event handler does not fire.
I appreciate if any one tell me how to keep these Doc2.product buttons exist until I click different Doc1.group button then I clear the Doc2 combonents (buttons) and add new buttons with event handler related to the clicked group.
Best Regads,
MFE