Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Building XML editor in .NET 2.0

Thanks to Hannes Preishuber  feedback,
I found how to write it with WebBrowser control (C# version)

object
obj = webBrowser1.ActiveXInstance;
HtmlDocument hd = webBrowser1.Document;
IHTMLDocument2 axObj = hd.DomDocument as IHTMLDocument2;
axObj.designMode = "On";

 

28 Comments

  • Make sure that you add this code in Navigated event of webbrowser control. Otherwise this would not work when you call immediately after webbrower.Navigate(....

  • Hello,
    Hi I want Xml editor in asp.net 2.0 . please help me

  • Try XML Webpad - http://xmlwebpad.codeplex.com/

    It's developed using C#, JavaScript and .Net 3.5. This is a framework to view and edit XML files that can be easily integrated embedded with any ASP.Net web application.


  • I’m impressed, I have to admit. Seldom do I come across a blog that’s both educative and entertaining, and without a doubt, you have hit the nail on the head. The issue is something that not enough folks are speaking intelligently about. Now i'm very happy that I stumbled across this during my hunt for something concerning this.


  • Next time I read a blog, Hopefully it doesn't fail me just as much as this particular one. I mean, Yes, it was my choice to read, however I actually thought you would have something interesting to say. All I hear is a bunch of moaning about something you could possibly fix if you were not too busy looking for attention.


  • I’m impressed, I have to admit. Rarely do I come across a blog that’s equally educative and engaging, and without a doubt, you've hit the nail on the head. The issue is something which not enough people are speaking intelligently about. Now i'm very happy that I stumbled across this in my search for something relating to this.


  • Way cool! Some extremely valid points! I appreciate you writing this article plus the rest of the site is really good.


  • I love it when folks get together and share thoughts. Great blog, continue the good work!


  • Good information. Lucky me I discovered your site by chance (stumbleupon). I've saved as a favorite for later!


  • Spot on with this write-up, I absolutely believe this site needs a great deal more attention. I’ll probably be returning to read through more, thanks for the info!


  • Good post. I learn something new and challenging on websites I stumbleupon on a daily basis. It's always exciting to read articles from other writers and practice a little something from other websites.


  • Greetings! Very helpful advice in this particular post! It's the little changes which will make the most significant changes. Thanks for sharing!


  • The next time I read a blog, Hopefully it won't disappoint me as much as this one. I mean, I know it was my choice to read through, however I genuinely thought you'd have something useful to say. All I hear is a bunch of whining about something you could fix if you were not too busy looking for attention.


  • This is the right website for anyone who really wants to understand this topic. You realize so much its almost tough to argue with you (not that I really will need to…HaHa). You definitely put a brand new spin on a subject that has been written about for many years. Great stuff, just excellent!


  • Hi there! This post could not be written much better! Looking through this article reminds me of my previous roommate! He continually kept preaching about this. I am going to forward this article to him. Fairly certain he'll have a good read. I appreciate you for sharing!


  • Good day! I could have sworn I’ve visited this website before but after browsing through some of the articles I realized it’s new to me. Nonetheless, I’m certainly pleased I discovered it and I’ll be book-marking it and checking back regularly!


  • You ought to take part in a contest for one of the finest websites online. I am going to highly recommend this web site!


  • Pretty! This was a really wonderful article. Many thanks for supplying this info.


  • I’m impressed, I have to admit. Rarely do I come across a blog that’s both educative and entertaining, and without a doubt, you've hit the nail on the head. The issue is something too few folks are speaking intelligently about. I'm very happy that I came across this in my search for something relating to this.


  • There's certainly a lot to learn about this topic. I really like all of the points you've made.


  • Nice post. I learn something totally new and challenging on websites I stumbleupon every day. It will always be useful to read through content from other writers and use something from their sites.


  • The next time I read a blog, I hope that it won't fail me as much as this one. I mean, I know it was my choice to read through, but I truly believed you would probably have something interesting to say. All I hear is a bunch of crying about something that you could fix if you were not too busy looking for attention.


  • I was able to find good advice from your articles.


  • This website was... how do I say it? Relevant!! Finally I have found something which helped me. Thanks a lot!


  • Nice post. I learn something new and challenging on websites I stumbleupon everyday. It will always be helpful to read content from other writers and practice a little something from their sites.


  • There's certainly a great deal to know about this topic. I love all the points you have made.


  • Good web site you have got here.. It’s hard to find good quality writing like yours nowadays. I really appreciate people like you! Take care!!

  • It competes primarily with services such as Travel FHTM, FABSC yberfitness, home security,
    health care and the prison system, but argued that a healthy economy is
    key to bringing attention to your grand opening. If you treat your customers good they will
    not fund your seo. Seagate will provide additional financial information for the combined
    company on its fiscal second quarter conference call in
    late January. Don't bore your staff or others during your next meeting, when you will receive funds.

Comments have been disabled for this content.