Advanced Forum Search Results
-
Hi kixna,
That was most of the code you need for your implementation. Add the interface to your project (either a new file or inside one of your existing code files inside the namspace declaration but not inside a class.) Add the interface inheritance to the user controls you are fading in and out ( similar to public ...
-
Hi muybn,
In your completed event check the error message before attempting to access the result. Something similar to:
void client_GetChartDataCompleted(object o, GetChartDataCompletedEventArgs e)
{
if (e.Error != null)
{
//Handle Error
...
-
Hi muybn,
You use a WCF web service from a Silverlight application by creating a client object that inherits from System.ServiceModel.ClientBase. The client object has to know the location (uri) of the web service you're trying to call. The constructor for the client has several overloads. You can create an ...
-
Hi muybn,
Looks like a service error. Check your service references when you change the location (domain) of the Silverlight Application. Use a development tool like webdev helper or fiddler2 to check the service requests your app is making.
Also, in your code check for an error condition before trying to access the result in ...
-
Hi RhondaBailey,
Update your interface with the new method: [ServiceContract(Namespace = "http://foo.com")]
public interface ICustomerService
{
[OperationContract]
List<ColocationData> getColos(int DCCID);
[OperationContract]
List<sprocClass> GetUIElements(string ...
-
Hi thesquirel16
The code is fine. There's nothing in the code you posted firing the storyboard though. The drop shadow is flipping also, you may want to change the angle as the flip progresses.
The last button on the button bar is a source code button. Post code using the popup window and it should post just ...
-
Hi azy1,
Depends how and where you want the detailed description and bigger picture.
If I were you I would set up the detailed description and bigger picture with a binding. Have the two items in a container of some sort (grid, stackpanel, etc). Wire up the selectionchanged event on the listbox to bind the selected item to ...
-
Hi muybn,
It's not much different than deploying the ASP.NET apps you've deployed in the past. You'll have an .aspx or .html page hosting your Silverlight Application. Copy that file over to your deployment site. If it's an .aspx page, you'll have to copy over a web.config file, set up a bin folder and ...
-
Hi RhondaBailey,
You should try to create the interface with the service and operational contracts, then code your impletation to the interface. Add the DataContract and DataMember attributes to your data class (ColocationData). Something like this:
[ServiceContract(Namespace = "http://foo.com")]
public ...
-
My pleasure.