ASP.net architecture issue

  • Thread starter Thread starter kw
  • Start date Start date
K

kw

I've developed about a dozen sites with ASP.net and never had much
trouble...until now.

What I wanted to do with the new web app was create a single page with a
treenode collection that would dynamically load content into a placeholder.

I ran into two showstoppers:

1)"The control tree into which viewstate is being loaded must match the
control tree"... Meaning that you can't navigate between nodes without an
error because the dynamic controls loaded in one node do not match the new
node.

2) A treenode loads content which contains an IE Tabstrip/MultiPage which
contains one or more IE Tabstrip/MultiPage's. The innermost MultiPage
controls do not fire events, no matter what you do.

Has anyone else discovered these flaws in ASP? Were you able to come up
with a workaround? If you ditched the architecture, what did you come up
with?

Have a good one,

Dan
 
kw said:
I've developed about a dozen sites with ASP.net and never had much
trouble...until now.

What I wanted to do with the new web app was create a single page with a
treenode collection that would dynamically load content into a placeholder.

I ran into two showstoppers:

1)"The control tree into which viewstate is being loaded must match the
control tree"... Meaning that you can't navigate between nodes without an
error because the dynamic controls loaded in one node do not match the new
node.

2) A treenode loads content which contains an IE Tabstrip/MultiPage which
contains one or more IE Tabstrip/MultiPage's. The innermost MultiPage
controls do not fire events, no matter what you do.

Has anyone else discovered these flaws in ASP? Were you able to come up
with a workaround? If you ditched the architecture, what did you come up
with?

Make sure that you load the same controls in the same order on every
request. That's the only way you'll get ViewState and events to work
correctly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top