I am new to WPF and am wondering how to best achieve a master detail grid as shown below.
The user will be able to press the right/left arrow keys to open/close Parents or click on the icon to achieve the same result. The data structure will be a parent/child 1 level deep.
How would I go about this?
-------------------------------...
Hey Guys
I have 4 ComboBoxes arranged horizontally :
The titles are just for reference.
[Platforms] [Releases] [Release Items] [Release Item Products]
My UI model for the boxes is as follows:
At first all four ComboBoxes are disabled (IsEnabled = false)
When the page loads, an async callback gets the Platforms data and binds it to ...
I am writing an app in Silverlight 3 using the Application Navigation template. So each page has a Loaded event, however I don't see a Closing event or an Unloaded event.
Does this concept even exist in SL3? For instance, how do I dispose of resources when this particular page closes and I navigate to another page in my app?
...
Hello,
The functionality I want is to have a remove button beside each item of a listbox so when the user clicks it, that specific item gets removed from the list.
I am thinking about putting it in the data template but how would I wire up an even to that?
Thanks,
Shawn Mclean
...
I have an app built with the Silverlight Navigation Application Template.
I have a main form (e.g. MainPage.xaml) and a bunch of Silverlight Pages, which are swapped in and out of the main content area.
In the MainPage.xaml, I have a DispatcherTimer which hits some Uri resources, regardless of which page I am on. Every now and then, i...
We are loading some xaml for an Element at runtime (XamlReader.Load) for some preview purposes. Need less to say, the properties/bindings are not know as they can vary across elements/controls we are loading.
As the run time view model context is not available when we load the control for preview - after loading the Element, the idea i...
I'm able to convert a byte[] to an image:
byte[] myByteArray = ...; // ByteArray to be converted
MemoryStream ms = new MemoryStream(my);
BitmapImage bi = new BitmapImage();
bi.SetSource(ms);
Image img = new Image();
img.Source = bi;
But I'm not able to convert the Image back to a byte[]!
I found in the Internet a solution, that wor...
I use Silverlight 3 with ASP.NET MVC. For database operations I query SQL Server database using FOR XML, and send the data as XML over wire to Silverlight client where it is deserialized to business object. Is this approach good? I do not find much resource on Internet about using Silverlight, ASP.NET and XML together.
...
I have tried, but only work with webpages on the Internet.
How to link with other pages within a file?
<HyperlinkButton Background="#00FF0000" Height="46" HorizontalAlignment="Left" Margin="33,0,0,93" VerticalAlignment="Bottom" Width="134" BorderBrush="Red" FontFamily="Comic Sans MS" FontSize="26.667" Foreground="Red" Content="Next Page...
Hello,
I would like to make a SL app that could save certain data in local and access it if it is disconnected. I think that I could expose the entities in the services (no dtos), and saving it in the isolated storage. WCF ria services for the services, but what about the SL app? Which is the best way for having a "local disconnected ca...
How can I convert int to System.Windows.GridLength in VB, NET so that I can set the height of a grid row in Silverlight (xaml).
In xaml file:
<RowDefinition Height="0" x:Name="rowerror" />
In VB.NET:
rowerror.Height = CType(30, System.Windows.GridLength)
This as I wrote in VB.NET. I know I'm wrong, but how do you do if the int to...
I guess this is going to sound like a pretty basic question to any web developers out there, but HTML and CSS are not really my thing and I'm on a really steep learning curve, so please cut me a little slack.
I have a silverlight control the I've developed with some animated graphics that I need to position at the bottom right hand corn...
I mean,, that would be the only issue to worry about when using silverlight compared to flash... do you think this issue could be solved in 2-3 years?
...
I want to use GetPosition method in the place where no mouseeventargs available. I wonder why this method can be used only with MouseEventArgs?
I want something like this UIHelper.GetPosition
...
what are the pros and cons of each?
...
When I downloaded the Microsoft .NET RIA Services July 2009 Preview, I got a hundred-and-something page Overview document. It looked like it had been revised from a previous release. I've just downloaded the WCF RIA Services Beta for Visual Studio 2008 version but I can't find an updated Overview document.
Do you know is there is one?...
So I have a small Silverlight application that plays a slideshow of pictures. What I want to do is burn the application to a cd and mail the cd to my mother so that she can run the silverlight application on her computer. I am using Silverlight 3. How do I create a standalone silverlight application/player?
...
If I want to host a site developed with Silverlight does it require any additional cost or special web server? Or i can just host it on my current ASP.NET hosting provider?
...
I've been trying to run the Silverlight Business Application template but it fails when I try to register. I have SQL Express with an MSSQLSERVER instance and I've defined the standard aspnetdb created.
The error is:
Submit operation failed. Unable to connect to SQL server database.
at System.Web.DomainServices.ReflectionDomainServ...
I'm writing a simple Twitter example that reads the Twitter Search RSS feed via:
http://search.twitter.com/search.rss
This works well except that the Description in this contains HTML such as Bold Tags and Link Tags, I have looked at the Atom feed via:
http://search.twitter.com/search.atom
It also has HTML in the description, is th...