Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Hello All,

I have using the Telerik Rad Editor in my CMS so when I add the script tag in middle of the text then it will remove the all the text after the script tag .

For Example :

this is my text in the editor
<p> Hello Telerik Editor Admin</p>
and now when i added the script tag in middle of the text like <p> Hello <script type="text/javascript" src="demo"></script> Telerik Editor Admin</p> tyhen the result will be converted into " <p> Hello <script type="text/javascript" src="demo"></script> "
Ianko
Telerik team
 answered on 09 Oct 2014
5 answers
251 views
Hi,

We use the editor for email marketing campaigns and sometime clients will have an email designed and the designer will set internal CSS styles within the HTML document. Is it possible for the editor to automatically pick up the internal CSS styles and set them in the CSS Class drop down box? I know it's possible to point this to an external CSS file but there is no mention of internal CSS styles.

Many thanks

Tim
Ianko
Telerik team
 answered on 09 Oct 2014
0 answers
85 views
Hi there;

I'm attempting to upgrade an older project that uses Q2 2009 to Q2 2014.  However pages that contain RadScheduler have the above error instead of the control at design time.  At runtime, nothing renders.  Any ideas?

Thanks,
Jason
Noor Wazir
Top achievements
Rank 1
 asked on 09 Oct 2014
3 answers
249 views
Hi,

I was trying to find the differences between repaint and rebind  client side function of radschedudler. I have a webservice bound scheduler and would like to refresh radscheduler to show latest resources(technicians and their appointments). Technician Timeslots  and appointments are color coded based on some attributes.


Rebind fxn only updated the appointments but did not refresh scheduler timeslots.Repaint was helpful in refreshing the technician schedules showing latest color code. Is repaint  fxn alone enough to achieve both objectives? Can someone  point me to detail definition of  these client side functions?

Thanks,
Prava 

Boyan Dimitrov
Telerik team
 answered on 09 Oct 2014
1 answer
133 views
Hi,

We found that RadFormdecorator overrules;

html {
box-sizing: border-box;
}

*,
*:before, *:after {

 
box-sizing: inherit;

}

 
Is it necessary to do this on such a high level?
 

Putting “
!important” tags in the css, resolves the matter.

Marc

Bozhidar
Telerik team
 answered on 09 Oct 2014
1 answer
246 views
Hi,

Please let me know how to remove the gridlines in footer.

I have tried giving the borderstyle property to none in the footer style,still it is not working
Pavlina
Telerik team
 answered on 09 Oct 2014
13 answers
195 views
I have an image that has a rad tooltip attached to it.  I'm having a weird behavior with how the tooltip closes.  I don't know if there's a way to fix it or not.  I wasn't sure how to set all the various properties, but I have tried different settings and nothing has fixed it.  Here's the behavior:

- If I mouse over the image and then mouse directly off, the tooltip disappears immediately.

- If I mouse over the image and then move the mouse cursor over the tooltip window and then mouse out, the tooltip does NOT disappear immediately.  It stays open for awhile and then closes.  I would like the tooltip to disappear immediately. 

Here's the code in my ASPX file:

<

asp:Image ID="imgRelationshipHelp" runat="server" ImageUrl="~/Images/help.jpg" CssClass="noPaddingOrMargins" />

<telerik:RadToolTip

ID="rttProjRelationship"

runat="server"

Skin="WebBlue"

TargetControlID="imgRelationshipHelp"

Width="350"

Height="220"

Title="Explanation of Terms"

HideDelay="0"

RelativeTo="Mouse"

ShowDelay="0"

AutoCloseDelay="120000">

</telerik:RadToolTip>

Marin Bratanov
Telerik team
 answered on 09 Oct 2014
1 answer
116 views
Hello,

I want to disable the grouping in Grid's PreRender event but have trouble doing so. I believe this event is too late to disable grouping.
What other possibilities do I have?

Currently I'm doing this in Grid's PreRender event:
bool enableGrouping = settings.EnableGrouping && GroupingEnabled;
grid.GroupingEnabled = settings.EnableGrouping;
grid.ShowGroupPanel = settings.EnableGrouping;
grid.ClientSettings.AllowDragToGroup = enableGrouping;
grid.GroupingSettings.ShowUnGroupButton = enableGrouping;

But grouping is still possible. I don't want to hide the grouing header (which would work).

Thanks!
Eyup
Telerik team
 answered on 09 Oct 2014
32 answers
679 views
Hello
I get a "System.UriFormatException" when I try to export a RadScheduler to PDF.
This i my code:
<%@ Page Title="Scheduler" Language="C#" MasterPageFile="~/NestedMasterPage.master" AutoEventWireup="true" CodeBehind="Scheduler.aspx.cs" Inherits="MyApp.CRM.Scheduler" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <link href="../Content/forms.css" rel="stylesheet" type="text/css" />
 
        <telerik:RadAjaxManager runat="Server" ID="RadAjaxManager1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Office2007">
        </telerik:RadAjaxLoadingPanel>
 
        <div class="radgrid_header">
            <asp:Label ID="Label1" runat="server" Text="Scheduler"
                EnableViewState="False" Width="100%">
            </asp:Label>
        </div>
 
        <div style="width:100%; margin:auto;">
            <telerik:RadScheduler ID="RadScheduler1" runat="server" Culture="it-IT"
                Skin="Office2007"
                DataKeyField="ID"
                DataSubjectField="Subject"
                DataStartField="StartDate"
                DataEndField="EndDate"
                DataDescriptionField="Description"
                DataRecurrenceField="RecurrenceRule"
                DataRecurrenceParentKeyField="RecurrenceParentId.Id"
                DataReminderField="Reminder"
                FirstDayOfWeek="Monday" LastDayOfWeek="Sunday"                   
                ondatabinding="RadScheduler1_DataBinding"
                WorkDayStartTime="08:30:00" WorkDayEndTime="19:00:00"
                DayEndTime="20:00:00" EditFormTimeFormat="" Height="604px"
                onappointmentdelete="RadScheduler1_AppointmentDelete"
                onappointmentinsert="RadScheduler1_AppointmentInsert"
                onappointmentupdate="RadScheduler1_AppointmentUpdate" ShowFooter="False"
                DayStartTime="08:30:00" HoursPanelTimeFormat="H:mmtt"
                StartInsertingInAdvancedForm="True" EnableExactTimeRendering="True"
                onreminderdismiss="RadScheduler1_ReminderDismiss">
                <AppointmentContextMenuSettings EnableDefault="true" />
                <TimeSlotContextMenuSettings EnableDefault="true" Skin="Office2007" />
                <ExportSettings FileName="MyAppScheduler" OpenInNewWindow="True">
                    <Pdf AllowCopy="True" Author="MyApp" Creator="MyApp" PageHeight="297mm"
                        PageWidth="210mm" PaperSize="A4" Producer="MyApp" Subject="Scheduler"
                        Title="Scheduler" />
                </ExportSettings>
                <AdvancedForm Modal="true" DateFormat="dd/MM/yyyy" TimeFormat="HH:mm" />
                <MultiDayView DayEndTime="19:00:00" DayStartTime="08:30:00"
                    WorkDayEndTime="19:00:00" WorkDayStartTime="08:30:00" />
                <WeekView WorkDayStartTime="08:30:00" WorkDayEndTime="19:00:00" />
                <Reminders Enabled="True" />
            </telerik:RadScheduler>
        </div>
 
        <div style="text-align:right; margin-top:10px;">
            <telerik:RadButton ID="cmdPDFExport" runat="server" Text="Export to PDF"
                OnClick="cmdPDFExport_Click">
                <Icon PrimaryIconUrl="../Content/pdf.gif" />
            </telerik:RadButton>
        </div>
    </asp:Content>

the code for the "cmdPDFExport_Click" event is:
protected void cmdPDFExport_Click(object sender, EventArgs e)
{
    RadScheduler1.ExportToPdf();
}

As you can see, the RadScheduler is ajaxified. If I try to ajaxify the export button too the error will go away but nothing happens.
Please help me. Thanks.
Marin Bratanov
Telerik team
 answered on 09 Oct 2014
1 answer
82 views
Hi,

I have a master/detail grid where I am loading the detail grid on demand.  When a row is collapsed it is a causing a post back.  Is there any way to prevent this?
I set the EnablePostBackOnRowClick = false, so I am not sure what is causing the postback.

Thank you for your assistance.

Tracy
Eyup
Telerik team
 answered on 09 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?