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?
I have a requirement that the user will need to import a list of ID's to the asp.net website from their own spreadsheet. I will provide a button 'btnImport' which will use an OleDbConnection to read the spreadsheet and pull in the id's. I have that working fine in my local dev environment. My question is, when this app is running on a production server, will the user have to upload her spreadsheet to the server first? Or do I need to provide code that will find the file on her machine? I'm not sure how this part of it works.
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.
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.
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.
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.
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?
I want to move some parts of the html page containing this function to a new web user control. now "form1" is not defined and it is not working correctly without any error message!
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
We have an ASP.Net 2.x web site. We want to migrate it to Silverlight full frame application. However, there is no way we can go away in a corner and redo every web page in SL right off the bat.
What I would like to do is build the chrome of the app (main page, dashboard, login, common system/config screens, main menu) in SL and be able to open existing .aspx pages in the main content SL frame.
From what I see there is no way to do this. I thought the Webbrowser control in SL4 would be the answer, but apparently that only works if your app is run out of browser.
So, what is my best recourse? It seems like I will have to create some type of .aspx page that hosts the .XAP and pass in the page I want it to load?
I've created a silverlight application, MainPage.xaml has silverlight controls. The code behind of it will be definately in MainPage.xaml.cs file. When creating a silverlight app, I've selected a default web project wherein this silverlight app will be hosted and run. After all my work in MainPage.xaml.cs file, I want to integrate it in my default.aspx file. As i understand, I need to give reference to xap file in this aspx file. I tried accessing
<asp:Silverlight ID="xx" runat="Server.. />
tag but had no luck. This tag does not come up, Am i missing to add reference to any silverlight dll to my web application. Or is this tag applicable for Silverlight 2.0 and not 3.0 which I'm using:
I am trying to match an email, however when put the same expression in the code behind, vs the aspx, I seem to be getting different matches for email address. The aspx regex validator seems to be working correctly, however I need to validate for my webservice as well.
Regex regExEmail = new Regex(@"w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*"); if (!regExEmail.IsMatch(contact.emailAddress)) { //do something }
are their any good way to use MVC project in expression web 4. are their any shortcut key avilable or way to make that i can reformat the html by pressing shortcut key.are their any way to reformat only selected text and how i can reformat the text of current page using shortcut key
I'm trying to add a regular expression validator to verify the email text box that is within a Create User Wizard. The form that I'm working with is called Register.aspx, and is the form that is auto generated when you start a new web application found under the Account folder.
For some reason the code below is not firing off when I enter an email address that is incorrectly formatted. I have a feeling it's because I manually added the code within the form but that's just my guess.
How can I call a public property declared on a ASPX page from a different ASPX Page? Is that possible? It is a website project. How can I get/call this property from a different aspx page? I have attempted this from the other page, but it is not recognizing the partial class: private Test_Default _test; It does not recognize the "Test_Default"