.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

CSS does not loads

Posted By:      Posted Date: October 09, 2010    Points: 0   Category :ASP.Net


when i use master page the css does not loads ??Frown

why is it so???

View Complete Post

More Related Resource Links

How to resize iframe when content loads..

I have an iframe on website A which receives the controls from website B once the form is processed on website B. Here is the page on website A with the iframe. I have hard coded the height at 100px:<iframe id="hdnFrm" name="hdnFrm" src="" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="width:90%;height:100px"></iframe> <form action='http://www.link-exchangers.com/adv_links_addber.aspx' target='hdnFrm' method='post' name='form1'> <table width=90% align=center cellpadding=2 cellspacing=0 border=0> <tr><td valign=top>Contact email: </td><td><input type=text name=web_email value="<?=$web_email;?>" style='width:250px'></td></tr> <tr><td valign=top>Reciprocal link: </td><td><input id=web_recip type=text name=web_recip value="<?=$web_recip;?>" style='width:250px'></td></tr> <tr><td colspan=2 align=center><input type=submit value="Save" style='width:100px'></td></tr> </table></form> Once the Save button is clicked, website B processes the data in this form, and sends messages and a

Placeholder Until Flash Video Loads

 VWD 2008 Express.  Adobe Captivate 3.  Visual Basic. I have a page onto which a flash video loads.  The flash video was created in Adobe Captivate.  Usually the 665x335 area where the flash video object loads just shows as an empty 665x335 frame (with a little picture icon in the upper lefthand corner) for a few seconds until the flash video finishes loading.  Then the video appears and starts running.  It makes the page look unprofessional.  Does anyone have an idea how I could have a default image show in the 665x335 space until the video loads, then to have the video take over?  Perhaps the flash player has an event that fires when it finishes loading and initializing?  Below is the flash video object that is embedded in my page: <div style="width: 665px; height: 335px" class="clickarea"> <object id="OneDay" codebase="http://fpdownload.macro../media.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="../media/video/homepage/OneDayAlternate.swf" width="658" height="335"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="../media/video/hom

GridView EditTemplate DropDownLists' Loads fire before SelectedIndexChanged events on AutoPostBack=

My GridView allows EditTemplate but no DataSource in the aspx page. I set the DataSource & DataBind in code behind. My problem is with 2 of the 4 DropDownLists: they require AutoPostBack=true b/c the load of ddlDptmtGrid is dependant on the selection from ddlOrgGrid, and the load of ddlPosGrid is dependant on the selection from ddlDptmtGrid. The problem lies in that every postback calls each ddl's load & then the SelectedIndexChanged event, by this point the SelectedValue has been reset or wiped. And i can't use "if (!IsPostBack) { }" b/c the initial click of the lnkEditBtn is a postback & the DropDownLists don't even exist till in Edit Mode, so i need this initial load. But it appears on every postback all the controls in Edit mode are wiped & re-initialized, so it forces each DDL to be re-declared & re-loaded, but then the SelectedValue (which caused the postback) cannot be remembered?<asp:GridView ID="gridPendRoles" runat="server" CellPadding="5" AutoGenerateColumns="False" BackColor="#CCFFFF" BorderColor="Black" BorderStyle="Solid" onrowdeleting="gridPendRoles_RowDeleting" onrowediting="gridPendRoles_RowEditing" onrowcancelingedit="gridPendRoles_RowCancelingEdit" onrowupdating="gridPendRoles_RowUpdating"

Extremely Slow Page Loads

Thought I would reach out to the experts and see if anybody might be able to point me in a direction as I do not know where to turn next. Any and all help is greatly appreciated. All of a sudden page load times on the primary web app in my SP2007 farm are extremely slow. Making the site almost unusable. Network performance seems fine as does SQL -- no obvious errors in the logs. The problem happens intermittently. Environment: •  Win2k3 SP2 servers    •  1 WFE (VM)        •  SharePoint 2007 SP2 w/ JUN 2010 cumulative update installed.        •  Most recent WU patches applied about 10 days ago (suspected cause?)      •  1 SQL 2005 (metal)        •  The content database is 20.7 GB, so it fall withing BPs.         •  My DBA has said the DBs do not look overly fragnmented •  1 site collection •  4 web apps •  The VM environment is VMWare vSphere. Search indexing (full) is disabled; All app pools have been recycled; Warmup scripts have been run; and the server has been been rebooted. Have anyone run across anything like this before? Can you point me in a direction? Thanks in advance.

How to add some links in the right pane when page loads?

I need to add some links to the latest versions of something to the right side of my page dynamically, when the page loads.the links content come from a link query and stored in a list.so, the problem is adding <a href="somewhere"> </a> tag in my masterpage at onload event using the content of the list .I want to write some code in the page_load event of the master.cs file to solve this.pls help me get rid of it.

jQuery instead of UpdatePanel (repeater loads when item in dropdown is selected)

Hello!I want to develop web page on which most of the things happens on clientside. The page contains several tabs (jQuery). One tabbed section have repeater which load when item in dropdown is selected.I've placed this 2 controls in UpdatePanel. Does somebody have any example how to achieve this without UpdatePanel, with jQuery?  I've heard that UpdatePanels are bad for page performance. I'm very new to jQ and Ajax.Thanks!all the bestBlaz

How do I display my animated image while the next page loads?

I have the following code so it'll show an animated progress GIF but if the site takes longer than this, it will quit. Is there a more effective way?System.Threading.Thread.Sleep(2000) Here's my update progress code:<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <div class="PleaseWait"> Please wait ... </div> </ProgressTemplate> </asp:UpdateProgress>  

Getting connection error to a database when page loads...occasionally...


So occasionally after a run to the database I am getting the following error;

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)

It always happens after this query is executed during a page Load:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        myconnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True")
        myda = New SqlDataAdapter("Select * from diaryDates", myconnection)
        myda.Fill(ds, "diaryDates")
    End Sub

What does the error mean and how can I resolve it ?

Button On client click event Loads Drop Down List


Hello All


Right now my ASP page has a text box and a submit button, what I am trying to do is once the user hits the submit button load a drop down list.


The drop down list should not be visible before the submit button is pressed


Thanks in advance 

High CPU usage when the page loads




I want to improve the performance of my web application. Whenever the page loads, it is taking 70-80% of CPU usage.

I'm using ajax timer controls to update the user controls on my page. Also I placed user controls in the update panels of my page.

How to avoid high CPU usage ?







Massive Incremental loads with ssis


Hi guys, I am very new with SSIS and I did some researches on google before stoping here to ask if there is a way to do a massive incremental load with the ssis? What I need to do is to update my development database with data from the production server. I found the incremental loads solution but there are too many tables for me to do that one by one, by hand.

I am asking for advices :)

Thank you

VS 2010 RTM Crash when WPF designer loads a buggy control


One of my projects had custom control with a bug in it.  The bug was that OnApplyTemplate was calling itself instead of base.OnApplyTemplate().  Clearly a bug - stack overflow.

I don't expect VS to die hard when loaded into the designer though.  Both Blend 3 and VS just suddenly die.  I suspect Blend 4 would too.

To repro:

Create a custom control.  Create some other control/usercontrol where you'll use the custom control.

In the first control, add an override for OnApplyTemplate.  In that method, call OnApplyTemplate (*without* base.).  Now, in XAML mode, go add that to the user control. It'll compile fine, etc.  Now switch to design mode....boom.

Hovermenu loads on page load in chrome not in other browsers.


Hi foruminas

I have a page in which u can search result for ex: restaurant search.

when u type a name in the search box u will get a result.

i will display search result using th data list.

inside that datalist i vl show the details, for showing some full details i use hover menu.

Problem i face: the hover menu is working well in IE, Firefox .

But in Chrome while i displaying the result itself hover menu is shown without an mouse over.

How to rectify this browser issue ?

Fetching tons and loads of data from Sql server

Hi Team,

Can anyone suggest me how to retrieve millions of data in a query (which joins 10-12 tables) from sql server using vb.net with out any time-out issue.

Out of 10-12 tables, 4-5 tables have more than 10 millions of data.

I have implemented paging logic to retrieve first 50 onload and when next is clicked, next 50 set of records, but it doesnt help me since there is "Order By" clause in the query.

What is actually happening is, its ordering the entire 5 crore of data and then taking the first 50 in it.

I found for 90% of the "where" and "on" clause fields have indexes and its fragmentation is more than 95%.

There is no chance of implementing partitioning or archiving :)

Kindly help me if anyone has faced such scenario.
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