CoDe Magazine
Re: Question about ASP.NET runtime for extending desktop apps
11/17/2008
11:49:24 AM
2II0PCDBN Show this entire thread in new window
From:
Rick Strahl
To:
Paul
Attachments:
None

You need to run through a Web Server to do this. You can use Cassini to do this - locally run the server and run the app through this server...

OTOH, I'm not sure why the _doPostback and event target stuff wouldn't work. Those should be generated. The difficulty is in handling these events properly as postbacks when running through the Web Browser control.

+++ Rick ---

Hello Rick/All,

Thanks for your article about hosting the ASP.NET runtime within a desktop app, this helped me!

However, I'm trying to extend your application to allow me to host ASPX pages that contain web controls like Treeview etc.. I used the 'RawRuntime' test.aspx and added a simple form + treeview. The problem I have is that the generated HTML doesn't contain the __dopostback() function. It's also missing the __EVENTTARGET hidden values and also the WebResources.axd doesn't appear to work (i.e, the little 'plus' images don't render on the treeview).

Any help or pointers would be really appreciated.

Many thanks

Paul.





Rick Strahl
West Wind Technologies

Where do you want to surf today?
Reader Version: 5.0

from Maui, Hawaii


HTML Help Builder