BizTalk Blog by Chris Han

System Design for Enterprise Agility,

  Home  |   Contact  |   Syndication    |   Login
  68 Posts | 9 Stories | 173 Comments | 79 Trackbacks

News

Article Categories

Archives

Post Categories

Image Galleries

BizTalk Bloggers

BizTalk on MSDN

Patterns & Architecture

SharePoint

March 2007 Entries

I was trying to create and page with Asp.NET 2.0 and Ajax 1.0. I was using a placeholder control to dynamically load a user control based on the user selection. The first error I encountered is : {"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

In Asp.Net 2.0, you can use StyleSheetTheme in stead of Theme setting to enable design time style in VS IDE. Just make sure you close and reopen the page every time you change the setting. But one day, I encounter this problem: My style setting show up nicely in design time, but disappear when I run the page. By reading this article: http://www.odetocode.com/ar... , I fund that my stylesheet didn't being injected in to the generated HTML at all. As the matter of fact, the whole <head>...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

While I'm walking through the new Asp.net AJAX extension tutorials, one of the example under topic Using the UpdatePanel Control with Data-Bound Controls really catch me. It shows how easy you can create an dynamic survey page with an content XML source. I remembered that back in 2002, how hard I was trying to create such implementation by using xslt and xmldocument class. At that time, java world has a server side solution called 'cocoon'. The basic idea is to translate XML to HTML using a xsl sheet....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati