presentationcore cannot load into silverlight application
Hi, I have created a silverlight application and I couldn't load PresenetationCore.dll into it. I need to convert the UIElements into image or Bitmap. How to do it...? ...
Hi, I have created a silverlight application and I couldn't load PresenetationCore.dll into it. I need to convert the UIElements into image or Bitmap. How to do it...? ...
Is possible in WCF service: method return IList when object can be Person class? Ex: in IServiceContract.cs [ServiceContract] public interface IDAS { [OperationContract] void DoWork(); [OperationContract] List<object> GetAnyClass(); } And class: public class DAS : IDAS { public void DoWork() { } pu...
What is the preferred way to retrieve large(approx: 50 MB) xml string from ASP.NET webpage? Placing the xml string in file and downloading the file is not a choice.(This should be my last resort if nothing else works) I have following method on ASP.NET server which is exposed through WCF service to silverlight client. [OperationContr...
i need to scroll the textblock text. For example, the textblock contains 700 words. These words are populated to the textblock from code behind as it could be a different 700 words depending on some "stuff". There is a textbox on this form as well. The user types the words in the textblock into the textbox. As they type i keep track...
i need to scroll the textblock text. For example, the textblock contains 700 words. These words are populated to the textblock from code behind as it could be a different 700 words depending on some "stuff". There is a textbox on this form as well. The user types the words in the textblock into the textbox. As they type i keep track of w...
Does anyone have any idea when Microsoft might be dropping another Silverlight 4 public release? As ScottGu has been quoted many times: "We will be adding VS 2010 RC support for SL4 with the next public Silverlight 4 drop." I've read speculation that there might not even be another Silverlight 4 public release until RTW. It's painful...
I have a list of hyperlinks that are displayed through an ItemsControl, something like this: <ItemsControl x:Name="SubMenu" Visibility="Collapsed"> <ItemsControl.ItemTemplate> <DataTemplate> <HyperlinkButton Content="{Binding Name}" NavigateUri="{Binding Url}" ...
I have a bit defined in my database 0=no, 1=yes. I have a silverlight combo with the values "Yes" and "No" in it. How can I bind my bit value to the combo? ...
I want to render a lot of circles or small graphics within either silverlight or wpf (around 1000-10000) as fast and as frequently as possible. If I have to go to DX or OGL, that's fine, but I'm wondering about doing this within either of those two frameworks first (read: it's OK if an answer is WPF-only or Silverlight-only). Also, if ...
IIS 6.0 hosting ASP.NET 3.5. From the Visual Studio 2008 aspx code behind (aspx.cs) running on the server I need to determine if Silverlight is installed on the client and if so which version. I know from Java on the client this can be done. That is not what I need. I know I can put in a control that will render if Silverlight ...
Problem: I store the page name I want opened in Silverlight in a database. When I startup the application I want to set the page to this string so rather than this: this.RootVisual = new MainPage(); I want something like this string pageName = getValueFromDatabase() if (!PageExists(pageName)) throw error else this.RootVisual =...
I have an AutoCompleteBox that needs to wrap the filtered items with some other controls, such as a link to a different search form. I need the AutoCompleteBox's dropdown to show even when the filtered list is empty. Currently, AutoCompleteBox forces the Popup to close when the item list is filtered to nothing. How do I keep the dang...
Hi all. I have a Silverlight Business Application project set up, with these codes. I have this domain class: public class BaseDomain { public virtual Guid Id { get; set; } public virtual DateTime CreatedOn { get; set; } } public class Sector : BaseDomain { public virtual string Code { get; set; } public virtual string...
Hi I have ContentControl and I am applying style in which I have ListBox. I want to find ListBoxItem in Xaml.cs. ...
1. I have created a audio player in silverlight. within that player user is able to select a portion of song to save as ringtone. but i got the time duration from .. but I have to cut the partial portion of stream or audio stream and save it to the server dick. Plz suggest me how I can convert the selected audio time duration into the...
I need to convert an existing WPF project to Silverlight. I know that there is no an automatic way of doing it. Could you share your experience and give advise regarding steps for this conversion and what pitfalls one should be aware of? ...
Hello, I have a Silverlight application that has a DataGrid. I need to print the selected items in the DataGrid. However, I do not want to use a WritableBitmap. Is there a way for me to pass just those items to either a WCF Service or a .aspx page and render HTML that will prompt the user to print? If so, how? Thank you, ...
So, what is a best approach to implement silverlight localization with Reactive Framework (Rx) to achive on-the-fly UI changing? I would be very much obliged for examples. Here is an example of on-the-fly UI changing. But I can't figure out how it works. ...
I have a DataGrid with multiple columns. The data grid has a style that changes the forecolor of text on a row where the mouse is over or the row has been selected. So the text color will change from black to white, for example. In one of the columns in the data grid, I have a ListBox. Is it possible for the items in the list box to ...
Is it possible to have the controls on a canvas be bound to a list of objects? I am thinking something like this: <UserControl.Resources> <DataTemplate x:Key="MyItemTemplate"> <ContentControl Content="{Binding Converter={StaticResource MyControlConverter}}"></ContentControl> </DataTemplate> </UserControl.Resources> <Can...