This is a migrated thread and some comments may be shown as answers.

Rad Editor Image View Path is not displaying and Upload button is disable

16 Answers 253 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Alok
Top achievements
Rank 1
Alok asked on 23 Dec 2013, 01:04 PM
Hello Telerik Team,


I am using Rad Editor version (2012.3.1308.35) and I am fetching Image view path and upload path with other virtual directory on Production  Server but Unable to get Image through Image Manager and most of the button and links are disable in Image Manager.

So Please let us know How we can fix this issue. I am pasting My HTML code here -

I have two site on Production Server Which is -


1- http://localhost/Admin 4.0/admin.aspx and html code of Rad Editor is following But I am giving path of other Virtual directory configured on same server Which is -
http://localhost/Belnet 4.0/LoginForm.aspx and Img Path is in http://localhost/Belnet 4.0/Img So I am writing path of Image view -~/Belnet4.0/Img and code is following please check-

  <telerik:RadEditor ID="RadEditor1" runat="server" ShowSubmitCancelButtons="false" OnClientLoad="OnClientLoad" OnClientSubmit="OnClientSelectionChange"
                    Width="835px" ToolsHeight="200px" ToolsWidth="835px"  ContentFilters="MakeUrlsAbsolute">
                <ImageManager  ViewPaths="~/Belnet4.0/Img" UploadPaths="~/Belnet4.0/Img" DeletePaths="~/Belnet4.0/Img" />
                   <FlashManager ViewPaths="/belnet4/CS" UploadPaths="/belnet4/CS" DeletePaths="/belnet4/CS" />
                   <TemplateManager ViewPaths="/belnet4/Pages" UploadPaths="/belnet4/Pages" DeletePaths="/belnet4/Pages" />
                   <DocumentManager ViewPaths="/belnet4/Docs" UploadPaths="/belnet4/Docs" DeletePaths="/belnet4/Docs" />
                   <SilverlightManager ViewPaths="/belnet4/JS" UploadPaths="/belnet4/JS" DeletePaths="/belnet4/JS" />
                 </telerik:RadEditor>



Please let me know If I need to write any thing else here .




16 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 24 Dec 2013, 11:33 AM
Hello Alok,

The provided configuration looks fine and I can only try to make assumptions why the mentioned problem is encountered.

I can only suggest checking if the appropriate user permissions of the folder are set to full control.

On a side note, you can try upgrading the version of the used controls to eliminate the possibility of a bug-related problem.

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alok
Top achievements
Rank 1
answered on 24 Dec 2013, 11:48 AM
Hello ,


I have given all permission they are read write on folder . Should I give full control on which user . please let me know .

and which is the latest version currently please let me know so that i can upgrade.


Thanks,
Alok
0
Ianko
Telerik team
answered on 24 Dec 2013, 12:47 PM
Hi Alok,

The permissions should be set to the application, but if there are no security issues you can set to everyone.

The latest available version is 2013 Q3 SP1 (2013.3.1114).

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
jhojo
Top achievements
Rank 1
answered on 28 Dec 2013, 10:54 AM
Hello Team ,


Can You Please let me know for download the latest version as I have login Password but unable to download it .


Thanks,

0
Shinu
Top achievements
Rank 2
answered on 30 Dec 2013, 02:42 AM
Hi jhojo,

Please have a look into this documentation for updating the RadControls and this link for downloading the trial version.

Hope this will helps you.
Thanks,
Shinu.
0
jhojo
Top achievements
Rank 1
answered on 30 Dec 2013, 10:29 AM
Hi Shinu,


I have upgraded the latest dll (2013.3.1114) and also have set the permissions  for everyone to the application but Unable to resolve this issue .

Please reply asap How will we fix this issue.

Thanks,
0
Stanimir
Telerik team
answered on 02 Jan 2014, 08:26 AM
Hello,

Could you confirm that there are full ASPNET and NETWORK SERVICE account permissions over the set folders?

Regards,
Stanimir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alok
Top achievements
Rank 1
answered on 02 Jan 2014, 08:37 AM
Hello,


Yes , There are full ASPNET and NETWORK SERVICE account permissions to folder . Please reply asap what I need to set .



Thanks,
0
Stanimir
Telerik team
answered on 02 Jan 2014, 09:06 AM
Hello Alok,

Could you try the following setting:
<ImageManager  ViewPaths="~/Img" UploadPaths="~/Img" DeletePaths="~/Img" />

Also in the provided URLS the path is "Belnet 4.0" with a space before 4.0 but in the setting it is "Belnet4.0" without the space. Could you confirm that this is correct?

Regards,
Stanimir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alok
Top achievements
Rank 1
answered on 02 Jan 2014, 10:35 AM
Hello  Stanimir ,

Thanks for reply soon.

I have tried this line also earlier but not able to get the folder.

If I write following line which you provided me than it takes the path from same folder which we are accessing-


<ImageManager  ViewPaths="~/Img" UploadPaths="~/Img" DeletePaths="~/Img" />

but my problem is different .

My Img folder exists in another project  , Url is  (belnet4.beltoneapps.com) and My Rad editor is in (belnet4admin.beltoneapps.com/admin.aspx) and Physicall exits folder are C://Inetpub/wwwroot/belnet4 and
C://Inetpub/wwwroot/belnet4admin.

So Please let me know If I can set the path from another project or not . If I can set then How as I am not getting files and Images when I set this path on production server .

Currently I have set the path in admin.aspx which is following -


<telerik:RadEditor ID="RadEditor1" runat="server" ShowSubmitCancelButtons="false" OnClientLoad="OnClientLoad" OnClientSubmit="OnClientSelectionChange"
                    Width="835px" ToolsHeight="200px" ToolsWidth="835px"  ContentFilters="MakeUrlsAbsolute">
                <ImageManager  ViewPaths="~/belnet4/Img" UploadPaths="~/belnet4/Img" DeletePaths="~/belnet4/Img" />
                   <FlashManager ViewPaths="/belnet4/CS" UploadPaths="/belnet4/CS" DeletePaths="/belnet4/CS" />
                   <TemplateManager ViewPaths="/belnet4/Pages" UploadPaths="/belnet4/Pages" DeletePaths="/belnet4/Pages" />
                   <DocumentManager ViewPaths="/belnet4/Docs" UploadPaths="/belnet4/Docs" DeletePaths="/belnet4/Docs" />
                   <SilverlightManager ViewPaths="/belnet4/JS" UploadPaths="/belnet4/JS" DeletePaths="/belnet4/JS" />
                 </telerik:RadEditor>



0
Stanimir
Telerik team
answered on 02 Jan 2014, 02:01 PM
Hi,

You can not configure the ImageManager to refer folders, which are not in the root folder of your project. What you can do is to create a virtual directory in your project which will map the one from the other. You can do this by using the mklink command.
Open a command prompt with administrative permissions and use the following sintax:
mklink /D Virtual_Folder_Here Real_Folder_Here


Regards,
Stanimir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alok
Top achievements
Rank 1
answered on 03 Jan 2014, 06:46 AM
Hello Team,


Thanks for reply,,

but i tried a lot , but it give me an error in command propmt "Syntax error"

please let me know the exat syntax in may case for mlink command as my detail is following -

two project url is -

1-  virtual url-  (belnet4.beltoneapps.com), Physical Url -  C://Inetpub/wwwroot/belnet4 , Image folder exists on this project and Image Physical url - C://Inetpub/wwwroot/belnet4/Img/

2-  virtual url- (belnet4admin.beltoneapps.com) , Physical Url - C://Inetpub/wwwroot/belnet4admin, Rad editor exists in this project on Admin.aspx page , Page Url is - C://Inetpub/wwwroot/belnet4admin/admin.aspx.

Please let me know asap , How Can I write exact syntax for mlink command in my case and let me know If I need to write anything here -


Thanks in Advance.


0
Stanimir
Telerik team
answered on 03 Jan 2014, 07:00 AM
Hi Alok,

You can find information on the mklink command in the following article: http://en.wikipedia.org/wiki/NTFS_symbolic_link

Regards,
Stanimir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alok
Top achievements
Rank 1
answered on 03 Jan 2014, 07:09 AM
Hi Stanimir ,


yes we can see through this link but my question is Which folder I have to link or What will be the exact command as per my description below .

If we set the wrong folder through mlink then it will not be good so please let me know Which folder according to you i have to link and I have to change in anything on below code or not -


<ImageManager  ViewPaths="~/Img" UploadPaths="~/Img" DeletePaths="~/Img" />


Thanks,

0
Stanimir
Telerik team
answered on 03 Jan 2014, 08:02 AM
Hi,

In order for the following configuration to work you need two things
<ImageManager  ViewPaths="~/Img" UploadPaths="~/Img" DeletePaths="~/Img" />

1. Make sure that the Img folder exists in the root folder of your application. This can be a symbolic link the file infrastructure depends entirely on you.

2. Make sure that you have the correct permissions for the Img folder.

Regards,
Stanimir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alok
Top achievements
Rank 1
answered on 03 Jan 2014, 11:21 AM
Hello Stanimir ,


Thanks for reply very soon . I have fixed this issue.

Thanks a lot,

Tags
Documentation and Tutorials
Asked by
Alok
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Alok
Top achievements
Rank 1
jhojo
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Stanimir
Telerik team
Share this question
or