Best way to make xml file editable on webhttp://forums.asp.net/t/1804708.aspx/1?Best+way+to+make+xml+file+editable+on+webSat, 26 May 2012 01:44:59 -040018047084985261http://forums.asp.net/p/1804708/4985261.aspx/1?Best+way+to+make+xml+file+editable+on+webBest way to make xml file editable on web <p><span>I have a huge configuration file(xml based), which is frequently updated by the customer. Now i don't want user to make configuration changes directly to the file as user may enter invalid data which can invalidate the file. For now i have a form which takes inputs from user and then at server side i am using xpath to edit the xml.The UI experience is poor as you can enter multiple child tags to a parent and for each addition there's a postback to server and also it requires a lot of user inputs as to know where in the dom he wants to add the tags. Is there any way i can represent my xml in html editable form and provide user with dropdowns to select values from and also he can add new tags. I am open to technologies, JS, php, .net , java or any client side library.</span></p> 2012-05-17T11:49:59-04:004987722http://forums.asp.net/p/1804708/4987722.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>Hello Star nijhawan</p> <p>First MANY thanks for your help to contribute to the Community</p> <p>Then to be honestuntil now xml is used as a datasource hasn't been directly supported by MS with a very nice controlbut I think we can export the xml file into the form of DataTable by using DataSet.ReadXml and then bind the DataTable to the GridViewin the endwe can handle some events of the GridView and do to deal with changes to the DataTable in memoryin the endwhat we can do is just call DataSet.WriteXml to export the all data contents into xml file</p> <p>If you are interested in thisI'd like to show you my sampleplease if possible leave your message and email here</p> <p>Reguards</p> 2012-05-19T00:24:07-04:004988249http://forums.asp.net/p/1804708/4988249.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>Hello Decker,</p> <p>I have been working on this for a bit now and the best solution for editing xml(when i say best i mean best UI experience) seems to be <span>&nbsp;</span><a href="http://xmlgrid.net/demo.html" rel="nofollow">XmlGrid</a>&nbsp;which i am using.</p> <p>And for generating a new XML on basis on user input i have created a UI which allows users to add one or multiple child elements and uses LINQ to XML and xpath.</p> <p></p> <p>I am not sure how using GridView &nbsp;we can show and edit hierarchical data .I'd be nice to see some sample and explore more and better possibilities.</p> 2012-05-19T17:32:57-04:004988381http://forums.asp.net/p/1804708/4988381.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>nijhawan.saurabh</h4> I am not sure how using GridView &nbsp;we can show and edit hierarchical data .I'd be nice to see some sample and explore more and better possibilities.</blockquote> <p></p> <p>Hello again</p> <p>Maybe you should try to nest another GridView inside the parent GridView and do data-binding</p> 2012-05-20T01:44:09-04:004988484http://forums.asp.net/p/1804708/4988484.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>Hi Decker,</p> <p>I tried this earlier but couldn't foresee if it'd give a good UI experience for editing. Do you know any reference which is somewhat similar to what i am doing?Gridview editing is very powerful, i mean i can also validate using dropdowns in editable region.</p> <p>It'd be great if i can use a grdview based solution.</p> 2012-05-20T06:51:56-04:004988653http://forums.asp.net/p/1804708/4988653.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>YesI'm afraid you cannot do that directly with the help of GridView when editing GridViewI'd like to show you my demo within 5 days if you are interested in thatplz leave your email:)</p> 2012-05-20T11:26:43-04:004988802http://forums.asp.net/p/1804708/4988802.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>This is fine. Thanks for your support.</p> <p>Email ID: nijhawan.saurabh@gmail.com</p> 2012-05-20T16:35:39-04:004989013http://forums.asp.net/p/1804708/4989013.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>nijhawan.saurabh</h4> This is fine. Thanks for your support.</blockquote> <p></p> <p>Hello</p> <p>I've sent a demo proj for you-</p> 2012-05-21T01:06:48-04:004989015http://forums.asp.net/p/1804708/4989015.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>nijhawan.saurabh</h4> Email ID: nijhawan.saurabh@gmail.com</blockquote> <p></p> <p>Oh man</p> <p>Your Google email somehow rejected to accept my mailand please use hotmail instead</p> <p>^_^</p> 2012-05-21T01:09:14-04:004989200http://forums.asp.net/p/1804708/4989200.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>Ok, send it to&nbsp;<span>saurabhnijhawan@hotmail.co.uk&nbsp;</span></p> <p><span>Thanks</span></p> 2012-05-21T05:18:09-04:004989208http://forums.asp.net/p/1804708/4989208.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>If u received my letter, plz reply to me so as to let me know:-)</p> 2012-05-21T05:23:16-04:004989253http://forums.asp.net/p/1804708/4989253.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>Yea i did, Thanks. I'll check this at home and get back to you.</p> 2012-05-21T05:50:14-04:004994725http://forums.asp.net/p/1804708/4994725.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>nijhawan.saurabh</h4> <p></p> <p>Yea i did, Thanks. I'll check this at home and get back to you.</p> <p></p> </blockquote> <p></p> <p>How's your processIs everything going well with you now</p> <p>Welcome your feedback</p> 2012-05-24T03:12:58-04:004995065http://forums.asp.net/p/1804708/4995065.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>Hi, I would like to share a way to quick edit xml. As we can transfer Excel to xml, and Excel is pretty familiar with us.&nbsp;</p> <p>Below is a article related:&nbsp;<a href="http://www.codeproject.com/Tips/371595/Generate-Excel-from-XML-and-Generate-XML-from-Exce">http://www.codeproject.com/Tips/371595/Generate-Excel-from-XML-and-Generate-XML-from-Exce</a></p> <p>Hope to helpful</p> <p>My Regards</p> 2012-05-24T07:05:05-04:004995253http://forums.asp.net/p/1804708/4995253.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>Decker Dong - MSFT</h4> <p></p> <p>How's your processIs everything going well with you now</p> <p>Welcome your feedback</p> <p></p> </blockquote> <p></p> <p>Hi,</p> <p>I am trying to make Gridview help present a better UI ecperience for this.</p> <p>I have also found this interesting but it needs quiet a bit of customization.</p> <p><a href="http://www.dotnettwitter.com/2011/07/hierarchical-gridview-in-aspnet-with.html">http://www.dotnettwitter.com/2011/07/hierarchical-gridview-in-aspnet-with.html</a></p> 2012-05-24T08:52:59-04:004996563http://forums.asp.net/p/1804708/4996563.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>nijhawan.saurabh</h4> <p></p> <p>Hi,</p> <p>I am trying to make Gridview help present a better UI ecperience for this.</p> <p>I have also found this interesting but it needs quiet a bit of customization.</p> <p><a href="http://www.dotnettwitter.com/2011/07/hierarchical-gridview-in-aspnet-with.html">http://www.dotnettwitter.com/2011/07/hierarchical-gridview-in-aspnet-with.html</a></p> <p></p> </blockquote> <p></p> <p>Very very thankful for you to share us this nice solution</p> <p>PSI'm bad at designespecially in UIwithout&nbsp;<span>AestheticsHaha</span></p> 2012-05-25T02:40:33-04:004996673http://forums.asp.net/p/1804708/4996673.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p>So finally, i have decided upon using hierarchical Gridview &#43; xmlgrid(both being referred earlier) as the approach to do this.</p> <p>I am marking answers here but ppl can do post in more and better ways to do this if possible.</p> <p>And last but not least, i thank you Decker for following this all the way and helping out. Without your sample i couldn't have looked at Gridview as a viable solution to this!</p> 2012-05-25T04:55:33-04:004998219http://forums.asp.net/p/1804708/4998219.aspx/1?Re+Best+way+to+make+xml+file+editable+on+webRe: Best way to make xml file editable on web <p></p> <blockquote><span class="icon-blockquote"></span> <h4>nijhawan.saurabh</h4> nijhawan.saurabh</blockquote> <p></p> <p>Hello again</p> <p>Maybe you can also do a feedback at here about the feature back</p> <p>http://connect.microsoft.com</p> 2012-05-26T01:44:59-04:00