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
http://www.telerik.com/support/kb/aspnet-ajax/editor/opening-a-custom-dialog-instead-of-documentmanager-from-within-linkmanager.aspx
10 Answers, 1 is accepted
0

Henrik
Top achievements
Rank 1
answered on 12 May 2011, 12:00 PM
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!
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!
0
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
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.
0

Henrik
Top achievements
Rank 1
answered on 13 May 2011, 09:05 AM
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.
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.
0

Henrik
Top achievements
Rank 1
answered on 13 May 2011, 11:49 AM
I found the mistake and fixed it. By default you wrote this in the StyleBuilder.ascx:
The right code should be:
Nevertheless: The colours can't be set deifferent for each side?!
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?!
0
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
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.
0
0

Henrik
Top achievements
Rank 1
answered on 31 May 2011, 11:56 AM
I found several mistakes in the StyleBuilder ascx:
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.
$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.
0
Accepted
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
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.
0

Henrik
Top achievements
Rank 1
answered on 10 Jun 2011, 08:33 AM
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
Do you mean this link:
http://www.telerik.com/account/your-products/trial-product-versions/download-trial-file.aspx?pid=561
0

Henrik
Top achievements
Rank 1
answered on 10 Jun 2011, 09:25 AM
It worked fine.