+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Remove unwanted space from radwindow

Remove unwanted space from radwindow

4 posts, 0 answered
  1. Babu Raghu
    Babu Raghu avatar
    10 posts
    Registered:
    29 Mar 2010
    12 Apr 2010
    Link to this post
    Hi,

    I am using radwindow in my project and displayed a radscheduluer in that page. While loading this radwindow I am getting unwanted spaces in left, top, right and bottom sides. Please refer the attached image file for your reference.

    Also the radwindow is displayed in back to the radmenu. I am not able to see the radwindow close, minimize buttons. Please refer the image.

    Thanks in advance.

    Regards,
    Babu R
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    12 Apr 2010
    Link to this post
    Hello Babu Raghu,

    Can you send a live link from where we could see the problem with width and height? This problem is related to the positioning of the RadWindow and the RadSchedure inside it. The second problem you have is related to the z-index of the RadWindow - the RadMenu has higher z-index than the RadWindow and the RadScheduler inside it.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Babu Raghu
    Babu Raghu avatar
    10 posts
    Registered:
    29 Mar 2010
    12 Apr 2010
    Link to this post
    Hi,

    Thanks for your immediate reply and I am sorry, I can't provide you live link of this website. Its very confidential information. Instead I am sending the page code below. Please check and let me know how can I resolve this.

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="SchedularManagement.aspx.vb"
        Inherits="SchedularManagement" Title="Untitled Page" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
    <%@ Register TagPrefix="scheduler" TagName="AdvancedEditForm" Src="~/UserControl/SchedulerControls/AdvancedEditForm.ascx"%>
    <%@ Register TagPrefix="scheduler" TagName="AdvancedInsertForm" Src="~/UserControl/SchedulerControls/AdvancedInsertForm.ascx"%>
    <!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 id="Head1" runat="server">
        <title></title>
    </head>
    <body style="vertical-align: top;">
    <form id="form1" runat="server">
    <ajax:ScriptManager ID="ScriptManager" runat="server">
    <Scripts>
        <ajax:ScriptReference Path="~/UserControl/SchedulerControls/AdvancedForm.js" />
    </Scripts>
    </ajax:ScriptManager>
    <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" />
    <table width="100%" border="0" style="vertical-align: top; text-align: center;" cellpadding="0"
    cellspacing="0">
    <tr>
        <td>
            <telerik:RadScheduler runat="server" ID="RadScheduler1" Height="456px" Skin="Office2007"
                ShowFooter="False" TimeZoneOffset="03:00:00" DayEndTime="21:00:00" CustomAttributeNames="Description"
                EnableCustomAttributeEditing="True">
                <Localization HeaderTimeline="" />
                <AdvancedEditTemplate>
                    <scheduler:AdvancedEditForm runat="server" ID="AdvancedEditForm1" Subject='<%# Bind("Subject") %>'
                    Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'/>
                </AdvancedEditTemplate>
                <AdvancedInsertTemplate>
                    <scheduler:AdvancedInsertForm runat="server" ID="AdvancedInsertForm1" Subject='<%# Bind("Subject") %>'
                    Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>'/>
                </AdvancedInsertTemplate>
            </telerik:RadScheduler>
        </td>
    </tr>
    </table>
    </form>
    </body>
    </html>


    Thanks in advance.

    Regards,
    Babu R
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    14 Apr 2010
    Link to this post
    Hi Babu Raghu,

    Hi your the body element is getting some inherited margin rules. Try this:
    <body style="vertical-align: top; margin:0 0 0 0 !important;">

    Regards,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered