Tag Info

Hot answers tagged


This method is used to get XML, XSL files. You need to use XmlTextReader in order to get the contents from a file. One example is listed below: XmlTextReader reader = new XmlTextReader(new StringReader(web.GetFileAsString("URLHere"))); When you are dynamically adding some WebPart this method helps to associate XML, XSL to that WebPart. This function ...

Only top voted, non community-wiki answers of a minimum length are eligible