I have been working frantically on creating a UI with a navigation menu on the right (hyperlinks) that loads user controls dynamically in a placeholder in the middle. The hyperlinks load the page and pass the proper values to
the user control using the querystring, this is based on Scott McCulloch's PM module. Everything works fine, but I'm reloading several controls on the parent for each hyperlink. I've tried using LinkButtons that just do a postback but not able to handle
the event calls from the user controls. I've read Scott Mitchell's article on
Creating Dynamic Data Entry User Interface, and just not able to get it to work the way I wanted.
I've now created a parent user control with an IFrame tag. The parent UC has the same hyperlinks using the IFrame as the target. Each hyperlink loads a webform instead of a user control. With the webform I'm able to handle all datagrid event calls (edit
and delete) in the child and the parent data is not being constantly reloaded.
Does anyone have any experience using iframes vs placeholders? Just wondering if I'm heading down the right path here.
kenk
Member
175 Points
40 Posts
IFrame vs Placeholder
Sep 22, 2005 03:04 PM|LINK
I have been working frantically on creating a UI with a navigation menu on the right (hyperlinks) that loads user controls dynamically in a placeholder in the middle. The hyperlinks load the page and pass the proper values to the user control using the querystring, this is based on Scott McCulloch's PM module. Everything works fine, but I'm reloading several controls on the parent for each hyperlink. I've tried using LinkButtons that just do a postback but not able to handle the event calls from the user controls. I've read Scott Mitchell's article on Creating Dynamic Data Entry User Interface, and just not able to get it to work the way I wanted.
I've now created a parent user control with an IFrame tag. The parent UC has the same hyperlinks using the IFrame as the target. Each hyperlink loads a webform instead of a user control. With the webform I'm able to handle all datagrid event calls (edit and delete) in the child and the parent data is not being constantly reloaded.
Does anyone have any experience using iframes vs placeholders? Just wondering if I'm heading down the right path here.
Thanks