Last post May 16, 2010 11:17 AM by tmorton
May 16, 2010 05:06 AM|alaa9jo|LINK
I have a question: Is it possible to add a live demo to my article? i.e. If I wrote an article about something/web control and I want to show a live demo about it ?
I saw a few blogs (not in weblogs.asp.net) and the owner of a blog can add a live demo of his/her article which I think it's cool,encourage others to follow the article and attract them to it instantly without wasting time in running the sample locally at
their PC to see it.
I suppose (but not exactly sure) weblogs.asp.net doesn't support such a thing so maybe someone can confirm that,also I would like to know if there will be a plan to implement this feature (if it's not supported yet)?
May 16, 2010 06:01 AM|XIII|LINK
with a live demo you mean something like I did at the end of this article:
Using jQuery ajax to load a partial view in ASP.NET MVC 2 and then retrieve the input on the server again?
I used the freeware tool Jing for that. I used my personal site to host it but they also offer space on screencast.com.
May 16, 2010 06:45 AM|alaa9jo|LINK
mmm...not exactly but it's a good option.
I wanted something like...mmm..take a look at jquery UI page for instance (I know it's not a blog but I'm talking about the demo feature):
as you can see,I can click on the picker and try it myself.
What I want is to write an article about a control I developed and add at the end of it a demo[like in the jquery picker] so others try it,imagine if you can do that for your article;where others can click on Load Products button instead of watching you
doing that in a video.
May 16, 2010 11:17 AM|tmorton|LINK
You definitely wouldn't be able to have a "live demo" of server-side technology.
You could potentially have a demo of client-side technology. If you wanted to do a jquery demo, you'd have to be able to insert the script library into your page. If your options here
http://weblogs.asp.net/controlpanel/blogs/DescOptions.aspx give you the "Raw Header" box, you could enter blocks you'd like to appear in your page's header. (But I don't believe you have
access to the "Raw Header".) You could potentially add script blogs to the News box, like Jon Galloway did here to enable SyntaxHighlighter functionality:
Setting up SyntaxHighlighter using the hosted scripts. I am not sure if you'd be able to upload .js files to your blog; you would need to try that.