I am in process of upgrading our existing projects from ASP.NET 3.5 to 4.0 and switching from Visual Studio 2008 to 2010. During this process I have had no trouble converting the projects and getting them to work in the development environment, but as soon as I put them into production, the RadToolBar will not update the other asp controls we have set up. No error is thrown. Nothing happens when the button is pushed. It is as if the button was not pushed at all. In ASP.NET 3.5, everything worked great. Our production server runs on Windows Server 2008 R2 Standard and we serve our internal websites through IIS 7. The website is created separately from other websites and is not stored in inetpub\wwwroot. It also runs on its own application pool. These websites are used internally and are set up to open in Internet Explorer 8 by simply typing the name of the web application into the URL. When the name of the application URL is entered along with the default page (e.g. "ThisProgramName/default.aspx"), all of a sudden everything works great. I want it set up so that including "default.aspx" in the URL is not necessary. Again, no settings have been changed in IIS 7 since the .NET 3.5 version of the web application was used other than the conversion to .NET 4. Also, when I feed the RadToolBar through RadAjaxManager I get the following error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 17 Nov 2010 16:03:30 UTC
Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE html P'.
Line: 6
Char: 84093
Code: 0
URI: http://assessorqrycommercial/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a30468509-1b07-456a-b5f4-bb35a9cae168%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3a1e771326%3aa7e79140
RadPanelBar with 3 RadPanelItem 'sExpanded = true and others as false.<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%" ExpandMode="FullExpandedItem"> <Items> <telerik:RadPanelItem runat="server" Expanded="True" Text="How to setup a SimpleTick theme for the marketplace" Width="100%" CssClass="PanelTitle"> <ItemTemplate> <div style="width: 425px" id="__ss_5659144"> <strong style="display: block; margin: 12px 0 4px"><a href="http://www.slideshare.net/simpletick/simpletick-theme-marketplace" title="SimpleTick Theme Marketplace ">SimpleTick Theme Marketplace </a></strong> <object id="__sse5659144" width="425" height="355"> <param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=marketplace-101103151706-phpapp01&rel=0&stripped_title=simpletick-theme-marketplace&userName=simpletick" /> <param name="allowFullScreen" value="true" /> <param name="allowScriptAccess" value="always" /> <embed name="__sse5659144" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=marketplace-101103151706-phpapp01&rel=0&stripped_title=simpletick-theme-marketplace&userName=simpletick" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object> </div> </ItemTemplate> </telerik:RadPanelItem> <telerik:RadPanelItem runat="server" Expanded="False" Text="Submit your theme now" Width="100%" CssClass="PanelTitle"> <ItemTemplate> <br /> <asp:Button ID="SubmitThemeButton" runat="server" Text="Submit Theme" ToolTip="This will save your theme to the SimpleTick marketplace" onclick="SubmitThemeButton_Click" /> </ItemTemplate> </telerik:RadPanelItem> <telerik:RadPanelItem Expanded="False" Enabled="False" Text="Status" Width="100%" CssClass="PanelTitle"> <ItemTemplate> <p>Your theme has been successfully submitted to the SimpleTick Marketplace. <br /> Team SimpleTick will inspect your template for compatibility and originality before approving and releasing your theme to the marketplace.<br /> We'll send you an email when it's live. Thanks! </p> </ItemTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="FirstTitle.Web.TestPage" %> <!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"> <meta http-equiv="X-UA-Compatible" content="IE=8" /> <title>Grid Test</title> <style media="screen" type="text/css"> html, body { margin: 0; padding: 0; height: 100%; } #container { min-height: 100%; position: relative; _height:100%; /* Hack for IE 6 and below to fix up the crappy layout model */ } #header { padding: 0px; } #content { padding-left: 25px; padding-bottom: 1em; /* Height of the footer */ } #footer { position: absolute; bottom: 0; width: 100%; height: 1em; /* Height of the footer */ } .contentDiv { overflow: auto; position: relative; *padding-bottom: 18px; /* Hack for IE 7 and below to fix up the crappy scrolling model */ *overflow-y: hidden; /* Hack for IE 7 and below to fix up the crappy scrolling model: * = IE7 and lower, _ = IE6 and lower */ } .RadGrid { padding-right: 18px; /* Allows (to some degree) the right most column to be resized */ } .paneIE { *position: relative; } </style> <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> </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> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" /> <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="WebBlue" /> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <div id="container"> <div id="header"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="top"> <td colspan="2" valign="top"> <p>Header</p> </td> </tr> <tr> <td valign="top" style="padding-left: 25px; padding-bottom: 3px; padding-top: 3px;"> <p>Language Select</p> </td> <td align="right" valign="top"> <p>| Logout |</p> </td> </tr> </table> </div> <div id="content"> <div class="contentDiv"> <telerik:RadGrid ID="rgPolicies" runat="server" GroupingEnabled="false" GridLines="None" BorderStyle="None" AllowPaging="True" PageSize="5" AutoGenerateColumns="False" AllowFilteringByColumn="True" AllowSorting="True" OnPageIndexChanged="rgPolicies_PageIndexChanged" OnNeedDataSource="rgPolicies_NeedDataSource"> <ClientSettings EnableAlternatingItems="True" EnableRowHoverStyle="True" AllowDragToGroup="false" AllowColumnHide="true" ColumnsReorderMethod="Reorder" AllowColumnsReorder="True" ReorderColumnsOnClient="True"> <Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True" /> <Selecting AllowRowSelect="True" /> </ClientSettings> <MasterTableView ClientDataKeyNames="OrderNo" AllowMultiColumnSorting="True" AllowNaturalSort="True" EnableHeaderContextMenu="true"> <Columns> <telerik:GridBoundColumn DataField="OrderNo" SortExpression="OrderNo" HeaderText="Order No"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="PolicyNumber" SortExpression="PolicyNumber" HeaderText="Policy Number"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="OfficeName" SortExpression="OfficeName" HeaderText="Office"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CustomerReference" SortExpression="CustomerReference" HeaderText="Reference"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LoanNumber" SortExpression="LoanNumber" HeaderText="Loan Numbers" AllowFiltering="false" AllowSorting="false"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="BorrowerName" SortExpression="BorrowerName" HeaderText="Participants" AllowFiltering="false" AllowSorting="false"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SecurityAddress" SortExpression="SecurityAddress" HeaderText="Properties" AllowFiltering="false" AllowSorting="false"> <HeaderStyle Width="125px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LogPointDescription" SortExpression="LogPointDescription" HeaderText="Current Log Point"> <HeaderStyle Width="175px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="OrderStatusTypeDescription" SortExpression="OrderStatusTypeDescription" HeaderText="Order Status"> <HeaderStyle Width="175px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="PolicyStatusDescription" SortExpression="PolicyStatusDescription" HeaderText="Policy Status"> <HeaderStyle Width="175px" /> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn DataField="CreatedDTime" SortExpression="CreatedDTime" HeaderText="Created" FilterControlWidth="100px"> <HeaderStyle Width="150px" /> </telerik:GridDateTimeColumn> <telerik:GridDateTimeColumn DataField="LastModDTime" SortExpression="LastModDTime" HeaderText="Modified" FilterControlWidth="100px"> <HeaderStyle Width="150px" /> </telerik:GridDateTimeColumn> <telerik:GridBoundColumn DataField="SalesOrderID" HeaderText="Sales Order ID" Visible="False"></telerik:GridBoundColumn> </Columns> </MasterTableView> <PagerStyle Mode="NextPrevNumericAndAdvanced" AlwaysVisible="True"></PagerStyle> </telerik:RadGrid> </div> </div> <div> <p><br /> M<br /> o<br /> r<br /> e<br /> <br /> C<br /> o<br /> n<br /> t<br /> e<br /> n<br /> t<br /> </p> </div> <div id="footer"> <p>Footer</p> </div> </div> </form> </body> </html> using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using Telerik.Web.UI; namespace FirstTitle.Web { public partial class TestPage : System.Web.UI.Page { [Serializable] public struct Policy { public long SalesOrderID { get; set; } public long OrderNo { get; set; } public string PolicyNumber { get; set; } public string OfficeName { get; set; } public string CustomerReference { get; set; } public string LoanNumber { get; set; } public string BorrowerName { get; set; } public string SecurityAddress { get; set; } public string LogPointDescription { get; set; } public string OrderStatusTypeDescription { get; set; } public string PolicyStatusDescription { get; set; } public DateTime CreatedDTime { get; set; } public DateTime LastModDTime { get; set; } } protected void rgPolicies_NeedDataSource(object source, GridNeedDataSourceEventArgs e) { rgPolicies.DataSource = GetDataSource(); rgPolicies.CurrentPageIndex = (int)Session["CurrentPagingIndex"]; } protected void rgPolicies_PageIndexChanged(object source, GridPageChangedEventArgs e) { Session["CurrentPagingIndex"] = e.NewPageIndex; Policy[] ds = (Policy[])Session["SearchResultSet"]; rgPolicies.CurrentPageIndex = e.NewPageIndex; rgPolicies.DataSource = ds; rgPolicies.DataBind(); } private Policy[] GetDataSource() { Policy[] ds; if (Session["SearchResultSet"] == null) { DoSearch(); } ds = Session["SearchResultSet"] as Policy[]; return ds; } private void DoSearch() { Policy[] ds = new Policy[20]; for (long i = 0; i < ds.Length; i++) { long id = i + 1; ds[i].SalesOrderID = id; ds[i].OrderNo = id * 1000; ds[i].PolicyNumber = "POL" + (id * 10000).ToString(); ds[i].OfficeName = "Office"; ds[i].CustomerReference = "REF" + (id * 100).ToString(); ds[i].LoanNumber = "LN" + id.ToString(); ds[i].BorrowerName = "Borrower"; ds[i].SecurityAddress = "Address"; ds[i].LogPointDescription = "Log Point Name"; ds[i].OrderStatusTypeDescription = "Order Status"; ds[i].PolicyStatusDescription = "Policy Status"; ds[i].CreatedDTime = DateTime.Now.AddDays(id + 1 * -1); ds[i].LastModDTime = DateTime.Now.AddDays(id * -1); } Session["SearchResultSet"] = ds; Session["CurrentPagingIndex"] = 0; rgPolicies.MasterTableView.Rebind(); } } } <telerik:RadComboBox ID="rdCmbBoxQFind" runat="server" EnableEmbeddedSkins="false" CssClass="Test" MarkFirstMatch="false" EnableLoadOnDemand="true" DropDownWidth="725px" OffsetX="-567" EnableItemCaching="true" AutoPostBack="false" EmptyMessage="Enter Name or Acronym" MaxLength="130" ShowToggleImage="false" ShowDropDownOnTextboxClick="true" OnClientBlur="QFOnClientBlur" OnClientTextChange="QFOnClientTextChange" EnableTextSelection="false" OnClientItemsRequesting="QFOnClientItemsRequesting" OnClientItemsRequested="QFOnClientItemsRequested" OnClientItemsRequestFailed="QFOnClientItemsRequestFailed" ChangeTextOnKeyBoardNavigation="false" OnClientSelectedIndexChanged="QFOnClientSelectedIndexChanged" OnClientSelectedIndexChanging="QFOnClientSelectedIndexChanging" OnClientDropDownClosing="QFOppClick" OnClientKeyPressing="QFOnClientKeyPressing"> <HeaderTemplate>No result(s) found.</HeaderTemplate> </telerik:RadComboBox>1. It does not seem like the quickfind additional information service is being called when using the down arrow key. After I perform a search and results are returned I use the down arrow to scroll through the data and the addtl info box is not updating. If I use the up arrow it looks to be working correctly.
<telerik:RadComboBox ID="rdCmbBoxQFind" runat="server" Skin="Custom" EnableEmbeddedSkins="false" CssClass="Custom" MarkFirstMatch="false" EnableLoadOnDemand="true" DropDownWidth="725px" OffsetX="-567" EnableItemCaching="true" AutoPostBack="false" EmptyMessage="Enter Name or Acronym" MaxLength="130" ShowToggleImage="false" ShowDropDownOnTextboxClick="true" OnClientBlur="QFOnClientBlur" OnClientTextChange="QFOnClientTextChange" EnableTextSelection="false" OnClientItemsRequesting="QFOnClientItemsRequesting" OnClientItemsRequested="QFOnClientItemsRequested" OnClientItemsRequestFailed="QFOnClientItemsRequestFailed" ChangeTextOnKeyBoardNavigation="false" OnClientSelectedIndexChanged="QFOnClientSelectedIndexChanged" OnClientSelectedIndexChanging="QFOnClientSelectedIndexChanging" OnClientDropDownClosing="QFOppClick" OnClientKeyPressing="QFOnClientKeyPressing"> <WebServiceSettings Path="~/WS/QuickFind.asmx" Method="GetData" /> <HeaderTemplate>No result(s) found.</HeaderTemplate> </telerik:RadComboBox><telerik:GridBoundColumn DataField="CurrentPaymentOrCharge" DataType="System.Decimal" HeaderText="Current Payment Or Charge" SortExpression="CurrentPaymentOrCharge" UniqueName="CurrentPaymentOrCharge" DataFormatString="{0:C}" CurrentFilterFunction="NotEqualTo" CurrentFilterValue="0"> </telerik:GridBoundColumn>the Tooltip works great in all browsers except IE 6.0, even though i set the Position to MiddleRight, it displays on MiddleLeft in IE6.0
IE7.0,IE8.0,Firefox,Chrome,Safari position is MiddleRight, no issues there.
IE6.0 MiddleLeft is the issue
<%@ Page Title="" Language="C#" MasterPageFile="~/OCM.master" AutoEventWireup="true" CodeFile="OCM_ProviderWelcome.aspx.cs" Inherits="OCM_ProviderWelcome" %> <%@ 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"> <div class="ContentTop"> <br/> <div class="BreadCrumb"> <div class="GreenBreadCrumb">Provider Information</div> <div class="BreadCrumbSep"> </div> <div class="BlueBreadCrumb">Member Information</div> <div class="BreadCrumbSep"> </div> <div class="BlueBreadCrumb">Confirmation</div> </div> </div> <div style="clear:both;"/> <table class="ContentWrapper"> <tr> <td class="ContentLeft"> <table cellpadding="0" cellspacing="0" border="0" class="ContentCenter"> <tr> <td class="ContentCenter"> <div style="clear:both;"></div><br/> <script type="text/javascript"> // We need to keep the last tooltip with ShowEvent="OnFocus", as it might be closed // by the time the beforeunload event fires, but its target element might still have the // focus. var lastActiveToolTip = null; function OnClientShow(sender, args) { lastActiveToolTip = sender; } // When ShowEvent="OnFocus", the RadToolTip handles the blur event of the target element. // In case you set the focus on that element, e.g. click inside one of the TextBoxes, // and then immediately close the browser window, the blur event is fired before the // unload. Therefore, the framework tries to execute all handlers for the blur event. // However, at this point the document may have unloaded and we will get an "Unspecified error". // As the code that handles this is part of the ajax framework, we can workaround the problem // in the beforeunload handler - detach the handlers for the active tooltip. function beforeunload() { var activeTooltip = Telerik.Web.UI.RadToolTip.getCurrent(); if (!activeTooltip) activeTooltip = lastActiveToolTip; if (activeTooltip) { var targetElement = activeTooltip.get_targetControl(); activeTooltip._registerMouseHandlers(targetElement, false); } }; if (Sys.Browser.agent == Sys.Browser.InternetExplorer) { window.attachEvent('onbeforeunload', beforeunload); } function Hilite(me, focus) { me.style.backgroundColor = false != focus ? "#ffffcc" : "white"; } </script> <telerik:RadToolTipManager runat="server" ID="RadToolTip5" EnableShadow="true" ShowEvent="OnFocus" OnClientShow="OnClientShow" Skin="Sitefinity" ShowDelay="200" AutoCloseDelay="5000" Width="300px" Animation="Resize" Position="MiddleRight" RelativeTo="Element"> <TargetControls> <telerik:ToolTipTargetControl TargetControlID="txtTaxID" /> </TargetControls> </telerik:RadToolTipManager> <div class="Form"> <div class="Elements"> <p class="ElementLabel"> Horizon Blue Cross Blue Shield of New Jersey is very excited to present to you, as a provider, the opportunity to select a member to join your Oncology Care Model (OCM) available through <a href="http://www.horizonhealthcareinnovations.com/" target="_blank" class="BodyLink">Horizon Healthcare Innovations</a>. The OCM is a specialty care model that will help your Horizon BCBSNJ patients navigate the health care system and allow them to take greater control of their health and wellness. <br/><br/> We encourage you to select a member for your OCM now. Please enter your Tax ID number below. You then will be asked to select a member to join your OCM. </p><br/> </div> <div style="clear:both;"></div> <div class="SectionHeader"> Enter your Tax ID Number </div> <div class="Elements"> <div class="ThreeCols"><span class="ElementLabel"><span class="RequiredField">*</span>Tax Identification Number</span></div> <div style="clear:both;"></div> <div class="IE7_Dummy"> <div class="ThreeCols"> <asp:TextBox CssClass="ResetTextBox" ID="txtTaxID" onfocus="Hilite(this)" onblur="Hilite(this, false)" TabIndex="1" runat="server" MaxLength="9" ToolTip="Enter your nine-digit Tax ID Number in this format: 123456789"></asp:TextBox> </div> </div> <div style="clear:both;"></div><br/> </div> <asp:PlaceHolder runat="server" ID="phError" Visible="false" /> <br/> <asp:Label runat="server" ID="lblTaxIDError" Visible="true" CssClass="RequiredField"/><br/> </div> </td> </tr> </table> </td> <td class="ContentRight"><img src="images/dummy.gif" alt="" border="0" /></td> </tr> </table> <div class="OneButtonFooter"> <div> <div class="LeftButton"></div> <asp:LinkButton runat="server" ID="lnkButton2" Style="text-decoration:none;" onclick="btnNext_Click"><div class="RightButton"><span class="ButtonText">NEXT >></span></div></asp:LinkButton> </div> </div> </asp:Content>