Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
I have a radeditor inside a radgrid inside a raddataform. How do I set the image upload path for the radeditor programatically in code-behind (C#)?
string
[] viewImages =
new
[] {
"~/Images"
};
[] uploadImages =
"~/Images/New"
[] deleteImages =
"~/Images/New/Articles"
,
"~/Images/New/News"
if
(!IsPostBack)
{
RadEditor1.ImageManager.ViewPaths = viewImages;
RadEditor1.ImageManager.UploadPaths = uploadImages;
RadEditor1.ImageManager.DeletePaths = deleteImages;
//to change the View mode to Grid use the below syntax
RadEditor1.ImageManager.ViewMode = Telerik.Web.UI.Editor.DialogControls.ImageManagerViewMode.Grid;
}