Advanced Forum Search Results
-
You can try to use HtmlPlaceHolder control from Telerik: http://www.telerik.com/products/silverlight/htmlplaceholder.aspx, license required though.
-
Not so long ago I was faced with a similar situation.
You can definitely use the VisualTreeHelper but I didn't use that approach.
What I did was I added an ObjectCollection in the Resources section of my XAML. This ObjectCollection (x:Key=myControlList) contain String objects which represent the x:Name of the controls in my ...
-
You can not set the event handler in markup if you are loading your XAML via the XamlReader.
-
I can suggest two options:
Create a third row in your Grid and then move the Expander control there, OR
Wrap your DataGrid inside a ScrollViewer control.
Hope this helps.
-
You can do this by using Image Control defined in a DataGridTemplateColumn and a ValueConverter.
-
@roger - What version of Silverlight are you developing on? This error would show if you are using a ChildWindow (SL3 Beta) and testing your app with SL Spy. As of now there is no work around, we just need to wait for an updated release of SL Spy.
-
Have you checked the documentation? http://msdn.microsoft.com/en-us/library/cc296240(VS.95).aspx
-
This usually happens to me when I have an unhandled exception inside my WCF Service. You can try to find out what's wrong by attaching the visual studio debugger to your WCF Service isntance.
-
Have you tried placing your images in the ClientBin folder of your ASP.NET Project (not the Silverlight Project)?
ClientBin/ejecthot.png
<Image x:Name="PlayButton" Width="100" Height="20" Grid.Row="0" Source="/ejecthot.png" Grid.Column="1" />
-
The return type will be an Anonymous Type. You can refer to this article to know more about it: http://weblogs.asp.net/scottgu/archive/2007/05/15/new-orcas-language-feature-anonymous-types.aspx
So to get the ClientID on the selected item of the ComboBox(cb) do something like:
var client = cb.SelectedItem;
int clientId = client.ClientID;