Hi all,
I have:
1. I have a place holder: phAT
2. I have a usercontrol which has just a datagrid in it.
3. I get data from the database and if get different categories.
4. I bind the datagrid with each category. I do not know how many categories will be.
5. The datagrid has a checkbox column (bound)
6. Once bound, I add the datagrid into the placeholder one by one.
--------------------------------------------------------------
Issue
1. Even though when i try to change the ID of the datagrid, it does not get changed, however, the controls within the datagrid do have the changed id. Hence, I get multiple <html> snippets with same ID.
2. Initially I was losing the placeholder upon postback. But then I came across an article that I need to rebuild the placeholder contents everytime in Page_Init. Which works fine now. THE ISSUE is that, upon reload, I lose all the checked items!!!
Please HELP!