Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
150 views
Hi,

is there a way to show (maybe in scheduler's header) the current week number in both Week and Day view mode?

thanks in advance, bye

Leo
Peter
Telerik team
 answered on 30 Jul 2010
1 answer
115 views
Hi All,

I did search for related posts to this but couldn't find anything that seemed similar.

We have written a content management system using RadEditors that enables administrators to edit the content of various sections of their website. In basic terms, if the user is authenticated and authorised they see the full editor and can change the content sections. If they are not authenticated or not authorised they just see the text (not the editor). In the case where they don't have permission we set the Enabled property of the editor to False.

We are using version 2010.1.309.20 and I have yet to try this with the latest version.

We have noticed that when the editor is not Enabled there still appears to be quite a performance hit in the PreRender even though we would have thought that a lot of the processing should not be required as it just needs to display the content and not load any of the editing scripts. This is causing us problems on pages with lots of editors - as every user has the performance hit and not just the admins who are editing the content.

We tried a few examples using different combination of settings on the editor: Enabled=True/False and Visible=True/False.

Below is what we found by using Trace:

                                                               Category           Message                         From First(s)                    From Last(s)

(.Enabled = False     .Visible = False)    aspx.page           End PreRender                 0.113901169180098         0.000381

(.Enabled = False     .Visible = True)     aspx.page           End PreRender                 0.493980624395962         0.079942

(.Enabled = True      .Visible = True)     aspx.page           End PreRender                 0.300766392569965         0.125472


You can see that if the editor is Visible and Editable there is a bit of overhead but this is expected as there is a lot of functionality to load.
But if we set Enabled to False, then there is still quite a hit.
If the editor is not Visible then the hit is minimal.

So we thought about setting the Visible property to False just before the editor's PreRender is fired, and then set it to True straight afterwards. This worked, the non-editable content was displayed on the webpage as normal and the performance hit was minimal.

Is this something that has been addressed in a later version or if not can anything be done so that there is not such a bit hit when the editor is not Enabled.

Many thanks,
Andy




Rumen
Telerik team
 answered on 30 Jul 2010
4 answers
195 views
Hi,

How can I remove the underline from the tree nodes while hovering over?

Many thanks.
MG
FISCAL
Top achievements
Rank 1
 answered on 30 Jul 2010
1 answer
71 views
Hi,

I insert an image from image manager, it shows correct the path.  However, I am intending to have have full path (include the http:// and url) in the path.  How can I set this?

Kind Regards,

Duy
Rumen
Telerik team
 answered on 30 Jul 2010
2 answers
127 views
Hello,

I want to open a radwindow through radmenu. But its not working.

<telerik:RadAjaxManager runat="server">
</telerik:RadAjaxManager>
<telerik:RadWindowManager runat="server">
<Windows>
<telerik:RadWindow ID="RadWindowEmailClient" runat="server" ShowContentDuringLoad="false"
Behaviors="Close" AutoSize="true" VisibleStatusbar="false" Title="Create New Customer Party"
Animation="Slide" Skin="Vista">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>


<telerik:RadMenu ID="RadMenuIndex" runat="server" Style="padding-top: 20px; padding-bottom: 30px;"
EnableRoundedCorners="true" EnableShadows="true" Skin="Web20" OnClientItemClicked="openRadWin">
</telerik:RadMenu>

javascript function is as follows:
<script type="text/javascript">
//<![CDATA[
function openRadWin(sender, eventArgs) {
//var selectedImportType = eventArgs.item.value();
window.radopen("Search.aspx", 'RadWindowEmailClient');
return false;
}
//]]>                                                                        
</script>

Also the errormessage is attached in the image. Can you please let me know why this error is comming in ?
prayag ganoje
Top achievements
Rank 1
 answered on 30 Jul 2010
2 answers
103 views
hi, i'm trying enabling and disabling the editor with javascript but i havent results
I'm trying with

 var editor = $find("<%=RadEditor1.ClientID%>");
  editor.enabled(false);

or

editor.enabled=false;

but nothing ¿how can i do this?
thanks
Rumen
Telerik team
 answered on 30 Jul 2010
1 answer
125 views
Hello

A short question concerning telerik editor.
Does the telerik editor supports link picking and then insert the link with the document id?
The OOTB editor always insert the "direct link" also, if the DocumentId service is running..and i think it would be a great feature to use the document id instead

If no, is there a possibility to achieve this?

TIA
patrick
Georgi Tunev
Telerik team
 answered on 30 Jul 2010
1 answer
145 views
Hi I'm facing an issue using RadScheduler in Compatibility view.
My web application has to run also in IE6 environment, but using RadScheduler I'm facing a rendering problem.

There's my code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadScheduler.aspx.cs" Inherits="Default" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2010.2.713.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
     
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <asp:Panel runat="server" ID="pnl" CssClass="page">
        <table cellpadding="0" cellspacing="0" width="100%" border="0" height="100%" class="pageContent">
            <!-- Header -->
            <tr>
                <td class="header_final">
                    <table width="100%">
                        <tr>
                            <td width="80%">
                            </td>
                            <td class="header_loggeduser">
                                wellcome
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td width="100%" height="100%">
                    <telerik:RadSplitter Skin="WebBlue" BorderSize="0" ID="RadSplitter2" runat="server"
                        Height="100%" Width="100%">
                        <telerik:RadPane ID="LeftPane" runat="server" Width="200" Scrolling="None">
                            ciao header
                        </telerik:RadPane>
                        <telerik:RadSplitBar ID="RadSplitbar2" EnableResize="false" runat="server" CollapseMode="Forward">
                        </telerik:RadSplitBar>
                        <telerik:RadPane ID="MiddlePane" runat="server">
                            <!-- Content -->
                            <!--<td valign="Top">-->
                            <table width="100%">
                                <tr>
                                    <td>
                                        <asp:UpdatePanel runat="server" ID="MasterUpdatePanel">
                                            <ContentTemplate>
                                                <asp:Button ID="Button1" runat="server" Text="Button" />
                                                <div>
                                                    <telerik:RadScheduler ID="SchedulerAttivita" runat="server" style="z-index:0;"
                                                        EnableCustomAttributeEditing="True" Width="759px" AllowDelete="False" AllowInsert="False"
                                                        WeekView-HeaderDateFormat="dd/MM/yyyy" MonthView-UserSelectable="false"
                                                        TimelineView-UserSelectable="false" DayView-UserSelectable="true"
                                                         OverflowBehavior="Expand"                                                      
                                                        ShowFooter="False" ShowAllDayRow="False" AppointmentStyleMode="Default"
                                                         FirstDayOfWeek="Monday" AdvancedForm-Enabled="false"
                                                        LastDayOfWeek="Friday" DataKeyField="ID" DataStartField="DATA_INIZIO" DataEndField = "DATA_FINE"
                                                        DataSubjectField="SUBJECT" SelectedView="WeekView"
                                                         Culture="it-IT" EnableAdvancedForm="False" HoursPanelTimeFormat="t">
                                                            <AdvancedForm Enabled="False" EnableCustomAttributeEditing="True"></AdvancedForm>
                                                            <Localization  />
                                                            <TimelineView UserSelectable="False"></TimelineView>
                                                            <WeekView HeaderDateFormat="dd/MM/yyyy"></WeekView>
                                                            <MonthView UserSelectable="False"></MonthView>
                                                    </telerik:RadScheduler>
                                                </div>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </td>
                                </tr>
                            </table>
                            <!--</td>-->
                        </telerik:RadPane>
                    </telerik:RadSplitter>
                </td>
            </tr>
        </table>
    </asp:Panel>
    </form>
</body>
</html>


I also attach a screenshot of what I'm seeing in my browser.

In IE8 mode, it works perfectly.

thanks in advance for your answers.

bye

Leo
Kamen Bundev
Telerik team
 answered on 30 Jul 2010
1 answer
272 views
Hi how can we export information or events in scheduler to google,yahoo,ical,outlook calender please guide me...
Peter
Telerik team
 answered on 30 Jul 2010
1 answer
49 views
Hi i get the following error in ie8 i don't know why it is coming up, can you please tell me the fix of it?
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; BO1IE8_v1;ENUS)
Timestamp: Wed, 28 Jul 2010 09:25:16 UTC


Message: 'Telerik.Web.UI.Overlay' is null or not an object
Line: 556
Char: 13
Code: 0

Thanks
Muzaffar Ali

Georgi Tunev
Telerik team
 answered on 30 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?