I have got an(other) error while trying to upgrade our large project to SL4. I didn't write the original theme and my theme knowlege isn't great. In my SL3 app I have a datagrid themed like so:
<!--Datagrid Style-->
<Style TargetType="datagrid:DataGrid">
<Setter Property="RowHeaderStyle" Value="{StaticResource System.Window...
Using the Business Application template from the brand new released RIA Services, you can see lots of examples using the data grid on top of a DomainDataSource in combination with a DataPager. The properties PageSize and LoadSize can be used to adjust the amount of data to be displayed in one page and the data that is prefetched in the b...
hi,
is there any way i can write this code in a function()
right now what is happening in function is
it tells
e.Row.DetailsVisibility
e.DetailsElement.ActualHeight
it is not able to find this it is telling is there any way i can get this
e.DetailsElement.ActualHeight
if (e.Row.DetailsVisibility == Visibility.Visible)
...
Hi,
i have multiple Pages (classes which derive from the Page object) in my silverlight app.
I can load one in the app.xml with this statement:
this.RootVisual = new ZoomData ();
But what should i do when i have this page loaded, and i want to navigate to another page?
...
Hi,
i've made a service reference from my silverlight app to my local dev server.
but now i want to deploy this on the testserver, but how can i change the uri of the dataservice now?
all i deploy is a XAP file, and in the asp.net world i was used to change the uri in the web.config, but obviously that isn't present in a silverlight app...
What I would like to do is pretty simple. Given textboxes for ItemPrice, Tax and Total, I need the text value for Total to be bound to ItemPrice + Tax and the Tax value to display ItemPrice * taxRate.
Could someone offer a brief explanation as to how this would be accomplished or point me to an appropriate example? I see property bindin...
Hi
in my app, I used WCF Services for load data from SQL DB then in Completed Event Handler of my ServiceClient write this code:
void svc_GetOrdersCompleted(object sender, GetOrdersCompletedEventArgs e)
{
if (e.Error == null)
{
dgOrders.ItemsSource = e.Result;
txtStatus.Text = "";
}
else
txtSta...
I am having hard times figuring this out. Here is what I need:
<StackPanel x:Name="container" VerticalAlignment="Stretch">
<RichTextBox Height="???" />
</StackPanel>
Basically what I know I can do is to bind RichTextBox Height to it's parent's height ( Height="{Binding ElementName=container, Path=ActualHeight}". Unfortunately th...
I‘m trying to create a page with Silver Light 4, that is similar in functionality to the main page at the Silver Light Showcase website (http://www.silverlight.net/showcase/).
Essentially I want to have buttons that change the view of the data in a Grid. One view might have just an image, another might have a smaller image with a smat...
I'm wondering if there is any impact on performance when I will set UseLayoutRounding = true for almost all controls in my LOB application.
Especially texts looks bad if there is no layout rounding.
I'm working on Silverlight 3.0 but soon I'll migrate to 4.0.
...
We have a working Silverlight 3 project. After changing the target framework to Silverlight 4 the application won't start anymore. It throws an exception in the following line in the generated InitializeComponent() method:
System.Windows.Application.LoadComponent(this, new System.Uri("/SLAppMain;component/App.xaml", System.UriKind.Relat...
I was wondering if anyone knew of a way to mimic the ".show();" method silverlight 4?
Basically I have a form that includes a button. When that button is clicked, I would like the program to bring up another form that I have created. So essentially, in Page1.cs I have:
private void btn_Button1_Click(object sender, RoutedEventArgs e)
...
I just started making a Silverlight 4 application and added a button to it.
The button doesn't appear in FireFox though. Works fine in Chrome and IE.
Can't find anything specific on google but there seem to be some problems with FireFox 3.6.
Anyone know a work-around or solution?
...
Hello,
I know this has been asked elsewhere, but none of the questions or answers helped.
I open an xml file in my SL 4 app:
StreamResouceInfo sri = Application.GetResourceStream(new System.Uri("z.xml", UriKind.Relative));
if (null != sri)
{
XDocument xDoc = XDocument.Load(sri.Stream);
}
"Root element is missing" exception.
...
I need to put together a team to build a silverlight based application that will read an xml file and generate a Mind Map diagram based on that file.
I am new to silverlight and I need to find out what skills do I need and how difficult is it to do something like this.
I expect the typical Mind Map features available in a commercial Mi...
We will be using custom Silverlight 4.0 controls on our ASP.NET MVC web page to display data from our database and was wondering what the most efficient method was? We will be having returned values of up to 100k records (of 2 properties per record).
We have a test that uses the HTML Bridge from Javascript to Silverlight. First we perfo...
This is ModuleInit.cs in Products module
public class ModuleInit : IModule
{
private readonly IUnityContainer _container;
private readonly IRegionManager _regionManager;
public ModuleInit(IUnityContainer container, IRegionManager regionManager)
{
_container = container;
_regionManager = regionManager;
...
Hello,
I have a a navigation application developed in Silverlight 4. It has a main page which contains a frame. I load a particualr view in that frame and I know that I can use NavigationService to navigate to other page which would be loaded in the same frame.
But my question is how it can be done using MVVM?
To get the frame do I ne...
Hello Experts,
How i can use local ms-access db file in Silverlight 4.
I want to read records from local ms-access file of any user who installed Out Of Browser Application on his/her system.
Same as we do with excel records. Looking forward to get results from experts.
...
Hi,
I'm trying to retrieve a string in my old webservice but it give me an error of
The remote server returned an error: NotFound.
and its InnerException is
{System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net....