How To Redirect To Silverlight Page

Oct 21, 2010

i have an ASP.Net application and from one page i have to redirect to silverlight page, i am new to silverlight so i have two question

Can i add silverlight page in asp.net app or i will have to add silverlight application in asp.net solution. How to redirect from asp.net page to silver.(i want to pass some data from asp.net to silver light)

View 1 Replies


Similar Messages:

Web Forms :: Response.Redirect - Redirect To Error Page ... ?

Mar 6, 2011

I have a problem with Response.Redirect to specific error page.

so far i have something like :

protected void Page_Load(object sender, EventArgs e)
{

if ((Request.QueryString["UbytovaniePrispevokID"].ToString()) == "")[code]......

What i want to do is.. I have one main page with new posts Each subject of the new post is the link to Another page where is Specific post and coments and user can leave a coment.

What I want is when the Request.QueryString["UbytovaniePrispevokID"].ToString()) == "" or null I want to redirect to error page ...

View 3 Replies

Redirect To Other Page From Pop Up Window With Response.redirect?

Feb 13, 2010

how can i redirect to other page from pop up window with response.redirect.

View 2 Replies

Master Page With An Aspx Page Containing Silverlight App

Jul 14, 2010

When creating a new Silverlight App, VS2010 generates the following page with the aspx extension

<%@ Page Language="C#" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server"> [code]....

View 3 Replies

MVC :: One Page Is A Silverlight App -> Only Works On Default Page?

Feb 21, 2010

I am trying to create a website containing an application written in Silverlight. Because of SEO, I want to have this Silverlight application on one page of the site, whereas the other pages are ASP.NET MVC, explaining about the application, general info, etc.

I was able to find an example on how to add a silverlight application to an ASP.NET MVC view. Basically, I just have to add:[Code]....

to the <asp:Content> block.

However, this only seems to work if this snippet is added to the default page (/Home/Index in case of an out-of-the box ASP.NET MVC application). If I add the same snippet to, for example, the About.aspx page, nothing shows up. If I make the About page the default page by changing the route to:
[Code]....

then the Silverlight application is launched on the About page (now the default page), but no longer on the Home page.So my question is, how can I get my Silverlight application to launch on any page in my ASP.NET MVC aplication, not just the default page?

View 3 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

Adding Silverlight 3.0 Control In Master Page In 3.5?

Mar 1, 2010

Can any body tell me how to add silverlight 3.0 control in master page in asp.net 3.5 (ide VS2008)?

View 2 Replies

How To Load An Aspx Page From Silverlight Frame

Oct 6, 2010

I have two frames in a Silverlight application.

One frame contains a TreeView control. When a user clicks on one of the TreeView's items then I want an ASPX page to be loaded into the next frame.

How can I achieve this?

View 1 Replies

How To Combine Silverlight Parts Into A Page / Project

Mar 19, 2010

I would like to create a dot net page and combine in it some silverlight parts / elements...

how to do that?

View 4 Replies

How To Get SilverLight Control Values On Aspx Page

Feb 15, 2011

i have made a user control carrying a grid which is showing different uploaded images , description etc. I am putting this in another aspx page and want to fetch the values of the silverlight grid. I have made a class file for that but unable to get the grid collection.

View 1 Replies

Delay In Silverlight Initialization In Aspx Page?

Jul 23, 2010

We have a silverlight/asp.net application which communicates with WCF to fetch data. Now we are facing a problem where in the silverlight component is taking some time to initialize after the asp.net page life cycle is completed.We have tried tracing all the events and found that there is a time lapse between the aspx page unload event and silverlight initialize event. This we have tried with even a simple application (hello world) but still have found the same result.There is nearly 3-4 seconds delay i.e the silverlight component initialization starts 3-4 seconds after the page unload event ends.

View 1 Replies

Restricting Certain Pages -- Redirect On Every Page? Or On Master Page By Viewing Current Page In Url?

Feb 6, 2011

Per different user mode, some pages should not be accessible by users unless they have a valid session key.In your opinions -- would it be better to have a list of acceptable pages in the master page, and check if the current page is valid for the current user? Or handle this on every child page?I'm thinking master page, just want to hear what your input would be.

View 2 Replies

Web Forms :: Does Event On Silverlight Control Postback Whole Page

Feb 21, 2010

I know silverlight page doesn't make postback itself but does event fired from silverlight control postback whole asp.net page If this silverlight,control embedded in aspx page?

View 2 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

How To Send Data From Silverlight Application To A Aspx Page

Sep 2, 2010

I want to send data from my silverlight application to a aspx page. But i don't want to pass parameter in the url when calling the aspx page.

So i figure the best way is to do a POST. But i'm not too sure how to do it..

View 1 Replies

Accessing Silverlight Object Data From Aspx Page?

Jul 29, 2010

I am new to silverlight and I am wondering if it is possible to access silverlight object data from the aspx page that host it. Or have silverlight write to a hidden field on the page on client side.

What I am trying to do is to use silverlight to upload file via WCF (client to WCF Service directly instead of posting data back to the web server then forwarded to WCF service). When uploading a large file, user can still do some data entry etc. And once the upload is done have it write some data return by the WCF service to the aspx's hidden field and postback to the server on submit.

View 1 Replies

Html - Calling A Silverlight Component In Aspx Page?

Jul 15, 2010

I'm calling a silverlight component in my aspx page like this

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="silverlightControlHost" > [code]...

I would like to modify my page aspx so it takes the parameter itself. Today I'm calling the page

Config.aspx and I would like to do something like this call it

Config.aspx?ConfiguredCarId=11

How do I modify the above code to reflect the change?

View 1 Replies

Importing An Aspx Page Into Silverlight In Expression Blend?

Aug 23, 2010

I have an aspx masterpage that I would like to use in Sketchflow in ExpressionBlend as a Silverlight project. I am totally out of my comfort zone here and am not even sure how to ask this question. This masterpage has a Header and a Footer and the middle section will contain the Content - which will actually be Silverlight. Is there some easy method to bring the design (aspx) into Sketchflow to use?

View 1 Replies

Some Map Silverlight Control Content Rendering Disappeared When Page Gets Refresh

Mar 31, 2010

When Bing map control loads for first time on any browser all pushpin on map are visible.

Bing map control renders perfectly.

Then I refresh browser it create rendering issue some custom pushpin on map gets disappeared. This behavior continues with pushpin. Pushpin are (.png) images and I am not using default bing map thumbtacks.

May be it is issue of browser caching content or Bing map control rendering issues on various browsers.

View 1 Replies

How To Open Aspx Page In New Browser Window From SilverLight Application

Oct 6, 2010

I want to add a button to my user control in SilverLight 4.0 application which will open a new browser window with an aspx in it when it is clicked.

Additionaly, can I lock the SL application until this new window is closed (Alike a modal dialog)?

View 2 Replies

C# - How To Access A Silverlight Control's Properties And Methods From An Aspx Page

Apr 26, 2010

I'm developing a web site, and i'm using infragistics for web, but I want to use in some pages silverlight controls (Infragistics too). Is there a way to access a silverlight control's properties and methods from an aspx page?

View 3 Replies

Open An Apsx Page From SilverLight Application As A Modal-dialog?

Oct 7, 2010

How can I call an aspx page from a SilverLight application, so that it opens in as a modal dialog and it blocks interaction with the SL application until the dialog is closed?

View 2 Replies

Silverlight 4.0 - How To Find A Silvlerlight Object On Page Using Microsoft UI Automation Testing

Aug 4, 2010

I have an object on my asp.net page hosting a Silverlight xap (in my particular case it is in an IFrame, but I'm curious about regular objects as well). I can find the element in UI Spy, but the name just says "Silverlight Control". Trying to find that AutomationElement in my automated test is unsuccessful (control is null every time). Is there a setting in the Silverlight code or in the html that would help? How can I distinguish it if there are multiple Silverlight controls on the same page?

<object id="silverlightClient" style="display:none;" data="data:application/x-silverlight-2," type="application/x-silverlight-2">
<param name="source" value="../../ClientBin/SilverlightApplication.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="background" value="#00000000" />
<param name="minRuntimeVersion" value="4.0.41019.0" />
<param name="autoUpgrade" value="true" />
<param name="windowless" value="false" />
</object>
TreeWalker tw = new TreeWalker(new System.Windows.Automation.PropertyCondition(AutomationElement.NameProperty, "Silverlight Control));
AutomationElement control = tw.GetFirstChild(ancestor);

UI Spy

Identification
ClassName: "MicrosoftSilverlight"
ControlType: "ControlType.Window"
Culture: "(null)"
AutomationId: "71857844"
LocalizedControlType: "window"
Name: "Silverlight Control"
ProcessId: "7636 (iexplore)"
RuntimeId: "42 2163886"
IsPassword: "False"
IsControlElement: "True"
IsContentElement: "True"


EDIT: added image, I also realized that the object is inside of an IFrame. UISpyImage - title name removed

View 2 Replies

State Management :: Session Timeout Message Occurring Automatically When Going To Reports Page From Silverlight App

Aug 6, 2010

The Silverlight app has a link to a different group of reports. This *was* working fine but no more. In the following code you can see the 'Reports' part that it calls another page [URL] namely right here: WHat is happening is when the reports page is called, it goes into 'Session timeout ' right away.

<
StackPanel Orientation="Horizontal"
VerticalAlignment="Top" HorizontalAlignment="Right"
Margin="5, 1">
<HyperlinkButton x:Name
="ReportsLink"

[Code]....

View 1 Replies

Web Forms :: Show Processing Message On Page And Then Automatically Redirect To Another Page

Aug 25, 2010

I have a situation where in, one of the form has to show some processing message on the Page and then automatically redirect to another page.

View 5 Replies







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