Hi, I've successfully loaded an XML file into a TreeView
by using the XmlDataSource
, which appears to be quite convenient. I can then add and remove items on the TreeView
but having called the XmlDataSource.Save()
method, my changes are not persisted to the file so when I bind the TreeView
back to the XmlDataSource
, I lose my changes. 1. I click the "Load" button which initiates the TreeView
contents from the XML file by simply calling DataBind()
on the TreeView. 2. I then add/edit/delete nodes using suitable buttons and my changes are reflected in the TreeView
- that works fine. 3. I click the "Save" button. I'd expect the XmlDataSource.Save()
method to write my TreeView
back to the bound data source. I've tried calling BindData()
on the XmlDataSource
itself but that does nothing. Any suggestions please? :)
krishy19
Posts
-
TreeView - Load/Save XMLDataSource -
Where to start with Sharepoint/ASP.NET development?Hi, I want to write an ASP.NET application that can manipulate documents on a SharePoint portal. I want to be able to upload documents and do searches for keywords, etc. I haven't worked with SharePoint before but I've set up a site and it all looks straight-forward enough. I thought I'd just be able to work with the web services but it seems strangely sparse on features for the document workspace. It looks like I really need to implement my own web service on the SharePoint server which provides all the custom stuff my external application will need. I thought I'd need to implement a separate ASP.NET application rather than write a page on the SharePoint server because it needs to be made available within an IFRAME in another (large) web application. However, the more I think about it, surely I should be writing a web part on the SharePoint server which can then be included as an IFRAME within my web application. Also, I can't seem to get anything to work on my local machine, other than a basic call to the document workspace web service, e.g. <code>dws.GetDwsData()</code> - will I need to develop actually on the SharePoint server itself so that I can access the <code>Microsoft.SharePoint </code>assembly? That means installing Visual Studio on the SharePoint server doesn't it? :~ I have installed the SharePoint SDK but I still can't reference the <code>Microsoft.SharePoint </code>assembly :(
-
Where to start with SharePoint development?Hi, I want to write an ASP.NET application that can manipulate documents on a SharePoint portal. I want to be able to upload documents and do searches for keywords, etc. I haven't worked with SharePoint before but I've set up a site and it all looks straight-forward enough. I thought I'd just be able to work with the web services but it seems strangely sparse on features for the document workspace. It looks like I really need to implement my own web service on the SharePoint server which provides all the custom stuff my external application will need. I thought I'd need to implement a separate ASP.NET application rather than write a page on the SharePoint server because it needs to be made available within an IFRAME in another (large) web application. However, the more I think about it, surely I should be writing a web part on the SharePoint server which can then be included as an IFRAME within my web application. Also, I can't seem to get anything to work on my local machine, other than a basic call to the document workspace web service, e.g.
dws.GetDwsData()
- will I need to develop actually on the SharePoint server itself so that I can access theMicrosoft.SharePoint
assembly? That means installing Visual Studio on the SharePoint server doesn't it? :~ I have installed the SharePoint SDK but I still can't reference theMicrosoft.SharePoint
assembly :( -
Image coordinates within a pictureboxThanks for your help! :) Appreciate it.
-
Image coordinates within a pictureboxDid you find an answer to this? If so, can you please share? I need to do exactly the same. Thanks.