Location of actual Built-in Dialogs

11 posts, 1 answers
  1. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 11 May 2011 Link to this post

    Where are the actual ascx files of the Built-in Dialogs? I want to edit some but those one are not actual (e.g. StyleBuilder)

    http://www.telerik.com/support/kb/aspnet-ajax/editor/opening-a-custom-dialog-instead-of-documentmanager-from-within-linkmanager.aspx
  2. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 12 May 2011 Link to this post

    I am asking because I found a bug in the StyleBuilder.ascx.
    The tab "border" contains styles for top, bottom, right and left. But when I am choosing four different styles: dashed, dotted, double line, solid... The tab for top is correct, but the box for bottom effects right, the box for left effects bottom and the box for right effects left.
    I am also not able to define different colors!
  3. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 12 May 2011 Link to this post

    Hi Henrik,

    The source files of RadEditor's dialogs can be found in the EditorDialogs folder inside RadControls installation folder, commonly : C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX XX XXXX\EditorDialogs

    In addition, we have made a lot of changes to this dialog in the latest release, if you are not using the latest version of RadControls for ASP.NET AJAX (currently Q1 2011 SP1) I would recommend to upgrade to it and see if the problems with the dialog still exists.

    Best wishes,
    Dobromir
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  4. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 13 May 2011 Link to this post

    This problem occurs with the standard Style Builder (5.8.7.0). I did not change anything in the ascx. I only change Resource entries in the german file because there were many mistakes.

    Could you please post the link where to find the Q1 2011?
    edit: I found it.

    edit: The mistake stil occurs. I attached two images. 1.jpg is the style of a cell i made. It is german so i made the following changes: top - dotted; bottom - dashed; left - solid; right - double.
    The result you see in 2.jpg

    I am going to solve this problem if I am able to.
  5. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 13 May 2011 Link to this post

    I found the mistake and fixed it. By default you wrote this in the StyleBuilder.ascx:
    var borderStyleTop = createStyleBuilderControl("ComboBox", {combo: $findSB("borderStyleTop"), name: "border-style-top" });
            var borderStyleRight = createStyleBuilderControl("ComboBox", { combo: $findSB("borderStyleLeft"), name: "border-style-right" });
            var borderStyleBottom = createStyleBuilderControl("ComboBox", { combo: $findSB("borderStyleRight"), name: "border-style-bottom" });
            var borderStyleLeft = createStyleBuilderControl("ComboBox", { combo: $findSB("borderStyleBottom"), name: "border-style-left" });

    The right code should be:
    var borderStyleTop = createStyleBuilderControl("ComboBox", {combo: $findSB("borderStyleTop"), name: "border-style-top" });
            var borderStyleRight = createStyleBuilderControl("ComboBox", { combo: $findSB("borderStyleRight"), name: "border-style-right" });
            var borderStyleBottom = createStyleBuilderControl("ComboBox", { combo: $findSB("borderStyleBottom"), name: "border-style-bottom" });
            var borderStyleLeft = createStyleBuilderControl("ComboBox", { combo: $findSB("borderStyleLeft"), name: "border-style-left" });

    Nevertheless: The colours can't be set deifferent for each side?!
  6. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 23 May 2011 Link to this post

    Hi Henrik,

    I tried to reproduce the reported problem but to no avail? Could you please open a formal support ticket and provide a sample project demonstrating the issue so we can investigate it further?

    I have prepared a video demonstrating my test, could you please see if I am doing something wrong?
    http://screencast.com/t/abCtfikWqC46

    Regards,
    Dobromir
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  7. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 31 May 2011 Link to this post

    In your case it works but not in mine. I made a video: Video
  8. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 31 May 2011 Link to this post

    I found several mistakes in the StyleBuilder ascx:

    $findSB("borderColorBottom").set_enabled(false);
    $findSB("borderColorLeft").set_enabled(false);
    $findSB("borderColorRight").set_enabled(false);

    <ul>
                        <li>
                            <tools:ColorPicker ID="borderColorTop" ClientIDMode="Static" runat="server" Enabled="true"></tools:ColorPicker>
                        </li>
                        <li>
                            <tools:ColorPicker ID="borderColorBottom" ClientIDMode="Static" runat="server" Enabled="false"></tools:ColorPicker>
                        </li>
                        <li>
                            <tools:ColorPicker ID="borderColorLeft" ClientIDMode="Static" runat="server" Enabled="false"></tools:ColorPicker>
                        </li>
                        <li>
                            <tools:ColorPicker ID="borderColorRight" ClientIDMode="Static" runat="server" Enabled="false"></tools:ColorPicker>
                        </li>
                    </ul>

    var borderColorTop = createStyleBuilderControl("ColorPicker", {picker: $findSB("borderColorTop"), name: "border-color-top"});
            var borderColorBottom = createStyleBuilderControl("ColorPicker", {picker: $findSB("borderColorBottom"), name: "border-color-right" });
            var borderColorLeft = createStyleBuilderControl("ColorPicker", {picker: $findSB("borderColorLeft"), name: "border-color-bottom" });
            var borderColorRight = createStyleBuilderControl("ColorPicker", {picker: $findSB("borderColorRight"), name: "border-color-left" });

    I guess you found the mistakes. I fixed them.
    The result is: The ColorPicker is shown and I can choose a color, but if I click ok the color from the "border-top" is set for all colors, although I didn't select it.
  9. Answer
    Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 03 Jun 2011 Link to this post

    Hi Henrik,

    The reported errors in the StyleBuilder dialog are already fixed in the latest version of RadControls. You can download it from the download section in your account page. Also, please note that if RadEditor is using external dialogs you need to use the dialogs' ascx files that comes with the version of RadControls.

    In addition, it is highly recommended to use latest version of RadControls for ASP.NET AJAX.

    Kind regards,
    Dobromir
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  10. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 10 Jun 2011 Link to this post

    I have got RadEditor 5.8.7.0

    Do you mean this link:
    http://www.telerik.com/account/your-products/trial-product-versions/download-trial-file.aspx?pid=561
  11. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 10 Jun 2011 Link to this post

    It worked fine.
Back to Top