Web Forms :: Silverlight Causes MasterPage BlendTrans To Not Work

May 19, 2010

Platform: VS 2010, .NET 3.5, ASP.NET, Silverlight

I am working on an ASP.NET app that uses a Master Page. The master page uses the "blendTrans" attribute to prevent flicker between page loads during navigation.

Here is a code snippet:

<head id="Head1" runat="server">
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />

....
</head>

In one of the content pages I create a Silverlight 3 app. Here is the code:

<asp:content>
<div id="silverlightControlHost" style="height:100%; width:100%; text-align:center;">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="ClientBin/DataMapperCtrl.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="3.0.40818.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40818.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>
</asp:content>

The Silverlight app works fine, but since adding the Silverlight app the navigation between the main pages on the app is very slow and gray is displayed between the page loads.

Has anybody else had this problem?

View 1 Replies


Similar Messages:

Web Forms :: Links On Masterpage Don't Work?

Nov 19, 2010

I have a series of LinkButtons on my masterpage as follows:

<div id="mainNav" runat="server" class="mainnavigation">
<ul>
<li>
<asp:LinkButton ID="lnkHome"

[Code].....

I have simple click events defined for them, like this:

protected void lnkReports_Click(object sender, EventArgs e)
{
Response.Redirect("~/Administrators/Reports.aspx");
}

On any page that uses this masterpage, whether it is in a subfolder or directly at root level with the masterpage, these links don't work in any browser I have except for IE (Firefox, Chrome, Opera, and Safari). By that, I mean:

1. When I mouse over them, the cursor doesn't change to a hand.

2. When I click, nothing happens visually.

3. When I click, nothing happens in code. i.e., I set a breakpoint on the click events for the buttons, and they don't get hit.

In IE, everything works as it should.

In addition, I have subnavigation on some of my child pages, implemented the same way, and it works for all browsers.

<div id="mainNav" runat="server">

View 10 Replies

Web Forms :: FindControl Method Doesn't Work With Masterpage?

Feb 8, 2011

i have a masterpage and other pages. i want to use findcontrol method to find a textbox (not on the master page) to check whether it is empty or not.

my code is as folows;
Dim myContentPlaceHolder As ContentPlaceHolder = CType(Master.FindControl("MainContent"), ContentPlaceHolder)
Dim UpdatePanel1 As UpdatePanel = CType(myContentPlaceHolder.FindControl("UP1"), UpdatePanel)

View 3 Replies

Web Forms :: MasterPage Call To Class Doesn't Work

Dec 8, 2010

I am porting my simple Role Based Auth to ASP.NET. It requires this check on each page:

[Code]....

If put in each page's OnLoad, it works fine. But when I add it to the masterpage, it doesn't work. Is there something about the ServerVariables or Session Object that would prevent using those in a masterpage? Is it an issue calling my class from a materpage?

View 1 Replies

Web Forms :: JavaScript Code Doesn;t Work In A Page Inherits From Masterpage?

Jul 9, 2010

i have my NEWS BAR script code in my home Page which inherits from masterpage like this :

<asp:Content ID="content1" runat="server" ContentPlaceHolderID="mainholder" >

View 8 Replies

How To Setup Silverlight Xap Caching To Work The Same In All Browsers

Dec 20, 2010

I have a SL app that can be run in-browser or out-of-browser. I want the browser to:

Cache the xap file Load the xap from the cache if it has not changed or re-download it if it has changed.

More details

Setting a future expires header obviously solves the caching problem but then I cannot force the user to download the latest version. Normally I would just add a querystring to the url (eg url?v=1) but I cannot do this as this breaks the out-of-browser functionality. eg the app thinks it is not installed when in fact it is.

no cache

If I set Cache-Control to no-cache, Chrome and Firefox correctly send a request to the server for the xap but use the cache if a 304 is returned. IE8 just downloads the file again as does Safari.

must-revalidate

Setting Cache-Control to must-revalidate again works correctly in Chrome and Firefox but Safari always downloads the xap again while IE8 always uses the cache.

View 1 Replies

Why Wouldn't An Embedded Silverlight Control Work In A Page

May 19, 2010

I have a silverlight application project in my solution. The other project is a web application project that has a .xap file in ClientBin.

When I created the silverlight project, it asked if I wanted the asp.net application to host it (and I said yes).

In the root directory, there is a test page for the silverlight control. That loads the control.

In another directory, I insert the SAME asp markup to get the silverlight control to launch again.

Nothing happens.

Why would the silverlight launch on one page and not on the other? how to documentation about dependencies that I might not know about?

I've put a reference to Silverlight.js on the page as well.

Here's the markup:

[code]....

View 1 Replies

C# - JavaScript From MasterPage Doesn't Work?

Sep 30, 2010

I put common(for all my content pages) js to head section at my masterpage.

<head runat="server">
<script type="text/javascript" src="../Scripts/jquery-1.4.1.js"></script>
<script type="text/javascript" src="../Scripts/jquery.corner.js?v2.11"></script>
<script type="text/javascript" src="../Scripts/jquery.timers.js"></script>
<script type="text/javascript" language="javascript">

[code]...

View 5 Replies

Does Wizard Control Work In .NET MVC 2 MasterPage

Mar 21, 2011

I have dropped a wizard control on the index page of an asp.net mvc 2 project. The button Next and Previous don't work.

Is the wizard control tailored for ASP.NET MVC2 ? If not can it be fixed and how ?

View 2 Replies

How To Work Out What Visual Studio 2010 Asp/silverlight Project Using .net Framework 3.5 Dependancies Are Missing

Jul 29, 2010

I have a Silverlight site hosted in an asp page, it has been developed using vs2010 using .net 3.5 framework and silverlight 4. It all works on my dev box. However when I publish the site and get it deployed I get the error:

Could not load file or assembly 'Moe.Tactical.Ttas.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Could not load file or assembly 'Moe.Tactical.Ttas.Web' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

I have checked that the ISS asp setting are using 2.0.50727, and that all my references are using that runtime also.

I am not sure what to do to work out what the missing dependencies are at this point (I don't have access to the deployment box, I will have to go and sit with a system admin).

View 2 Replies

AJAX :: MasterPage - ContentPlaceHold And UpdatePanel Cannot Work Together?

Jul 29, 2010

I have Master Page with 2 ContentPlaceHolds , called "left" and "right"

[Code]....

I have a page override 2 ContentPlaceHolds of Master Page

In this page, i have 2 WebUserControls called WUCLeft is put into "left" and WUCRight put into "right"

[Code]....

WUCLeft has a button to load WUCRight into "right" ContentPlaceHold

[Code]....

[Code]....

WUCRight has one TextBox, one Button and one Label, when I click Button, the text of TextBox is assigned to Label

[Code]....

[Code]....

The problem occurs after I press Button on "left" ContentPlaceHold to load WUCRight.

In the first, I click on Button on "right" ContentPlaceHold, nothing happens (the Text of TextBox is not assigned to Label). In the second, i click on Button, page is submitted and all control in "right" ContentPlaceHole are cleared.

What did i do something wrong?

View 12 Replies

AJAX :: Updating Masterpage Within Updatepanel / Button Does Not Work?

Feb 24, 2011

I have webpage and a master page.In master page I defined a Label and ContentPlaceHolder :

[Code]....

In my webpage I have an updatepanel and a button that updates the Label.[Code]....

[Code]....

If the button is inside updapanel, nothing happens when I click the button (Label is not displayed), but if I move button outside the panel it works. (Button must be inside updatepanel and ofcourse no PostBackTrigger)

View 5 Replies

AJAX :: Trigger UpdatePanel Via Javascript Doesn't Work When Using A MasterPage?

Apr 22, 2010

I have an UpdatePanel on the page which I'd like to trigger using javascript.First of all my code perfectly works if it's in a website not being inheriting from a masterpage. Now when you put exactly the same code into a website which inherits from a masterpage, the UpdatePanel wouldn't get fired anymore.

Here's the code (.aspx) [Code]....

Here's the code (.cs) [Code]....

View 2 Replies

Web Forms :: Accessing Control In Nested MasterPage From Parent MasterPage?

Feb 4, 2010

I have a MasterPage (MasterPage.master) with 2 child MasterPages (specialMaster.master and standardMaster.master). From the MasterPage.master I need to get at some of the controls in one of the children, specialMaster.master, say for example to hide certain
content if a session variable is not null.

View 2 Replies

Web Forms :: Access Hidden Field From One Masterpage To Another Masterpage?

May 3, 2010

I have 2 masterpages. (Default.master and User.master).I have a hidden field in Default.master then how can i get the hidden field value of Default.master file from User.master.is there any way to access that hidden field like: Request.form("hidID") ?

View 2 Replies

C# - How To Build A Silverlight Application And Have It Work Under Application

Aug 7, 2010

If I need to build a silverlight application and have it work under my asp.net application!

Does that mean I have to create two different vs projects?

One for silverlight the other my asp.net application? Or I can have one in 1? What do I do?

View 3 Replies

C# - Migrating Silverlight MVVM To .NET Web Forms

Dec 17, 2010

We have application have been written in Silverlight using MVVM pattern. We need to move some pages into ASP.NET.

View 1 Replies

Web Forms :: How To Do This Whitout Silverlight Or Flash

Feb 18, 2011

how can i do something like this without silverlight? (i dont want the people need to install it, its a web page of sales)

Comboboxes or dropdownlist like this:

and something like this:

how can i do this kind of things? i dont want to sacrifice design.

what technologies can i use.

View 4 Replies

Web Forms :: VS 2010 And Silverlight - Add Web Reference?

Apr 14, 2010

Either I am blind with excitement or something is missing from VS2010. I have created a Silverlight 3 project and simply want to add a web reference (not service reference) to the project. I cannot see the 'Add Web Reference' anywhere.

I added it to the toolbar and it was disabled. I saw somewhere that I might need to change the target framework version but I cant see where to do that in the project properties either.

View 1 Replies

Web Forms :: Silverlight Control For A Web Form?

Oct 26, 2010

I am using Visual Studio 2010 and I am working with a simple asp.net website project. I don't see any silverlight controls in the toolbox. Even after right clicking the toolbox and choosing the elements from the silverlight tab I still don't get anything in the toolbox. I even restarted Visual Studio but get nothing.

View 2 Replies

Web Forms :: How To Get Controls For Silverlight, Specialy MediaPlayer

Mar 31, 2010

how to get controls for Silverlight, specialy MediaPlayer.

View 1 Replies

Web Forms :: How To Embed Silverlight Xap Into Aspx Page

Feb 21, 2010

How to embed silverlight xap into aspx page. I have created students database. I want to keep search option to find student name. It should be done in silverlight. I want to embed that silverlight in aspx page.

View 6 Replies

Web Forms :: How To Enable Silverlight 3.0 In A Simple Web Application

Apr 19, 2010

I have a simple ASP.NET 3.5 app in which I want to use SL 3.0 cntrols, how can I do that without starting out with a fresh SL enabled ASP.NET application template?

View 3 Replies

Web Forms :: Can Create Windows Application Using Silverlight

May 24, 2010

Can i create Windows Application using Silverlight

View 2 Replies

Web Forms :: Serialize And Deserialize An Object Using SilverLight?

Jul 8, 2010

I'd like to serialize and deserialize an object using SilverLight.

View 2 Replies







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