R
Roland Dick
Hi,
I have a website which has navigation links on the left. What I would
like to achieve is that a user clicks a link, the navigation bar stays
where it is and only the content gets loaded into a div; and all that
without using a frameset or an iframe. (It's a client's requirement..
you know how they are!)
Other sites do that as well: They create an XMLHTTPRequest object via JS
and write the resulting HTML (minus headers and footers) into a div. I
tried to do that and it works quite well - except for the "small"
drawback that the content ASP.NET page can not be used, i.e. clicks
trigger a postback as they should, but ASP.NET realizes that the
viewstate is wrong and throws an exception.
I'm not sure how other languages such as PHP do it, I suspect they
simply have several form tags on one page. Since you can't have two
ASP.NET forms and therefore two viewstates on a single page however, I'm
out of ideas how to solve that.
Anybody a pointer for me?
Thanks,
Roland
I have a website which has navigation links on the left. What I would
like to achieve is that a user clicks a link, the navigation bar stays
where it is and only the content gets loaded into a div; and all that
without using a frameset or an iframe. (It's a client's requirement..
you know how they are!)
Other sites do that as well: They create an XMLHTTPRequest object via JS
and write the resulting HTML (minus headers and footers) into a div. I
tried to do that and it works quite well - except for the "small"
drawback that the content ASP.NET page can not be used, i.e. clicks
trigger a postback as they should, but ASP.NET realizes that the
viewstate is wrong and throws an exception.
I'm not sure how other languages such as PHP do it, I suspect they
simply have several form tags on one page. Since you can't have two
ASP.NET forms and therefore two viewstates on a single page however, I'm
out of ideas how to solve that.
Anybody a pointer for me?
Thanks,
Roland