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

[Solved] Custom FileBrowserContentProvider Implementaion Question

6 Answers 335 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 07 Dec 2007, 07:22 PM
    In the documentation, the link for FileBrowserContentProviderTypeName (ms-help://telerik.radcontrols.prometheus.2007.Q2/telerik.radcontrols.prometheus.2007.Q2/RadEditor~Telerik.WebControls.RadEditor~FileBrowserContentProviderTypeName.html) is broken. The attribute also isn't listed in the RadEditor class members. If that property has been removed, how do I implement my custom FileBrowserContentProvider? Thank you for your time and assitance in this matter.

6 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 10 Dec 2007, 04:49 PM
Hi Aaron,

Thank you for reporting this problem -  I have logged it in our bug tracking system and we will do all our best to fix it as soon as possible.

In the meantime you can review online a detailed example on this topic: DB File Browser Content Provider

Your points were updated for bringing this problem to our attention.




Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Aaron
Top achievements
Rank 1
answered on 10 Dec 2007, 08:50 PM
Thank you for your reply.

I had already looked at the DB File Browser example, but was unable to glean any new information from it. Specifically, because the class which it would have been most helpful to view (i.e. the DBFileBrowserContentProvider class) was not included in the documentation. The xml and aspx that are presented also lack information on implementing the DBFileBrowserContentProvider, and the helper DataServer class does little to show how the DBFileBrowserContentProvider integrates with the rest of the project. I could find no references to FileBrowserContentProviderTypeName (or ContentProviderTypeName) in that example, despite the fact that this property is what the documentation says to use to implement a custom FileBrowserContentProvider.
0
George
Telerik team
answered on 11 Dec 2007, 01:48 PM
Hi Aaron,

Please excuse us for the temporary inconvenience - we will do our best to fix the problem  as soon as possible.

In the meantime you can access the FileBrowserContentProvider Class in our online help here and the FileBrowserContentProviderTypeName property here.



Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Aaron
Top achievements
Rank 1
answered on 11 Dec 2007, 02:16 PM
That sounds good, though the link for FileBrowserContentProviderTypeName results in a 403: Forbidden error.
0
George
Telerik team
answered on 11 Dec 2007, 04:10 PM
Hi Aaron,

I apologize for the inconvenience. Here is the correct link:

FileBrowserContentProviderTypeName property link.


Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Aaron
Top achievements
Rank 1
answered on 13 Dec 2007, 07:58 PM
For the purposes of following up, I did get this working, though the docs were not much of a help. What finally worked was placing this code in the Page.aspx.cs Page_Load function:

string

myContentProviderTypeName = typeof(Assembly.ClassName).AssemblyQualifiedName;

RadEditorId.ImageManager.ContentProviderTypeName = myContentProviderTypeName;

(Note: Italics represent names that have been changed.)

Tags
Editor
Asked by
Aaron
Top achievements
Rank 1
Answers by
George
Telerik team
Aaron
Top achievements
Rank 1
Share this question
or