Whenever I perform an ajax postback using the RadAjaxManager, I get a line break added to the top of the page. Everything just shifts down 1 line. This only happens if I use master pages. I tried creating a single aspx form and it works fine. I created a basic masterpage and added a panel for refresh. I've tried moving the panel and button to a content page and using a RadAjaxManagerProxy but I get the same result. Also, this only happens when I publish this to the server. Running on local I do not get the issue.
Clicking on the 'SubmitBtn' refreshes the panel but it drop down 1 line.
Clicking on the 'SubmitBtn' refreshes the panel but it drop down 1 line.
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site1.master.vb" Inherits="RadControlsWebApp1.Site1" %> <!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> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <%--Needed for JavaScript IntelliSense in VS2010--%> <%--For VS2008 replace RadScriptManager with ScriptManager--%> <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> <script type="text/javascript"> //Put your JavaScript code here. </script> <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" Skin="Office2007" /> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="SubmitBtn"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="testPanel" LoadingPanelID="LoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <div> <asp:Panel runat="server" ID="testPanel"> test<br /> <telerik:RadButton ID="SubmitBtn" runat="server" Text="Postback" Skin="Office2007" /> </asp:Panel> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </div> </form> </body> </html>