Hi all,
Im slowly delving into Silverlight and after a good while trying I am finally able to return my own Custom Object from my web to my silverlight client, use a Siverlight enabled WCF service.
Now, im a little at a loss between the differences of a Domain Service, and a WCF Service.
Ive worked through the tutorials where a Domain...
I'm wondering how to setup my Silverlight project to enable automatic updates for out-of-browser application.
I added some code in app.xaml.cs (see below), rebuild app, installed as out-of-browser, changed versionionfo in asseblyinfo.cs, rebuilded, run again but unfortunatelly no update happened. Am I still missing something?
publ...
i have a (Silverlight 3) ListBox binded to a constantly refreshing data, how do i preserve the selected item after each data refresh?
...
Hi
I'm building a Silverlight 3 application and I would like it to resize depending on the size of the web browser.
I have found http://community.irritatedvowel.com/blogs/pete%5Fbrowns%5Fblog/archive/2008/07/04/How-to-Resize-a-Silverlight-2-App-and-Keep-the-Same-Aspect-Ratio.aspx
But the solution suggested doesn't seem to work on s...
I have two ViewModel classes : PersonViewModel and PersonSearchListViewModel. One of the fields PersonViewModel implements is a profile image that is downloaded via WCF(cached locally in isolated storage). The PersonSearchListViewModel is a container class that holds a list of Persons. Since loading images is relatively heavy, PersonSear...
I want to write a silverlight page which connects to a tcp/ip server. The server is layering ssl as well. The problem is I don't see a SSLStream in Silverlight.
Is this doable (I need the tcp/ip because this page will constantly get events from the server and no I don't want to poll, in fact I can't the server is third party)
Thanks
...
I'm using an ExpressionMediaPlayer to play live streams. Obviously for this I don't need a play/pause button.
Is there already a predefined way to select which controls to show, or is the correct way to edit the control template and just remove them? Trying to keep everything as out of the box as possible...
...
I have a Prism/SL3 application with a tab control and each page of the tab control is a "Region" that has its own view and viewModel. when I want to validate the main page, I call dataForm.ValidateItem(), then I go to all the child views and do the same. the problem is, only the pages which user has clicked on them (on the tab page), get...
I have a Dataform with EditTemplate,
in the EditTemplate, these are a few tabs using TabControl.
One the tap has my custom user control with x:Name="ctlAttachment".
How can I reference my control in the code behind?
I tried .FindNameInContent, but now work.
Please advice, Thanks!
...
I have all data in the code behind, and defined in xaml:
<dds:DomainDataSource x:Name="ddsContAttachment" QueryName="GetMContAttachment" AutoLoad="True" LoadSize="20">
<dds:DomainDataSource.DomainContext>
<employee:ContractSrv />
</dds:DomainDataSource.DomainContext>
<dds:DomainDataSource.SortDesc...
Requirement:
the webservice is located on a remote machine. webservices are part of the appserver package which can be reinstalled on different machines
Is it possible to have the webmethod URL in the web.config file and invoke the webmethod from silverlight?
the request and response objects of webmethod will be same across releases t...
I'm trying to create a control in Silverlight that inherits from Button so that I can perform a specific action everytime it is clicked. I'm doing this because I'd like to reuse this custom button in several locations with the same functionality.
I'd like to create the control in such a way so that I have a can set the custom Button's ...
Hi All,
I have Silverlight 3 application with two datepickers for Start Date and End Date.
They are data bound to a business object which implements validation logic such that the StartDate must be before the EndDate and the EndDate must be after the StartDate.
So far, so good - both controls display the appropriate validation error wh...
I am new to Silverlight, so this question might seem pretty stupid. My question is, can an ASP.NET web application that's hosting a Silverlight application receive events generated by the Silverlight application? If not, how does an ASP.NET application communicate with a silverlight application?
...
After reading a few of the forum comments on the site, I decided to try to learn Silverlight 3 for the first time (No particular reason, I just like to torture myself learning new API's).
So I went to link text
And clicked the Big Green button called "Get the Microsoft Web Platform".
Big Mistake...At least in terms of what I expected ...
How do I go about hosting a silverlight 3.0 application inside of a wpf application in which I can pass data between the two? It needs to run without internet connectivity.
...
Hello,
I would like to know if silverlight can access devices such as GPS or a form of location base device that can tell the application the returned location.
Thanks.
...
I want to be able to load items in System.Windows.Controls using late binding.
I can do it with dlls that i can load remotely like this:
private void Button_Click(object sender, RoutedEventArgs e)
{
panel1.Children.Clear();
WebClient c = new WebClient();
c.OpenReadCompleted += new OpenReadCompletedEven...
Hi
When i am setting the source using the SetSource method in BitmapImage i got the Out of memeory exception in Silverlight .How to solve the problem
System.Exception was unhandled by user code
Message="Error HRESULT E_FAIL has been returned from a call to a COM component."
StackTrace:
at MS.Internal.XcpImports.CheckHResult(...
I have a table that have "first name" and "last name",
when binding to a datagrid, I need to have column named "name",
which is "first name" + SPACE + "last name"
As I using domaindatasource tag in xaml, any method to bind a column "first name" + SPACE + "last name"?
Is there any method like define a class to have for the table in edm...