Put Silverlight User Control Into A Website?

Apr 14, 2010

If i have two aspx pages in each of them i want to put differents silverlight contents (2 differents usercontol) what can i do?.. am i obliged to add 2 silverlight projects with my asp.net website and insert in each page an *.xap content..?

View 1 Replies


Similar Messages:

Silverlight User Controls On A Projectless Website?

Oct 28, 2010

I'd like to know how (and if) I can integrate silverlight generated user controls in a non-silverlight projectless website (built in ASP.NET 4.0) also, How can I access a dataset that is edited on a silverlight gridview control?

View 2 Replies

C# - How To Hide And Show Silvelight User Control On Main Silverlight Control

Dec 26, 2010

I have a main silverlight control named MainPage.xaml in an asp.net web site.

I want to dynamically add and remove control at run time.

So, I have created another control Top10.xaml and added to selected canvas area on MainPage.xaml as described on this page(Click Me):

Now i need to modify Top10 visibility in MainPage.xaml dynamically when a button is clicked on MainPage.xaml using C# code in MainPage.xaml.cs.

View 1 Replies

Web Forms :: How To Find A Generic User Control That Checks For Silverlight

Apr 29, 2010

Is there a generic control that can be added to all aspx pages that checks for silverlight plugin and the version.. I know there is javascript and the silverlighthost object tag that accomplishes this. Is there an existing ascx control that wraps this functionality ? I need to be able to set the path to the xap on each page (via a property on the ascx control).

View 2 Replies

Display Last 100 Visitors To Website In Silverlight?

May 13, 2010

I am interesting on log down the recent 100 visitors around the world whom have visited to my website and display their country information and IP address on the website developed by Silverlight platform.

Where can I get accurate data for detecting the visitors' IP address and geo-location information?

View 2 Replies

Updating Silverlight Application @ Website?

Mar 3, 2011

I have the following scenario: a Silverlight application (constructed to be OOB) embedded at an ASP.NET website where, if the user already installed it, a label saying that is displayed; otherwise, an install button appears. Eventually I can update the .xap file available in the website.Now the problem: if the user executes the application through his Desktop/Start Menu, i'm able to update the application and suggest the user to restart it. But, if I update the .xap file and upload it again to the website, apparently no "Silverlight update" occurs, it is displayed as a new application (if the user install it again, an application icon is displayed at his desktop).

View 2 Replies

Silverlight - Optimize Loading An XAP File With A Website?

Jun 10, 2010

I've been developing a game using Silverlight 4 and silversprite (http://silversprite.codeplex.com/)

This game is HEAVILY content dependent, using a lot of audio and images. My content folder is around 90 mbs worth of stuff. And because of that, my XAP file is around 60 MB, and takes 5 minutes to download from the website before any user can start playing.

I am using Visual Web Developer 2010 to create my site and load the XAP. Is there a way where I can take content out of my XAP and put it in my ASP.net site project? Or perhaps upload my content files to the site's storage?

This would make my XAP file much quicker to download.

View 2 Replies

How To Build Silverlight Website & Create XAP's Using Script

Feb 19, 2010

I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site which Visual Studio kindly offered to integrated my Silverlight application into, which I accepted.

So everything is fine and all, and the Silverlight XAP is being copied to the web site's ClientBin directory when i was buiding solution through visual studio, But

I want same thing through using nant script when i am used nant script that time all project in the solution are build but recenty added silverlight website do not create XAP's in ClientBin dierctory.

I m using following script :-

target name="build" description="compiles the source code">
exec program="${framework::get-framework-directory(framework::get-target-framework())}
msbuild.exe" commandline="MY.sln" workingdir="ProjectFolder" />

View 1 Replies

Configuration :: How To Create Web Setup For A Website That Contains Silverlight

Mar 13, 2010

I am creating a web setup for a ASP.NET web application.

After creating the setup i installed in iis it running perfect except silverlight portion. It display blank in that silverlight portion. All the others aspx pages are working file.

View 1 Replies

Web Forms :: How To Use Silverlight Application In Already Created Website Project

Jul 17, 2010

there is already an asp.net web site developed,now due to certain requirements i want to use silverlight enabled pages in my project(for its flexible designing purpose).

View 2 Replies

How To Pass 'user' Object From Aspx To Silverlight 4

Dec 28, 2010

First, we are constrained to using an existing web framework that handles authentication and authorization. The web project uses forms authentication and writes to an encrypted cookie. The user information is exposed to the aspx pages as a property:

LoggedInUser.Current

This has several properties including the userId and role list.

I've looked at using initParams, but haven't been very successful there (edit: I couldn't do it dynamically originally). I've created a simple POCO entity with a [Key] attribute, but I need to at least be able to pass the userId from the aspx page to the imbedded silverlight.

What is the easiest way to pass a dynamic object from aspx to silverlight 4?

[Code]....

Then used Slugster's example to use the values on the Silverlight side.

Warning: Passing user information via init params exposes the info as plain text to the user viewing the page (they just have to view the source). We ended up using an authentication domain service and using the same user object as the aspx

View 2 Replies

Server Controls In User Control Are Null When User Control Serves As A Base User Control ?

Jun 4, 2010

I don't think I understand fully how ASP.NET does inheritance of controls.I have a user control, ucBase, which has an asp.net label in the ascx file. Code behind references the label and it works fine during run time if the control is not a parent for another user parent.

If I have another user control, ucChild, inheriting from ucBase, the label in ucBase's code is always null. ucChild has no controls in its ascx fileThe server controls (like the label) needs to be declared in the ascx file and not created programmatically.What needs to be done for ucBase to see its own controls when it's a parent user control?

View 1 Replies

Make A Base Control In Silverlight?

Apr 15, 2010

I have a user control in silverlight which contains both XMAL and .cs file. But I wanna make it into a base control. In other word,I can make a control inherited it whose area in it can be edited. Just like Master Page in asp.net,you know. In the base control,I only have a lot of description in XMAL,perhaps it can be described in the .cs file,too.

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

Adding Silverlight Control At Runtime?

Nov 1, 2010

I want to add a silverlight control to a div panel at runtime (dynamically) ( on an aspx or user control). How can one achieve this?

View 1 Replies

Vb.net - How To Embed A SilverLight Control In C# Control

Apr 29, 2010

We have a ASP.NET web application written in VB.NET where we build content programmatically during the Init event.

We make extensive use of user controls, building them on the fly, and I now want to start including SilverLight content.

Is there an easy way of embedding a SilverLight application in a control, and then instantiating the whole thing in code, in the same way as you'd programmatically add ordinary ASP.NET controls to a page?

The SilverLight component itself works fine when added to a page using the <object> tag but I really want to be able to reuse it elsewhere in code.

Since I'm expecting use of SilverLight to increase in our application, and the asp:Silverlight control seems now to be deprecated, I'm looking for an alternative way of wrapping the content.

View 1 Replies

Web Design - Silverlight Control (domaindatasource) Missing

Feb 21, 2011

Iīm just starting to program for the web, so please bear with me. I need to develop a website with a connection to a database. I would like the database to be access, but if necessary I can upgrade it to sql server. In visual web developer, I know how to connect to the db, and it works so for the moment thatīs ok. However... thereīs got to be something very wrong with the vwd. Even the simplest things donīt work. I canīt even place a textbox right. when you change a property, nothing happens. The controls are all over the place, they even move from the default.asp to the master page. 90% of the time is spent on trying to figure out how to get rid of borders from a table and such stupid things (wich by the way is impossible). So I thought of silverlight.

But then of course thereīs the thing with the data interchange. Iīve learned to send variables via querystring. However that wonīt do when I want to dsiplay a large table of data in a gridview for instance. So Iīve gathered Iīm supposed to use RIA. I studied this tutorial [URL] Itīs just that when Iīm supposed to put the domaindatasource control on the asp page, itīs not there. And when I try to add it via the "choose item", itīs not in the .net list. Itīs in the silverlight list though. Is vwd supposed to be this bad? Itīs ridiculous really. Or did I mess up the installation? I use the express version of 2010. If you know of a good tutorial please point me in that direction. I donīt know any c# though so that wonīt work.

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

Web Forms :: Silverlight Conflict With Menu Control (in Firefox)?

Feb 22, 2010

i have many css problems with asp:menu /here is one of them

i use this slideshow http://www.codeplex.com/SlideShow

on top of it i have asp:menu

when i hover over the menu i didnt view the child item correct

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

Silverlight 3 Or 4 Multiple File Upload And Resize Control

Sep 1, 2010

Where can I find a silverlight 3 or 4 user control that contains multiple file upload and resize capability?

UPDATE:This will be used for uploading images. We'd like to resize the images prior to posting up to the server.

View 2 Replies

MVC :: .Net 4.0 Web Aplication Use (or Host) A Silverlight Control Directly Without First Creat?

Dec 8, 2010

Can a ASP.Net 4.0 Web Aplication use (or host) a silverlight control directly without first creating a Silverlight Application

View 4 Replies

C# - End User To Use My Silverlight Media Player Application In Browser To Play The File, Prevent Them From Download To Local Directly?

Mar 4, 2010

I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0 + ASP.Net to develop a Silverlight application (a video media player) in browser and the function is simple, just use MediaElement to play a remote video file.The remote server is Windows Server 2008 + IIS 7.0 + IIS Media Bit Rate Throttling Control.Since the request media URL can be discovered (e.g. from traffic sniffer), and I want to know how to prevent from download directly from the Url? i.e. I want end user to use my Silverlight media player application in browser to play the file, prevent them from download to local directly. Any easy and quick solution or reference code/documents?

View 5 Replies







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