I have 2 issues. below I mention please feel free to give the solution.
1. In my application folder structure I have a folder inside I kept a some .pdf files, I'm using Telerick:radeditor (Q2 2010 version). when It's editable mode , I'm using Hyperlink manager Icon in toolbar(Insert Hyperlink icon), here I specify the link of particular .pdf file(http://~Common/StaticContent/test.pdf). but when I run the application when I click on link the path(url path of the file).pdf file is not open. Please help me.I need a urgent solution on that.
2. and also previosully I'm using classic (Q2 2009 version) rad editor, I implemented below event EditableChanged.
This can be work fine to me. but when I update my telerick control(Q2 2010 ) and implemented same event I got a error in Toolbars propertie.
Below message /error I got when I run the application.
'Telerik.Web.UI.RadEditor' does not contain a definition for 'Toolbars' and no extension method 'Toolbars' accepting a first argument of type 'Telerik.Web.UI.RadEditor' could be found (are you missing a using directive or an assembly reference?)
protected void RadEditor1_EditableChanged(object sender, Telerik.WebControls.EditableChangedEventArgs e)
{
try
{
Toolbar toolbar = RadEditor1.Toolbars["DecisionsToolbar"];
if (toolbar == null)
{
toolbar =
new Toolbar("DecisionsToolbar");
toolbar.ShowToolsText =
true;
toolbar.IsDockable =
false;
RadEditor1.Tools.Add(toolbar);
}
ToolbarButton button = toolbar.Tools.FindToolByCommandName("button") as ToolbarButton;
if (button == null)
{
button =
new ToolbarButton("button");
//button.ShowText = true;
button.ShowIcon =
true;
toolbar.Tools.Add(button);
}
}
catch (Exception)
{
throw;
}
}
Below message /error I got when I run the application.
'Telerik.Web.UI.RadEditor' does not contain a definition for 'Toolbars' and no extension method 'Toolbars' accepting a first argument of type 'Telerik.Web.UI.RadEditor' could be found (are you missing a using directive or an assembly reference?)
Please give me solution asap to me.
Thanks in Advance
Mr. Perfect.