DataStateBehavior isn't working. Is there a trick to make it work when properties are nested?
<i:Interaction.Behaviors>
<ic:DataStateBehavior x:Name="DataStateBehaviorCustomIndexButton" Binding="{Binding ViewModel.ButtonVisibleFlag, Mode=TwoWay}" TrueState="ButtonVisible" FalseState="ButtonHidden"/>
</i:Interaction...
I need a silverlight xap to notify the page somehow once it's finished loading. I was trying to use Javascript to call into the control via $(document).ready(...) but it looks like ActiveX controls can continue loading after the document ready event fires. Is there an event on the object tag I can have call a function?
...
I have two UI elements next to each other that I want to behave as if they are one MouseLeave area.
How can I check if the mouse is over a UI element being entered during a MouseLeave event?
Currently, checking the mouse position using the following solution shows the mouse over the element being left during the MouseLeave event: http...
The problem: I have a web application that I need to implement something like WCF Polling Duplex, or Comet. Where a connection is opened and not closed. I need to use push because of the high frequency of updates and I cant afford the overhead bandwidth or time.
Technology: The application will be a Silverlight 4 one and the backend .N...
I'm trying to achieve the effect of a pop-up when the user right-clicks in a Silverlight application that shows essentially a custom control. I'm using a Context Menu, and all is working great except that I'm having trouble styling the context menu so that it doesn't highlight itself when the user mouses over.
Here's a snippet of what ...
There is a MediaElement in my silverLight4 Application that plays videos.
There are also other controls in the form (listbox, buttons etc...).
When vieweing a Video, i want the option to switch to Fullscreen, but only the video and not all the form (something like youtube), is there a way to switch just the 'MediaElement' control to full...
Hi,
I want to determine how to filter F5 or the refresh button in browser in silverlight 4.0.
thank you
...
I am using both the Microsoft Toolkit themes, and the C1 Themes (which are a subset of the MS Toolkit themes).
The reason for this is that I need the range of Themes that MS offer, but I need one of the controls that C1 offers. The problem is, when you apply the Application Theme to one of the MS themes, it doesn't apply to the C1 contr...
I have used below code to convert my silver light data-grid value into excel sheet.
But it works only out of the browser,not in the browser.
link
please do check the link,i am using code from site only,i need to fix.i have to run in browser..
private void btnconvert_Click(object sender, RoutedEventArgs e)
{
int rowIndex ...
Is it possible to create a button with a drop down, or a combobox that has the dropdown arrow along the bottom as opposed to the right hand side? I am trying to emulate the "Paste" button in the Word 2010 ribbon.
...
AutoComplete Populating will repond to each key typing for when you input data in AutoComplete.
Is it posssible to set time interval to respond key typing?
For example, set MinimumPrefixLength=3 for an AutoComplete. If user input "School" in the box with within 3 seconds and time interval is set as 5 second, then Populating event only ...
I have a datagrid with multiple columns. I want to use Interaction.Triggers as a means to fire off a particular method on the view model when only one particular column on the grid changes. How do I find the list of available events for that particular column.
I tried using Exp. Blend 4 but I could only see events for the entire datagrid...
Hi,
I'm working with Silverlight 4 on getting a single entity from an Entity Set. Doesn't sound hard?! Well, I simply can't get it working:
myDomainContext dc = new OrgUnitTestDomainContext();
OrgUnit ou;
ou=dc.OrgUnits[0]; //Error 1 The property or indexer 'System.ServiceModel.DomainServices.Client.EntitySet.List' cannot be used in ...
I have a ListBox that uses a WrapPanel for its ItemsPanel, a custom ItemTemplate, and a custom ItemContainerStyle. The ItemContainerStyle's template contains a selection box that shows up when an item is selected. The graphics designer would like this selection box to overlap sibling items in the ListBox like it's an overlay.
The firs...
Hello:
I developed WPF / XAML applications that invoke objects (functions or Web services) which retrieve data from various sources (SQL Server DB, Active Directory, Oracle DB, SAP RFC, XML files, flat files, etc.).
These objects always return Datasets, which then bind to datagrids for displaying information to the user, additionally ...
I have the following piece of XAML code:
<controlsInputToolkit:ContextMenuService.ContextMenu>
<controlsInputToolkit:ContextMenu
Height="75"
Width="200"
IsOpen="False"
Visibi...
I have the following piece of XAML code:
<controlsInputToolkit:ContextMenuService.ContextMenu>
<controlsInputToolkit:ContextMenu
Height="75"
Width="200"
IsOpen="False"
Visibi...
for some reason everytime i restart the (in browser) silverlight application, isolated storage has no keys in it.
i have even tried this with a vanilla template with the code below.
things i have checked:
always using the same port
on startup the application always created the entry in isolated storage (never persisted)
on shutdown, t...
Hi,
I have problems with invoking javaScript code on page with Opera 10 browser.
JavaScript code on page:
function CallMe(){
alert("It works!");
}
And I am invoking this code with:
HtmlPage.Window.Invoke("CallMe");
In all browsers except Opera this works great. In Opera I get error: "failed to invoke: CallMe"
What am I doing ...
Could somebody please help me resolve the System.InvalidOperationException which is being thrown inside the generated client code of my Silverlight RIA services. The exception message is as follows:-
This EntityContainer does not contain an EntitySet of type 'Deintegro.DAL.Data.Title'. If the type is external to this EntityContainer, pl...