Partition of Listbox?
Is it possible to partition of list box into several columns. If yes which property is used for that in Silver light? ...
Is it possible to partition of list box into several columns. If yes which property is used for that in Silver light? ...
I am binding an object(named Client) with and ObservableCollection(named Contacts) property to my Silverlight view. My Client class has a few string properties on is and the ObservalbeCollection called Contacts. There is a property on my viewmodel named Client(Which implements INotifyPropertyChanged) that contains the Client object. If I...
I am currently working on a Silverlight2-based attendance register. I want to create a visualisation of attendance over time for students and classes, but am struggling to come up with a good way of doing it. The sort of thing I'm imagining is a grid with students on the vertical axis and date along the horizontal, with a symbol at the i...
I have a Silverlight application deployed on both our staging and production servers. This application caches information using isolated storage settings. If I browser to http://stagingserver/pagewithsilverlight.aspx everything works fine, data is stored to isolated storage on my machine just fine. However if I browse to http://pro...
Here is my data type: using System; namespace UI { public class AddressType { public byte ID { get; set; } public string Name { get; set; } } } Here is my collection: using System.Collections.ObjectModel; namespace UI { public class AddressTypes : ObservableCollection<AddressType> { } } ...
Where is the best place to put Style StaticResources? I have been putting the global and default styles in app.xaml and the page specific styles in page_name.xaml. Should every control have its own style StaticResource? Is it acceptable to put some style attributes right in the control? I have a page with 5 TextBoxes on it, should there ...
how to display data horizontally in a list box. I had used the properties for reading data from the text box and i have to display these multiple data in to a list box (in one line, horizontally) . my code is shown below.. private void SaveButton_Click(object sender, RoutedEventArgs e) { LoadData(); } private void Lo...
I have a Silverlight 2.0 application using IIS7 and Sql 2008. I'm using ADO.Net Data Services to expose our Entity Framework objects to the SL client. What I am seeing is that on a particular request in my application I initiate a batch request with 4 different service queries; for some reason in certain cases no HTTP request is ever iss...
I am using WPF and Silverlight BookControls by Mitsu http://www.codeplex.com/wpfbookcontrol The WPF example alows that every page in the book to be a XAML file, but the Silverlight example dont. Is there a way load a XAML in every book page in the Silverlight example ? ...
I have this Page.xaml <UserControl x:Class="SLBookDemoApp.Page" xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:SLMitsuControls;assembly=SLMitsuControls" Width="800" Height="600" Loaded="UserControl_Loaded"> <Grid> <local:UCBook...
How to read an xml file in silverlight using webclient. I have one task, in this the xml file that i stored in my machine will read and the content od the xml file will display on a data grid. how it will be done? ...
How to Change the color of the sliding rectangle in the slider control in silverlight? ...
I have a Silverlight 2.0 DataGrid that contains a list of items that needs to be refreshed in an interval to display the up-to-the-minute information. There are items in this grid that may be added and may be removed while the screen is being displayed to the current user. For Example: If grid looks like the following, then after a m...
On my computer according to 'Add Remove Programs' I have installed: Microsoft Silverlight Microsoft Silverlight 2 SDK Microsoft Silverlight 2 Toolkit July 2009 Microsoft Silverlight 3 SDK Microsoft Silverlight 3 Toolkit July 2009 Microsoft Silverlight 3 Tools for VS 2008 SP1-ENU When I create a Silverlight project, I am gue...
I have a dependency property (Foreground) on a custom control which is inheriting from Control. When I am loading the control, I want to see if the user has set the dependency property or if it is using its default value before I set the value for them. The problem is a bit more complicated then that, here it is: The control is in a ...
The following code is not working.. The WriteCallback never happens and checking fiddler and also it never POST but does a GET private void Upload() { var ub = new UriBuilder(UploadUrl); Debug.Text += "Requesting " + ub.Uri + "\n"; var webrequest = (HttpWebRequest)WebRequest.Create(ub.Uri); webrequest.Meth...
How can pass a value from one page to another page in silverlight. I have one silver light application which contains two pages, one xaml.cs file and one asmx.cs file. I have one text box in xaml page names Text1. My requirement is that at the time of running, i could pass the textbox value to asmx.cs file. How it will be done? my code i...
How to insert a Combobox value in to a database. When i hit Save button in my application, it will stored stored into database like this way.. System.Windows.Controls.ComboBoxItem What i do for getting correct value of a combo box? ...
how to validate the input form of a silverlight control? I have 3 controls, two out of three are text boxes (For name, and Age), and the remaining one control is date picker. When i hit submit button, the validation should be invoked. how it will done?? thanks in advance. ...
How to drag and drop the dynamically created controls my code is shown below Button btnTask = new Button(); btnTask.Content = _myCustomTasks[iCtr].Description; btnTask.Background = _myCustomTasks[iCtr].TaskColor; stackPanel.Children.Add(btnTask); my requirement is to drag and drop these dynamically created button control. Thanks...