I've a control that sits in the .aspx page, but the dynamic code is in separate project in Page.xaml.cs.
On the same page as the control, I have:
<asp:DropDownList ID="DropDownAppServer" runat="server" >
In the Page.xaml.cs I've tried doing this:
HtmlElement element = doc.GetElementById( "DropDownAppServer" );
element.SetAttribute(...
In WPF, you can create a ListBox with a Canvas as an ItemsPanel and position items on that canvas. The code to do that looks something like this:
<ListBox ItemsSource="{Binding}">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Name}"/>
</DataTemplate>
</ListBox.ItemTemplate>
...
So since System.Web & HttpContext isn't available in Silverlight is there a way to do HtmlDecode & HtmlEncode inside a Silverlight app without some horrendous Regex?
...
I am trying to create a Silverlight application which pulls in my Flickr contacts and photos. I want them to display "nicely". I intend on creating a control that shows the user and their images right next to their name. I want each user to be listed one after another. Something like this:
----------------------------
User Name: <Ph...
New day, new problem :-)
Code:
Client Side:
void abw_Closed(object sender, EventArgs e)
{
DbServiceClient sc = new DbServiceClient();
abw = (AddBlobWindow)sender;
fi = ((AddBlobWindow)sender).fi;
if ((bool)((AddBlobWindow)sender).DialogResult)
{
blob = new Blob();
binBlob = new Binary();
bina...
I would like to run my Silverlight Unit Tests from Visual Studio instead of opening a new instance of my Silverlight Test App in the browser.
Apparently it is possible (http://www.jeff.wilcox.name/2008/09/rc0-new-test-features/ - search for "Visual Studio Team Test log provider output")....but I don't understand how you enable this, doe...
This is the error we get:
Error 1 The type 'System.Windows.Point' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. C:\PacMan\PacMan\PacMan\PacManTests\UnitTest1.cs 65 13 PacManTests
We get this error in our unit ...
I love the feature in Blend where you can setup databinding to CLR Objects, and design your Silverlight control/page. My issue is around the creation of a user control that will be used as a DataTemplate. It all works great in Blend, but only at design time. The issue is that when I am editing the control in Blend, and I bind say a textb...
If I use: OnSelectedIndexChanged like this:
<asp:DropDownList ID="ddl1" AutoPostBack="true" OnSelectedIndexChanged="Test_SelectedIndexChanged" runat="server"></asp:DropDownList>
UpdatePanel and UpdateProgress work correctly, meaning it shows my little gif etc.
However as soon as I change this to call javascript code, like this:
<as...
Maybe I am just over thinking this and need to write some more prototype code, but I wanted to get some of your thoughts:
Basically the application is going to be displaying up to several hundred custom visual objects in an X/Y "grid". The position and attributes of some of these objects may change between updates; the application will ...
Recently I needed to add drag & drop functionality to a Silverlight application. Can anyone recommend a good drag & drop control?
...
How to unit test Silverlight 3 Out-Of-Browser application?
...
I'm using the openFileDialog in sliverlight 2.0 with vb.net in the back end. I have it wired up and it is working as it is suppose to except that the click event seems to fire twice. It fires the first time, i select the files and click ok. it does the processing. But as soon as i click ok, the click event fires a second time and the ...
Hi,
I am trying to use databinding to bind data to a Silverlight toolkit chart.
I will have one to many sets of series so cannot determine how many series i need before hand.
I also want to stick to a databinding model and not resort to programmatically adding these series as many other controls bind to this datasource.
I found an arti...
Is there a way to make a "click-to-edit" control in silverlight? I've got some items that
will be displayed in a treeview control, and I would like the labels to be editable directly in the treeview.
Anyone know how to do this?
...
Hi,
I Have a library which has custom domain logic. Some of the stuff is heavy hitting and depend on the core runtime outside silverlight runtime.
Is it possible to compile the same code for 2 different runtimes and reference different flavours from different consumers? How
...
I have created a website. How do I add my Silverlight application to it?
...
Hi All
What would be the feasibility of a creating a page layout/shape drawing, with zooming, saving to database application in silverlight?
Does anyone know where I could find some good learning material on the classes/concepts I would need to know?
I think this would be a fun project.
Thanks in Advance.
Michael
...
I am new one with Silverlight and I am interested in how to zoom dynamic content.
For instance i have canvas and several listboxes and i want to zoom it.
...
So I know now that the debug assemblies have been intentionally left out of the Silverlight runtime to save space. For that reason I get good detailed error messages on my local machine that has the Silverlight SDK on it, but I don't on a computer with the runtime only. I get the ubiquitous, "Debugging resource strings are unavailable....