I have a Silverlight Chart with a BarSeries, with the bars set horizontally. The data origin starts in the lower, right corner. The source data is also bound to a ListBox. The sorts appear different on the screen when comparing the Chart and ListBox. Here is an example of what it looks like:
Chart
Item4 ========
Item3 =====...
How can I put AddressOf, from another class?
I get this error 'AddressOf' operand must be the name of a method (without parentheses). "
Is there an Eval () function in VB.NET? Or how does one do this?
Public Shared Property e As UserControl
Public Shared Sub SetButton(ByVal button As String, ByVal Objekt As [Delegate])
Dim errorbu...
Hello,
I'm trying to understand the best way to create line of business applications in Silverlight. I hear about entity framework and RIA Services and prism and I am completely confused. If I want to create a line of business application that pushes data to the the client application, which framework should I use?
...
I need to locate a cell/column in a Silverlight 3 DataGrid so that I can call UpdateSource on it. How can I do that?
This is why, in case you're interested:
I have a DataGrid in a Silverlight 3 app which displays objects which are decorated with DataAnnotations attributes such as [Required], for validation purposes. I'm populating th...
I'm having a problem, visible at runtime and in Expression Blend, where the text blocks (not text boxes, buttons, or custom controls) in my layout grid keep pushing themselves outside their cells, rendering them invisible. If I touch any of their properties in Blend (such as incrementing and then decrementing one of the margins), they be...
I have a small Silverlight 3 test application. This is an exercise in learning Silverlight, XAML, binding, etc. I have a small test class (Test), which has three properties; Val1, Val2, and Sum. I have declared a resource in the XAML as follows:
<UserControl.Resources>
<app:Test x:Name="xamlTestObj"></app:Test>
</UserControl.Reso...
I'm dynamically adding buttons to a grid that is already surrounded by the expression dark theme element. When running the application, the buttons created do not inherit their parent's grids theme. Any ideas?
...
I am trying to bend the DataForm to support many-to-many and bind lists of child objects. I've gotten as far as being able to control the display of the objects and have access to the on change event.
For example:
OfferEditorForm.AutoGeneratingField += new EventHandler<DataFormAutoGeneratingFieldEventArgs>(OfferEditorFormGeneratingFiel...
I have two .NET 3.5 WCF services build with VS2008.
I have two WCF clients in Silverlight to consume these services. The clients are generated with the 'Add Service Reference'. I am using Silverlight 4.
ONE of the proxies is generated with Specified properties for each property. This is a 'message-in' class for my service method :
...
Hi
can any one tell me how to create a silver light application in VS2008
...
Hi there,
In pageA I have a HyperlinkButton that links to pageB
private void Link1_Click_1(object sender, RoutedEventArgs e)
{
HyperlinkButton btn = sender as HyperlinkButton;
string url = btn.Tag.ToString();
this.mainFrame.Navigate(new Uri(url, UriKind.Relative));
}
How can I make a COMPLEX obj...
JavaFX is a new technology introduced by Sun. I would like to know what are the limitations and pitfalls of JavaFX and silverlight.........
...
Is it possible to open socket connections running on an Azure server from a Silverlight app. If so, are their any examples
...
I'm looking at a scenario where I need to create a single "master" Silverlight application and then add "child" applications for an out-of-browser Silverlight application.
The scenario is something like this.
A user will visit a gameboard web site
and choose a game to play. Let's call
it Checkers. He likes it, so then he
insta...
Can someone tell me if silverlight 3 controls use the weak event pattern. So, if I write:
myView.Listbox1.ItemSource = MyView.ViewModel.SomeObservableCollection;
or
MyView.DataGrid1.ItemSource = MyView.ViewModel.SomeOtherObservableCollection;
And the ViewModel here is a singleton that lives much longer than the view itself, will I ge...
I have installed ServicePack1 of VS 2008 and silverlight tools for VS2008 .
How to add reference to silverlight to my project .
...
I have a custom Membership provider that implaments only the bool ValidateUser(string username, string password) method on System.Web.Security.MembershipProvider
This method uses a LINQ to SQL class to check the username and password as such:
MyDataContext ctx = new MyDataContext();
bool valid = ctx.Users.Where(u => u.userId == userna...
Hi
Can any one tell me how to allign text boxes in silverlight using C# .In my application two textboxes are getting overlapped . I am using Grid
...
Dear ladies and sirs.
Observe the following piece of Silverlight code:
foreach (AssemblyPart ap in Deployment.Current.Parts)
{
var sri = Application.GetResourceStream(new Uri(ap.Source, UriKind.Relative));
var assembly = new AssemblyPart().Load(sri.Stream);
// Do something with the assembly.
}
It iterates over all the assemblie...
I have a Silverlight 3 project. When one of the pages is loaded, a System.Threading.Thread object is created and started. I want to make sure that it terminates when the user navigates away from the page. Will this happen automatically, or do I have to manually terminate the thread in the OnNavigatingFrom event?
Thanks for any help.
...