or
thx Michael
<body onload="LoadPage();">
function LoadPage()
var editor = $find("<%=txtVisitNotes.ClientID%>");
editor.set_mode(1);
}
<telerik:RadAjaxLoadingPanel ID="LoadingPanelForSplitterFixing" Runat="Server" Skin="Web20" MinDisplayTime="500" Style="z-index: 90000 !important" IsSticky="True"/><telerik:RadButton ID="StartEditButton" Runat="Server" Skin="Web20" ButtonType="StandardButton" Text="Configure Dashboard" CssClass="editButton" OnClientClicked="EnableEditMode" AutoPostBack="False"/>.editButton{ z-index: 20; position: absolute; margin-top: 2px; right: 130px;}if (postBackElement.indexOf("BASEUNDERPAGEVIEW") != -1) { loadingPanel = $find(loadingPanelForSplitterFixingID); loadingPanelFixSplitterVisible = true; $get(loadingPanelForSplitterFixingID).style.width = $(window).width() + "px"; $get(loadingPanelForSplitterFixingID).style.height = $(window).height() - $('#TopBar').height() + "px"; $get(loadingPanelForSplitterFixingID).style.position = "absolute"; $get(loadingPanelForSplitterFixingID).style.top = $('#TopBar').height() + "px"; $get(loadingPanelForSplitterFixingID).style.left = "0px";}cs = New TC.ChartSeries(mr("NAME"), Telerik.Charting.ChartSeriesType.Line)For Each lr As DataRow In ls.Rows i = New TC.ChartSeriesItem(CDbl(lr("LOANS")), MonthName(lr("MONTH"))) i.Name = MonthName(lr("MONTH")) '// TRIED WITH AND WITHOUT THIS LINE i.Label.Visible = False cs.AddItem(i)NextchartMilestoneLoans.AddChartSeries(cs)chartMilestoneLoans.PlotArea.XAxis.Clear()chartMilestoneLoans.PlotArea.XAxis.AddRange(1, Now.Month, 1)For lc As Integer = 0 To (Now.Month - 1) chartMilestoneLoans.PlotArea.XAxis(lc).TextBlock.Text = MonthName(lc + 1)NextHi Guys,
I created a simple website just implement the upload with progressbar function. It works when I debug the website using VS.NET 2010. But after I deploy to the host, the RadProgressArea doesn't appear. Please help us to sort it out ASAP.
The Deploy URL as below:
http://raduploadtest.infobleops.net/
I also attached our codes.
Web.Config as below:
<?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit --> <configuration> <connectionStrings> <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> <authentication mode="Forms"> <forms loginUrl="~/Account/Login.aspx" timeout="2880"/> </authentication> <membership> <providers> <clear/> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/> </providers> </membership> <profile> <providers> <clear/> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/> </providers> </profile> <roleManager enabled="false"> <providers> <clear/> <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/> <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/> </providers> </roleManager> <httpHandlers> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/> <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/> </httpHandlers> <httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/> </httpModules> <httpRuntime maxRequestLength="1048576" requestValidationMode="2.0"/> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule"/> </modules> <validation validateIntegratedModeConfiguration="false"/> <handlers> <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/> <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/> </handlers> </system.webServer> </configuration>
ASPX as below:
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </asp:Content> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <h2> Welcome to ASP.NET! </h2> <p> To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>. </p> <p> You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&;clcid=0x409" title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>. </p> <table> <tr> <td> <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> </telerik:RadScriptManager> <telerik:RadUpload ID="RadUpload1" Runat="server"> </telerik:RadUpload> <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" /> <telerik:RadProgressArea ID="RadProgressArea1" Runat="server" DisplayCancelButton="True"> </telerik:RadProgressArea> <br /> <br /> <telerik:RadButton ID="RadButton1" runat="server" Text="Upload"> </telerik:RadButton> </td> </tr> </table> </asp:Content>
Thanks
Bill