Using WebParts Results In Blank Page?

Jun 1, 2010

I'm developing an ASP.NET (C#) application using EPiServer CMS 5. On the startpage we have four WebPart-zones and everything works great running it through Visual Studio. When publishing it to the production-server (IIS 7) the startpage shows as a blank page, no error what so ever...

When we remove these lines of code it works, so it has something to do with the WebParts.

<WebParts:ExtendedWebPartManager ID="WebPartsManager" runat="server"></WebParts:ExtendedWebPartManager>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone1" runat="server" ID="WebPartZone1" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone2" runat="server" ID="WebPartZone2" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone3" runat="server" ID="WebPartZone3" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>
<WebParts:ExtendedWebPartZone WebPartProperty="WebPartZone4" runat="server" ID="WebPartZone4" PartChromeType="None" AllowLayoutChange="false" Padding="0" PartChromePadding="0" Width="100%"></WebParts:ExtendedWebPartZone>

View 2 Replies


Similar Messages:

Forms Data Controls :: .when Load The Page To See The Results, All I See Is A Blank Gray Rectangle. No Graph Inside?

Apr 7, 2010

i have created a .net chart, but when i load the page to see the results, all i see is a blank gray rectangle. no graph inside. (while if i split view it in VS i see the chart)here is my code,

[Code]....

View 5 Replies

IIS Configuration :: Adding Add Section In HttpHandler Section In Web Config Results In Blank Page?

Jul 12, 2013

with this code website works perfect

<configuration>
<system.web>
<httpHandlers>
</httpHandlers>
</system.web>
</configuration>

but when I add

<add path="ThumbHandler.ashx" verb="*" type="Delshad.WebControls.ThumbHandler,Delshad.ThumbPic"/>

or

<add verb="GET" path="CaptchaImage.axd"
type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />

in httphandlers section when I go in my site it is only a blank page!

before In other two host there wasent problem but this is a new host and I face with this problem.also in local there isn't any problem.

View 1 Replies

Setting Masterpage Literal Results In Blank Output?

Nov 22, 2010

Trying to output the PageName in a masterpage.

Masterpage has a Literal in which I am setting by accessing a property on the MasterPage "PageTitle".

<head runat="server">
<title><asp:Literal ID="litTitle" runat="server"/></title>
<asp:ContentPlaceHolder ID="head" runat="server" />
</head>

The child page is like this:

<asp:Content runat="server" ContentPlaceHolderID="content">
<%
MasterPage master = Master as MasterPage;
master.PageName = "Log in";
%>
</asp:Content>

And the property PageName is coded thusly:

private string _pageName;
public string PageName
{
get
{
return _pageName;
}
set
{
_pageName = value;
litTitle.Text = _pageName;
}
}

I'm guessing this is because the page output has already been rendered, but as I say I don't know enough about ASP.NET. I guess I'm after something similar to PHPs ob_start().

View 2 Replies

Web Forms :: How To Send Data From Page Into Webparts

Mar 8, 2010

There is a page that retrieves for about 100 records from database.

In this page I have several of webparts. wach webpart has a usercontol, and in it there is a datalist.

I need way to sen data from the page into the webparts. for each webpart I wish to send 20 records only from the 100 that was retrieved from database.

NOTE: Sometins in that page there is 4 webparts, and sometimes there is only 2...it keeps changing.

How can I achieve that?

View 1 Replies

Way To Create Sites And WebParts - How To Automate Site Page Creation Process

Aug 5, 2010

We are working on a SharePoint Site where we have created lot of webparts. Now so far we have been creating SitePages for these webparts manually and adding webparts to those. It takes lot of time in any environment and its difficult to move from environment to environment.What is the ideal way of doing it? How can we automate sitePage creation process and hopefully add webpart to it by some scripts?

View 1 Replies

C# - MVC - Blank Model Not Returning Blank Data

Jun 2, 2010

I have a form which a user can fill in x times with the data they want too. The form is posted to the following Action.

[HttpPost]
public ActionResult Manage(ProductOptionModel DataToAdd)
{
if (!ModelState.IsValid)
{
return View(DataToAdd);
}
var ProdServ = new ProductService();
if (DataToAdd.ID != 0)
{
//Edit Mode.
DataToAdd = ProdServ.EditProductOption(DataToAdd);
ViewData["Message"] = "Option Changes Made";
}else
{
//Add
DataToAdd = ProdServ.AddProductOption(DataToAdd);
ViewData["Message"] = "New Option Added";
}
var RetModel = new ProductOptionModel() {ProductID = DataToAdd.ProductID};
return View(RetModel);
}

So at the bottom I blank the model (Leaving just the required field) and then return to the view. However the view holds the data from the previously submitted form. I have debugged the code and checked that the RetModel variable is empty.

View 2 Replies

Configuration :: Sometimes Appear Blank Page?

Aug 31, 2010

I have a project which is developed by using VS 2003 with Framework 1.0.My project works very well while I am testing it on localhost.But 'sometimes' my application will appear blank page after click a save button in the production side(using IE 7).I set 'Try catch' into server codes to detect any error caused after users click save button. And they never see any error description page but 'sometimes' blank page.So I assume my server codes are safe.

View 7 Replies

Just Want A Blank Aspx Page?

Mar 2, 2011

I would like to create a completely blank aspx page, but I can't figure out how. When I open up Visual Web Developer 2010 Express, and I go to File -> New Web Site, I have a few options. When I choose the ASP.NET Empty Web Site, it does not give me any tools in the Toolbox on the left, so this is no good. But when I choose ASP.NET Web Site, it gives me this template and all of this other stuff. I dont need this 'Welcome to ASP.NET!' template. I'm thinking that I need to choose the Empty Web Site and then Add New Item, but what item? I'm lost!

View 8 Replies

Web Forms :: How To Open In Blank Page

Sep 8, 2010

I have created master page in my application using site map and have some web forms. When I click a link from site map I would like to open in blank page like popup window. How can I do that ?

View 3 Replies

Getting Mixed Results With Page Validation And Modal Popup Usage On A Page?

Mar 9, 2010

I have a page that works great until now that they wanted to add a ModalPopup based on a field value. Before the addition of this modal popup, i had a button event that would do the inserting of the data, it caused the page to validate and as long as the page passed then it would insert and move on to the next page. Now i have a ModalPopup displaying IF a certain field is empty. If they answer Yes to the modalpopup question, it takes them back to the page and sets the focus on that field. Works fine, but if they select No then i need the page to validate and insert the record and move on.I have a customvalidator for the field i need to check. I then have my insert on the main button that causes the validation. The "Yes" and "No" buttons within the modalpopup have the following setup.
[Code]....

My Main submit button has the following:
[Code]....

If i select NO it just goes back to the page and doesnt move forward. If i select YES and enter something the page pops up the modal again and again because i've clicked in the field and keeps asking even though there is now a value in the field. But since there is a value, i can continue on to the next page.

View 4 Replies

Hidden Variable Getting Blank When Sending From One Page To Another?

Nov 9, 2010

There are two frames. In ASP page 1 that is being displayed in frame 1, we have a form with hidden variables. On some action this from is submitted to frame 2 with action as ASP page 2 (target = frame2, action = 'ASP Page 2') using POST method. But on ASP page 2 when we try to get Form's hidden variable via Request object, sometimes we get them correctly but sometimes they are blank. Generally, first or second time, they show some values but after that they go blank. This problem is seen in IE 7 only and has not been observed in any other version of IE or other browsers.

View 1 Replies

WCF / ASMX :: Service Returning A Blank Page?

Mar 2, 2011

Ok so I am trying to setup a WCF web service. I thought I had my .svc and webConfig ready to go, but when I hit this service all I get is a blank page.

[Code]....

View 1 Replies

No Match (between Users' Value And Database) The Page Become Blank

Feb 20, 2010

Formview1 is databound to SQLSource that has a while condition. this while condition has a term which is a control in my page set by user. The problem is when there is no match (between users' value and database) the page *becomes blank*

i want the controls of my formview and rest of the page to still be available

View 1 Replies

Configuration :: Getting Blank Page On BlogEngine Deployment?

May 28, 2010

I am getting blank page after deploying the blog engine on Main Production server.

Same application is running smooth on my local system

View 4 Replies

SQL Reporting :: Blank Report Page Showing?

Feb 11, 2011

I am calling a report from my ASP web app and was working perfectly, but now for some reason the report is coming up as blank and only shows the header section where it shows export, page numbers etc...The report works 100% direclty from reports and reportsmanager but not from my application - there are no errors to even guide me to solving it.At first i had reporting services 2005 and was having this problem and then i installed Reporting services 2008 and hosted the report on there but i am still getting the same problem.....very frustrating!!Does anyone have any idea what could be causing this??

This might be a clue: this app is on my clients pc and i installed VS2010 on the pc so i can try troubleshoot this but when i open the app VS2010 tells me it is setup to use framework 2.0, strange cause before this problem i opened it in vs2010 and was in framwework 4.0 - but now ifi go to the build dropdown it does not give me the option to select framework 4.0 - just goes up to 3.5??the app was originally created in VS2005 then I upgraded it to vs2010.........it could be possible that there is aconflict with the report viewer on the webpage conflicting somewhere???the app still works 100%(except for reporting) on IIS using framework 4.0 so it is still on the PC..please help - my client is unable to use the app without the printing and i am getting desperate!!Here are the hardware and software details:

-Windows 7 Pro
-IIS 7
-framework 2, 3.5 and 4
-ASP.net 4 Web app developed in VS2010
-DB on SQL 2005 exp adv
-also have SQL2008 exp adv installed

View 2 Replies

MVC :: Build A Search Page And A Results Page For An MVC3 App

Feb 1, 2011

I need to build a search page and a results page for an MVC3 app.

View 2 Replies

Creating Search Page And Displaying Results On Different Page?

Apr 1, 2010

I have created a search page using Visual Web Developer and Access as the database. Instead of displaying the results from the search in Gridview on the same page what would be the coding to pass the results to a new page titled "Search Results".

View 4 Replies

Get A Blank Page Appearing With No Content Using Chrome, Safari

Jul 5, 2010

I'm having problems using an IHttpHandler on PDF files.

I'm redirecting "*.pdf" in <httpHandlers> of web.config to a IHttpHandler class that blocks access unless the user is authenticated.

Code:

<add verb="*" path="*.pdf" type="Handler.Class, Handler.Dll.Name" />

I have no problems accessing any PDF file from firefox while authenticated, but when accessing using any other browser (chrome/safari/opera) I only get a blank page appearing with no content. Accessing the PDF files from other computers gets the same result (blank page) including firefox on other computers.

Contents of the IHttpHandler:

C# Code:

[code]....

View 30 Replies

Web Forms :: View State Truncated And A Blank Web Page?

May 19, 2010

Recently I had migrated my ASP.net 1.1 based application from a IIS5.1 based platform to a IIS 6.0 based Platform.The new platform has 4 nodes with a load balancer.

One of the page of my application, which is perhaps the heaviest one in terms of form components like textboxes, dropdown is not behaving properly.Some times the users only get a "Blank White Screen" and some time they get a "Invalid ViewState" , Invalid length for a Base-64 char array.

Based on the KB
http://support.microsoft.com/kb/831150 I understand that the view state is getting truncated.

I had been facing this issue since we migrated to the new platform and the application was working perfectly fine on the old platform.

View 1 Replies

Web Forms :: Inserting To Database On Submit The Page Goes Blank?

Sep 1, 2010

I'm trying to insert few values to a table, when i press the submit button the aspx page goes blank and i don't get any error message. I'm not able to find where the error is.

The code:

Protected Sub AddMInfo_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles AddMInfo.Click

View 5 Replies

Best Practice - How To Insert New Or Hog BLANK Row On Page Load And UPDATE

Jan 10, 2011

I have been building web apps for a while now and still do not know the answer to this.

I have just built a web app (using webforms) which has a page for inserting a new budget request and a page to edit and manage this budget request.

What is a pain is if I have to make changes to the business logic then I need to edit same / similar code in two places.

What I am thinking of doing is creating one page to handle this with only UPDATE logic and if the URL on page load has no ID parameter then create a blank row in table and use this new ID and then UPDATE.

Is this bad practice? I obv know I need to clear out old blank rows at some point.

View 3 Replies

HTML - Why Page Is Blank When Include Mootools In MVC 2 Masterpage

Mar 23, 2011

I included mootools le this

<script language="javascript" src='<%# ResolveClientUrl("~/Scripts/mootools-core-1.3.1-full-compat.js")%>' type="text/javascript"/>

It compiles but when running it's blank page. If I remove page shows up again.

View 1 Replies

Extra Blank Page When Converting HTML To PDF Using AbcPDF?

Mar 4, 2010

I have an HTML report, with each print page contained by a <div class="page">. The page class is defined as

width: 180mm;
height: 250mm;
page-break-after: always;
background-position: centre top;
background-image: url(Images/MainBanner.png);
background-repeat: no-repeat;
padding-top: 30mm

View 4 Replies

Security :: User Identity. Name Is Blank On Page Load?

Jul 29, 2010

I have an aspx page which displays a user's details in a Label. It takes their User.Identity.Name and queries Active Directory using the following code:

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved