Just wanted to share a scenario/solution.
If you use the Prometheus Chart in a protected subfolder in you web application. (protected by a web.config and roles enabled), you also have to allow the members to access chartimage.axd.
| <location path="chartimage.axd"> |
| <system.web> |
| <authorization> |
| <allow roles="K2WFVendorAdmin" /> |
| </authorization> |
| </system.web> |
| </location> |
Otherwise you get prompted to enter your username and password.
Regards,
Nicolas
| Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'. |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
| Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'. |
| Stack Trace: |
| [MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.] |
| Telerik.Web.UI.RadAjaxControl.PerformRender() +0 |
| Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) +1222 |
| Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +33 |
| System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2113547 |
| System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24 |
| System.Web.UI.Page.Render(HtmlTextWriter writer) +26 |
| System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 |
| System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 |
| System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 |
| System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896 |
I have my styles showing in the Styles drop-down list (I specified the file via the <CssFiles> tag), but it show an additional two styles:
RadEWrongWord
RadEDomMouseOver
I don't want these styles visible in the list. I have experienced this behavior in IE 7 only, and not in FireFox 2. FF shows only my styles.
---
In a related question, how would I limit which styles from my stylesheet the end user can see? For example, my stylesheet has styles .Style1 and .Style2. I want only .Style1 to show in the Editor's Style drop-down list.
---
My Code:
| <telerik:RadEditor ID="RadEditor1" runat="server" Skin="Vista" Height="250" Width="100%"> |
| <Tools> |
| <telerik:EditorToolGroup Tag="Standards"> |
| <telerik:EditorTool Name="Bold" /> |
| <telerik:EditorTool Name="Italic" /> |
| <telerik:EditorTool Name="Underline" /> |
| </telerik:EditorToolGroup> |
| <telerik:EditorToolGroup Tag="Styles" > |
| <telerik:EditorTool Name="ApplyClass" Text="Text Style" /> |
| </telerik:EditorToolGroup> |
| </Tools> |
| <CssFiles> |
| <telerik:EditorCssFile Value="~/Editor/EditorTestStylesheet.css" /> |
| </CssFiles> |
| <CssClasses> |
| <telerik:EditorCssClass Name="" Value="" /> |
| <telerik:EditorCssClass Name="Title Text" Value=".FeatureTitle" /> |
| <telerik:EditorCssClass Name="Normal Text" Value=".StandardText" /> |
| </CssClasses> |
| <Content> |
| </Content> |
| </telerik:RadEditor> |
Thanks!
Eddie

I get the following error when setting the RadEditor to
RadEditor1.EnableEmbeddedSkins = false;
RadEditor1.Skin = "/Skins/WebBlue";
Telerik.Web.UI.RadWindow with ID='ctl00_Center_RadEditor1dialogOpener_Window' was unable to find embedded skin with name '/Skins/WebBlue'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.
It looks like the Editor is not updating the dialog control with the EnableEmbeddedSkins value when it is being changed, however it is apparently passing the Skin property along.
When I attempt to set the skin to the extnernal location with out the EnableEmbeddedSkins setting set to true it breaks as expected showing the control ID of the RadEditor.
Thanks
| Telerik.Web.UI.Appointment appointment = new Telerik.Web.UI.Appointment(); |
| appointment.Start = DateTime.Parse(starttime.ToString()); |
| appointment.End = DateTime.Parse(endtime.ToString()); |
| appointment.Subject = Reg.Text + strCRLF.ToString() + jobtype.SelectedItem.ToString() + strCRLF.ToString() + "Employee:" + employee.SelectedItem.ToString(); |
| Scheduler.InsertAppointment(appointment); |