This is a migrated thread and some comments may be shown as answers.

Schedular contents disappears on hover-over in header

12 Answers 100 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marty
Top achievements
Rank 1
Marty asked on 12 Nov 2008, 08:31 PM

I'm using the scheduler and binding it to a datasource on the server-side like so: 

protected void Page_Load(object sender, EventArgs e)  
    {  
          
        if (!IsPostBack)  
        {  
            CTS.ChangeControl.DAL.cChangeControlDetail cb = new CTS.ChangeControl.DAL.cChangeControlDetail();  
            List<CTS.ChangeControl.DAL.cChangeControlsForGrid> lst = cb.GetChangeControlsForGrid();  
            this.ChangeCalendar.DataSource = lst;  
            this.ChangeCalendar.DataBind();  
        }  
    } 

This works fine, but when I hover my cursor over one of the following fields in the header: Day, Week, Month, Timeline, <, >, the contents of the schedular goes blank.  I have view-state enabled and am using ASP.NET in VS2008 SP1 with the 2008 Q3 ASP.NET AJAX telerik controls.  Clicking one of those controls will bring back the view since there is a post-back but the same behavior occurs again even after post-back.

Any thoughts anybody?

Thanks.

12 Answers, 1 is accepted

Sort by
0
Marty
Top achievements
Rank 1
answered on 13 Nov 2008, 07:22 PM
Seriously?  I'm the only one?  Nobody else experiencing this or experienced something similar?
0
Peter
Telerik team
answered on 14 Nov 2008, 02:03 PM
Hi Marty,

Are you using RadSplitter along with RadScheduler? This problem can occur if you are setting Width or Height for RadSplitter in percents. You can send us your page's layout so we could try to replicate the problem using your code and hopefully provide you with a workaround.


Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marty
Top achievements
Rank 1
answered on 14 Nov 2008, 02:15 PM
Hi.  Thank you for the reply.  To answer the question, no I am not using a splitter on the page, but it is embedded in a table that is setup on a master page.  I've copied the code below from both the calendar page and the master page.

Calendar page (loaded inside of master page):


<%@ Page Title="Change Calendar" Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master" 
    CodeFile="Calendar.aspx.cs" Inherits="Calendar" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">  
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">  
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="ChangeCalendar">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ChangeCalendar" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
 
    <telerik:RadScheduler ID="ChangeCalendar" runat="server" DataKeyField="ChangeControlID" 
        DataSubjectField="ChangeControlNumber" DataStartField="TargetStartDate" DataEndField="TargetEndDate" 
        AllowDelete="False" OverflowBehavior="Expand" NumberOfHoveredRows="3" OnAppointmentClick="ChangeCalendar_OnAppointmentClick" 
        ReadOnly="True" SelectedView="MonthView" OnAppointmentCreated="ChangeCalendar_AppointmentCreated" 
        HoursPanelTimeFormat="htt" ValidationGroup="ChangeCalendar" CustomAttributeNames="ChangeCategoryID">  
          
    </telerik:RadScheduler> 
</asp:Content> 

Master Page:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> 
 
<%@ Register Assembly="Telerik.Web.UI" 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"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
    <asp:ContentPlaceHolder ID="head" runat="server">  
    </asp:ContentPlaceHolder> 
</head> 
<body style="height: 100%;">  
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">  
    </telerik:RadScriptManager> 
    <div> 
        <table width="100%">  
            <tr> 
                <td valign="top" width="15%">  
                    <telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical">  
                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                        <Items> 
                            <telerik:RadMenuItem runat="server" Text="Home" NavigateUrl="~/Default.aspx">  
                            </telerik:RadMenuItem> 
                        </Items> 
                    </telerik:RadMenu> 
                </td> 
                <td> 
                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">  
                    </asp:ContentPlaceHolder> 
                </td> 
            </tr> 
        </table> 
    </div> 
    </form> 
</body> 
</html> 
 

Could it be because I'm setting width in the table that the calendar ends up in on the master page?

Thanks.
0
Accepted
Peter
Telerik team
answered on 14 Nov 2008, 04:17 PM
Hi Marty,

Thanks - this code helped replicate the problem. I have forwarded to our designers to review it, but meanwhile you can use the following fix - add zoom:1 for RadScheduler:

 <telerik:RadScheduler ID="RadScheduler1" Style="zoom:1" ..>

Let us know how it goes.

Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marty
Top achievements
Rank 1
answered on 14 Nov 2008, 04:48 PM
Thank you!  That addition took care of it. 

If your designers find a bug or anything, please let me know if there is anything I'll need to update... I'll keep this forum subscribed.

Thanks again.
0
Peter
Telerik team
answered on 14 Nov 2008, 04:50 PM

Will do. :)


All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dustin
Top achievements
Rank 1
answered on 03 Dec 2008, 03:55 PM
I am also having this issue, but style="zoom:1;...." does not resolve this issue. If there is any more information on this problem please let me know.

Thanks,
Dustin
0
craig
Top achievements
Rank 1
answered on 10 Dec 2008, 08:38 PM
I am also running into this. When I put in zoom:1 it gives me a warning saying that zoom is not a known CSS property
0
Peter
Telerik team
answered on 11 Dec 2008, 08:18 AM
Craig,

You can ignore the warning and try the fix anyway.

Dustin, can you send us the code of your implementation? There might be something specific to it which is causing the problem to persist regardless of the suggested workaround.


Greetings,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marty
Top achievements
Rank 1
answered on 11 Dec 2008, 12:18 PM
I have the warning too, but the work-around did fix my issue. 
0
Dustin
Top achievements
Rank 1
answered on 11 Dec 2008, 03:23 PM
Peter,
 Somehow the issue was resolved without the zoom fix. I am unsure of how but I am no longer having this issue. So I suppose it has been resolved.

Thanks

Dustin
0
craig
Top achievements
Rank 1
answered on 11 Dec 2008, 08:01 PM
It still didn't work even when running with the warning.

I was able to get around it by using a different skin, which for some reason the second skin no longer has the disappearing issue.

Thanks,
Tags
Scheduler
Asked by
Marty
Top achievements
Rank 1
Answers by
Marty
Top achievements
Rank 1
Peter
Telerik team
Dustin
Top achievements
Rank 1
craig
Top achievements
Rank 1
Share this question
or