how to use gridview control in silverlight
how to use gridview control in my silverlight xaml page in asp.net & c#.net? ...
how to use gridview control in my silverlight xaml page in asp.net & c#.net? ...
Is it possible to have a mix of RIA WCF services and custom WCF services hosted in the same project? At the moment I have a server project hosting 2 RIA service classes, both of which work fine, and 1 WCF svc file, which loads up fine in the browser (e.g. http://localhost/services/service.svc) but when I access it through code in the Si...
Hi Guys, I am facing a problem with WCF connectavity with silverlight. In my interface I wrote the DoWork method for asynchronous and normal calls. #if SILVERLIGHT [OperationContract(AsyncPattern=true)] IAsyncResult BeginDoWork(bool opt, AsyncCallback callback, object state); string EndDoWork(IAsyncResult result); #else ...
I'm looking for a SL4 equivalent to .NET 4's SetCurrentValue API, which would appear to be exactly what I need for my scenario. In short, I'm writing an attached behavior that updates the value of a given property at appropriate times. However, I don't want it to overwrite any bindings that are set on that dependency property. I merely ...
Just out of curiously, what is d:IsOptimized in Expressions Blend? While I know that d: is a namespace for design-time attributes, does anyone know what d:IsOptimized actually does? Is there anywhere that these Blend-specific attributes are documented? It's not in the design-time attributes supported (and documented) by Visual Studio:...
Need to verify that the attribute can be applied only to a class that implements a certain interface. Googled on that and couldn't find any way to access the type of the target class from the attribute code. Is there any easy way to do that, please? [optional] Is there a "portable" way (I mean, it would be totally great if the code wi...
Basically I'm wanting to insert a dynamic clock in my project. Right now I'm using the dateTime control which is fine but it's static. I need the clock to change digits with each second. In c# there is a Timer control that I would be able to use to make this dynamic clock possible. However, in Silverlight 4 I have not been able to lo...
I have a situation where I have a series of buttons scrolling by in a Grid inside a Canvas animated with a Storyboard and DoubleAnimation (on the Canvas.LeftProperty). When I move the mouse over the buttons I get the expected MouseOver transition to the MouseOver VisualState. But when the button moves under the mouse (that isn't moving...
Yeah, at first glance this seems basic. But here's the problem: I'm using MVVM and hierarchical data binding to populate the tree. What I'm having a hard time doing is getting the first node to expand. The reasons are: I don't have a direct reference to the tree since I'm in the view-model code. (MVVM is driving me nuts). I've actual...
My question is similar to this one. However, the answer in that thread does not work for me, because I'm using the LinearGradientBrush for an opacity mask. I've got a grid with three rows: <Grid.RowDefinitions> <RowDefinition Height="50" /> <RowDefinition Height="*" /> <RowDefinition Height="50" /> </Grid.RowDefinitions> ...
Missing Sketchflow controls button, checkbox and many others. Hi when I try to create a sketchflow project and add controls all I get it the default text ones not the Sketchflow hand writing ones :( All I can find on the web is the advice to uninstall blend then install it again :( this cannot surely be an answer? Expression Blend 3 ...
In Silverlight 4, I wish to invoke one of the mouse button click events when the right mouse button is clicked. I have the RightMouseButtonDown click event wired up, but I don't know how to manually fire the MouseLeftButtonUp event. I have tried raising the event in the following fashion. private void MainLayoutRootMouseButton(object s...
I have an image with and have a few values to make it a perspective in Silverlight, but can't quite figure out what I need to do mathmatically to make it happen. The most important thing is I have an angle called a "Field of View" (FOV). This is the normal picture: For example: X = 30° X = 30° X = 30° ...
Will jQuery together with HTML5 be the technology of the future? Or will Silverlight dominate the internet market share with the upcoming versions 5 and 6? Do you think it' safe to pick either technology if I have no specific preference for jQuery or Silverlight? EDIT: Please don't vote for [Close]. I am looking for valid and construct...
I need to create a custom series class for the Silverlight 4 toolkit (April 2010 drop). There is a tutorial here: http://themechanicalbride.blogspot.com/2009/03/writing-your-own-silverlight-chart_25.html that references an older version of the framework. There have been enough changes that this doesn't work. Can anyone point me to sam...
I'm running into some very anomalous behaviors that I'm having some trouble understanding. Basically, I've redone Colin Eberhardt's MultiBinding technique as a behavior (System.Windows.Interactivity) - mostly because I have a lot of other behaviors and this results in cleaner xaml. Along the way I tried to figure out why the ContentPrope...
I need to load a specific webpage from a site that has multiple images on the site. I need to extract these images but I can't do this manually because the names of each image have no pattern and there will be hundreds of sites. I have a silverlight application to load the webpage in an iframe and I intended on extracting the html for th...
From a pure speed perspective of compiled code, does it make a difference if I use 100% XAML or 100% code-behind or some kind of combination in between? There would be no logic in the code-behind like an if statement - it would do exactly the same as what the XAML would do which is to load content elements. If it does make a difference,...
I have C++ application which has UI developed using MFC, does some networking using sockets (using boost libraries) and some image processing. I want to move this application into Silvelight framework (I can use 4.0 if required) so that it can be used over the internet easily. Here I want to move all parts (UI + networking etc) in to C# ...
I need some recommendations about drawing in Silverlight. Books are preferred. ...