I'm trying to access the HTML within the RAD control.
I've added the RAD Editor control to the default web page and have written a standard aspx page to try and pull the content out from it basically doing the following:
SPSite site=SPControl.GetContextSite(Context);
SPWeb web=SPControl.GetContextWeb(Context);
SPFile file=web.Files["default.aspx"];
SPWebPartCollection col=file.GetWebPartCollection(Storage.Personal);
foreach(WebPart wp in col)
{
if(wp.GetType() == "Telerik.WebParts.RadEditorWeb")
{
// I can get to here but don't know how to get the HTML
Response.Write( ????? );
}
This is my first time developing with SharePoint so apologise if this is something simple that I don't know but I can't fingure out how to pull out the HTML content from the webpart. Am I totally on the wrong track ? Any help would be appreciated