Ales Rosina's blog

shelastyle.net
Subscribe

ASP.NET include remote HTML



 

So, you have a webpage. And than you have to include some HTML from remote server? And there is no web service, AJAX Json or any other advanced stuff, just plain include, right? Well, it’s pretty easy to do that with ASP.NET.
Just today I needed that functionality and I did some easy setup here.
I have used Web User Control, so the code is a little bit more viewable than including function in page.
I have uploaded code on my SkyDrive, so you can easily download it (for code look below for a link). Here are just some very simple instructions on how to use it:

That’s it! Oh, and here is direct download from my SkyDrive.

Bookmark and Share
author: Aleš Rosina | Comments: 0 | Tags: ,
08
May
2009

 

There are no comments yet...Kick things off by posting your opinion.

Leave a Comment

Name:
Email:
I respect your privacy, so your email is never published.
Web site: