.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

page shrinking while loading

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :ASP.Net

which javascript code makes pege to shrink while loading?

View Complete Post

More Related Resource Links

On page loading or executing all CSS flags are ignored and website is plain without formatting


 My problem is whenever i execute my app the first page that loads is the login page pointed to by my web.config file forms authentication, this page is meant to show CSS formatting for the info i am displaying but it is not. Any help with this problem would be great. A cut and paste of my problem is shown below as you can see there is no CSS.

jsfdnjldfngjfg here it is

Account Login
User Id:
Forgot Password?

I have inserted all the link as in:




How to Show Loading Message while delay in Page Opening

Hy My web application is make time to open First page due to various data control on the page and values are coming to that control from database so i want to show the loading message of gif image during page loading delay. I have written this code in my master page but that image is not showing the application so please give solution on that problem<html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server">   <title>Load Wait Message Demo</title> </head> <script type="text/javascript" language="javascript">   if(document.getElementById) { // IE 5 and up, FF     var upLevel = true;   } else if(document.layers) { // Netscape 4     var ns4 = true;   }   else if(document.all) { //IE 4      var ie4 = true;   }   function showObject(obj) {   if(ns4) {      obj.visibility = "show";   }   else if (ie4 || upLevel) {      drawMessageBox(); obj.style.visibility = "visible";            } }        showObject('splashScreen');   function hideObject(obj) {   if(ns4) {     

IDE hangs when loading the Fluent XAML Control page

Hi All, This question is related to the MS Fluent WPF RibbonControl samples at http://fluent.codeplex.com. My OS is Vista. But the Fluent suite 1.3 is supposed to be stable. Nevertheless, the 3.5 NET sample apps will execute OK... but when I try to view the "window.xaml" code page in the VS2008 Pro IDE, the page loader hangs (the devenv.exe process consumes 50% of the CPU time) and never completes. Is the IDE configured properly? I'm new to Fluent and just installed the Samples. Also, I installed and uninstalled the MS Ribbon Control samples for WPF. If anyone can help... Please do! Thanks, King

Page load is Loading Twice in gridview on navigating to next page.

Hi All i have implemented master page in my application, in its child page i added GridView control, there i used PagerSettings and its attribute to set paging style. In this i have an optoin to set the mode and its images for navigating to different page. my problem is when i not set any image the page will work correctly if i use any image for its navigate button, then every event is fireing twice. if u have faced same problem, pls answer for this query.. My code is:     <asp:GridView ID="grid" runat="server" AutoGenerateColumns="false" AllowPaging="true"         PageSize="3" OnPageIndexChanging="grid_PageIndexChanging" EnableViewState="true" EnableCaching="true" >         <Columns>             <asp:TemplateField>                 <HeaderTemplate>                     <input type="checkbox" id="CheckALL" runat="server"  enableviewstate="true" />             &nbs

css files not loading when viewing page at http://localhost...

Hello, has anyone had the following problem: css files are in the head element, and the styles are clearly being picked up by the .aspx page when in Design or Split view. Yet when running on localhost, the stylesheet has no effect. And when publishing the website to IIS on a remote server, the css clearly does take effect. I've never seen anything like this... 

Progress Bar When page is loading


Dear Fren's

I have a new issue regarding the progressbar 

I have a page from which i am passing a parameter to CrystalReportviewer on the next page

and a converting a Crystal report in to PDF .

My problem is i want to show a progress bar while the page is loading (on which crystal Report Viewer is Placed) and writing a PDF file

I have already place a scriptmanager Updatepanel and updateprogresbar on that page but the still the page is showing blank while loading the page


please help   

How to stop Page loading after selecting a date in Calendar in aspx page



can anybody plz tell me how to stop re-loading of page after selecting a date from a  calendar control in a aspx page.

I want to show the selected date in a Textbox control but i don't want to re-load the page.




Loading a Remote Page problem


I have an instance where I need to show a classic ASP page within an ASP.Net page. I didn't want to use an iframe for several reasons, but those aren't the issue here. I searched and searched and finally found some code that would let me do it, available here: http://www.mikesdotnetting.com/Article/49/How-to-read-a-remote-web-page-with-ASP.NET-2.0. I implemented the C# code and found that for the purpose of loading a plain HTML page it works just grand. But, when I try to load a Classic ASP page that way, I get a 500 Server error. The page that I am trying to load works just fine if I load it directly into a browser, or into an iframe, but not using this method.

I'd really like to know what is causing the error so that I can fix it. If I could get the whole error response that the page sends out it would be helpful. I'm just not well-versed in how these classes work deep inside. Should I be setting a user agent or some of the other header values? If so, what should they be set to and how? Any insight would be very appreciated. For completeness, my code follows.

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;

Modifying the SqlDataSource SelectCommand prior to loading a page


I have a SqlDataSource setup in the markup on my page. After some new requirements, I am trying to find a way to modify the SelectCommand before the data is filled for the first time. The SelectCommand below will now be used by default since we'll always have the first param. I am faced with a need to modify the SelectCommand though, adding a second session parameter along with it. I tried to override the OnInit method but it didn't seem to help...it still used the default query. Is there a best way to accomplish this? Here is the section of markup I am referring to:

    <asp:ScriptManager ID="ScriptManagerCustomerMaintenance" runat="server" EnablePageMethods="true"></asp:ScriptManager>
    <asp:SqlDataSource ID="SqlDataSourceHD" runat="server"
        ConnectionString="<%$ ConnectionStrings:HDOracleConnectionString %>"
        ProviderName="<%$ ConnectionStrings:HDOracleConnectionString.ProviderName %>"
        SelectCommand="SELECT * FROM Customer WHERE (HOME_PHONE=:HOME_PHONE)"
        UpdateCommand="UPDATE Customer SET CustomerEID=:Cu

Exception loading page with Ajax enabled WebPart/UserControl ?



The AjaxControl Toolkit has been configured onto our SharePoint 2007 Server, however when we bring up a page with a WebPart+UserControl, we get the following exception:


[4300] Exception Loading CPI RPI WebPart: System.Web.HttpCompileException: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a112516a\152cc84\App_Web_cpirpicalc.ascx.57bd6353.duu1hbuu.0.cs(138): error CS0433: The type 'AjaxControlToolkit.ToolkitScriptManager' exists in both 'c:\Windows\assembly\GAC_MSIL\AjaxControlToolkit\3.5.40412.0__28f01b0e84b6d53e\AjaxControlToolkit.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a112516a\152cc84\assembly\dl3\4bec602a\25bcac65_13efca01\AjaxControlToolkit.DLL' 


The userControl+Ajax Portion of the WebPart works correctly when brought up under ASP.NET but not SharePoint.  

Is there anyway to force this to go to the correct version?




edit form page loading is slow with more fields in foundation 2010


Hi friends,

I have recently noticed that ,my list edit form page load time is more compare to old version .

I have migrated my sharepoint site from wss3.0 to foundation 2010. I have a large list with 15,000 items and 43 fields.

My new item form is loading very quickly but edit form taking more than a minute. I tried with helath reports and firebug and yslow tools.

I didn't success with any reason. I request you to send me why it happening to the edit form page only

Out of 42 field 12 fields are lookup and I have field edit permissions enabled for different users.

Let me know what can I do to improve page load time for my list edit form.





Display progress image when page is loading using jquery


hi friends,

When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing.... (or) loading  and block background.


how to display a progress bar loading.... in div after Submit button click??


plsssssss tell me,it's very urgent.

Many Thanks in Advance.

Loading certain content on page


Hello :)

My question is: if I have a data grid on my web page along many other controls, and that datagrid is fetching some data while the page loading.

The page won't load until data grid finish fetching .

I want to show the page to user even thou data grid didn't finished loading and after it loaded it will show. I saw that on few sites, it has preloading bar.

Any one can point a direction please?

Why a Security Warning on web page loading? How can code or users avoid it?


My asp.net page now gives a popup box titled "Security Warning" when the page loads. There are multiple pages in my app that do this. The content of the dialog box reads "Do you want to view only the webpage content that was delivered securely?"

Why is this happening all of a sudden? I think it's because the pages contain some http links to external site pages, but i don't remember seeing the message before, and those "nonsecure" links have been there from the beginning. I did add 30+ images though, sourced from in another directory of the project.

Is there some way i can make the images and links "secure"; delivered via https?

Is there some browser setting for users to set so they don't see this popup every time one of the many pages in this website loads?

All feedback and insight is appreciated!!!

Display last record while loading another page in asp.net


how can i display the last record of the table in asp.net. i have button(Cparts) on status webform when you click this two events takes place

1.A pop-up window will appearon on the screen which has 4 textfield,pop-up window comming with blank fields i want to fill all the 4 fields with current/last record of the corresponding table.

2.Also tranfering the primary key value (WONumber in status) of status webform into textbox of the pop-up window(CParts.aspx) which is a hidden field.here i am inserting values into different table(Cparts table) based on WONumber which is not an unique column in this table

I want when this pop-up window opened last record of the CParts table should be populated into CParts.aspx fields. WONumber is not an unique number in CParts table

Sharepoint page sticks on loading ......

I have Sharepoint Foundation 2010 installed on Windows 2008 R2 with SQL Express R2. I have found that when I open the main site or Sharepoint administration the initial page does not fully open, at the bottom of the page it states downloading picture bgximg.png. You can click on the links in the page but you cannot scroll up and down on the page. Now the weird thing is that if I click on refresh it works straight away, it just seems to be the first page load. This only happens in Internet Explorer 8, in Google chrome or firefox it loads first thing. This happens even when opening Sharepoint administration.

Slow loading page


I have a page with tabpanel (4 tabs), each panel uses ListView with a Data Pager to display data from a SQL Server database that is currently on my workstation. I am using a SQL DataSource.  The page worked fine when there were just a few dozen records in the database. I have added about 5000 records to the database. It now takes about 40 seconds (wall clock time) for the page to load.

When I run the SQL Select statement in SQL Server Management Studio it takes about 7 seconds. I turned on Trace and found out that the PreRender event is taking approximately 10 to 12 seconds.

How do I go about improving the performance? How do I know what is happening in PreRender to cause it to take so long?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend