|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Edit XML object on web pageI have been asked to make a web gui for users entering complex data.
The data is really on the form of xml structures that can be partly verified with a schema. But we want the users to have as nice GUI as possible. Right now they are not aware of the underlying XML structure. My idea was to let them edit XML on the web page, but get relevant feedback. Has anyone done something similar? Is it possible to automatically generate GUI controls that would make the editing more robust? Any good components? Hi,
From your description I think you haven't decided which UI to use that can achieve the requirement, right? If so I can recommend two controls. The DataGrid/GridView and TreeView. If the xml data has schema like a table we can use DataGrid/GridView to edit data. Here're some documentations: http://www.codeproject.com/KB/aspnet/Edit_Xml.aspx http://www.codeproject.com/KB/aspnet/Edit_Xml.aspx If you're using TreeView (get started from http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/navigation/treev iew.aspx) to display the xml data we need to write more code. A general way to do this is to show some UI for edit when a node is selected. The code may vary according to your requirement. After you've decided which UI to use please update here and we can discuss further. Regards, Allen Chen Microsoft Online Community Support Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msd***@microsoft.com. ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications. Note: MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 2 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Thanks for suggestions but I am afraid they will not do.
Our XML structure is far too complex to be visualized as a table in a grid. TreeView is more flexible but not really the easy-to-use GUI that I intended. My vision was probably to have textboxes, listboxes, comboboxes and checkboxes dynamically generated in some kind of way, but it is pretty vague Show quoteHide quote :-) Hi,
Since the requirement is a bit vague I think we'd better use an example for the discussion. Could you give me a sample xml and tell me what the UIs are required for update? I think it's also flexible to use GridView since we can dynamically add controls to GridView easily. I'd like to demonstrate how to populate the controls you need in the GridView (If it's improper to use GridView I'll try TreeView). Regards, Allen Chen Microsoft Online Community Support Hi,
Do you have any progress on this issue? Regards, Allen Chen Microsoft Online Community Support Hi,
Do you have any progress on this issue? Regards, Allen Chen Microsoft Online Community Support
Other interesting topics
asp:dropdown list width
asp button always rendered as type="button" vs. type="submit" Upload multiple files Repeating content in master pages Multiple controls with the same ID set <head> from ascx WebBrowser control not responding because of Javascript DynamicItemTemplate not applied on programmatically added Menu Items Re: How to Reference Gridview child controls Reportviewer not showing any data |
|||||||||||||||||||||||