Hi,
I have an working user control under asp.net which i need to convert to an WebPart for SharePoint 2010. but in Sharepoint 2010 the ImageDialog has some problems.
I am using the custom FileBrowserContentProvider provided in the live demos to store images in a SQL Database, which is used in ImageManager, the dialog is used both outside and inside the radEditor control.
The problem is that when used in SharePoint 2010 the ImageDialog gives an error and it asks to register the httphandlers. I added the lines to the SharePoint webconfig as shown bellow:
But it still doesn't work it gives an 403 error.
What is the proper way to integrate the radEditor and DialogOpener (used outside the radEditor) in sharepoint 2010 ?
UPDATE:
using the info in this page on Problem 4 i managed to make it work, but it still says the httphandlers are still missing but then it shows up and works as it should.
the config are :
And changing the DialogHandlerUrl on the RadEditor and DialogOpener to "/_LAYOUTS/BUV/Telerik.Web.UI.DialogHandler.aspx"
is there anyway to remove the httphandlers warning that shows ups ?
update2:
it seems it was a permission problem, using fiddler i found it was giving a 401 followed up by a 200 i just altered the webconfig to allow anyone to use the handler.
Thanks
Regards, Luís sá
I have an working user control under asp.net which i need to convert to an WebPart for SharePoint 2010. but in Sharepoint 2010 the ImageDialog has some problems.
I am using the custom FileBrowserContentProvider provided in the live demos to store images in a SQL Database, which is used in ImageManager, the dialog is used both outside and inside the radEditor control.
The problem is that when used in SharePoint 2010 the ImageDialog gives an error and it asks to register the httphandlers. I added the lines to the SharePoint webconfig as shown bellow:
<
system.web
>
<
httpHandlers
>
<
add
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
</
system.web
>
<
system.webServer
>
<
add
name
=
"ChartImage_axd"
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_RadUploadProgressHandler_ashx"
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
</
handlers
>
</
system.webServer
>
But it still doesn't work it gives an 403 error.
What is the proper way to integrate the radEditor and DialogOpener (used outside the radEditor) in sharepoint 2010 ?
UPDATE:
using the info in this page on Problem 4 i managed to make it work, but it still says the httphandlers are still missing but then it shows up and works as it should.
the config are :
<
system.web
>
<
httpHandlers
>
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
</
system.web
>
...
<
system.webServer
>
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
preCondition
=
"integratedMode,runtimeVersionv2.0"
/>
</
handlers
>
</
system.webServer
>
And changing the DialogHandlerUrl on the RadEditor and DialogOpener to "/_LAYOUTS/BUV/Telerik.Web.UI.DialogHandler.aspx"
is there anyway to remove the httphandlers warning that shows ups ?
update2:
it seems it was a permission problem, using fiddler i found it was giving a 401 followed up by a 200 i just altered the webconfig to allow anyone to use the handler.
Thanks
Regards, Luís sá