Using the Silverlight Business Application template in VS2010 creates a nice default solution with a Silverlight project and an ASP.NET project. It also automatically provides some nice authentication that seems to store usernames/password/etc for newly registered users into your local SQL Server database.
Is it possible to customize th...
Problem Overview
I am working on a game application and need to be able to implement scrollable maps in Silverlight similar to those found in Google Maps. However, I am unsure as to how to implement this effectively. The following paragraphs provide much additional detail. Any ideas or guidance is greatly appreciated!
Problem Detail
I...
Hi,
I can see that the system reference is added in silverlight project in visual studio. The assembly is mapped to C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0\system.dll.
The namespace System.Collections.Specialized does not seem to have NameValueCollection class defined.
My issue is that i need to wr...
Silverligh 4, VS 2010.
Making a Custom Control. (Non just UserControl, but public class HandPart : Control, and a template in \themes)
Then I creating a new DependencyProperty with a helper snippet:
#region SomeDouble (DependencyProperty)
/// <summary>
/// A description of the property.
/// </summary>
public Double SomeDouble
{
...
I created one master page with navigation frame. In a child page also containing one navigation frame once Child page loaded the outer next prev buttons are not working...
...
We have a Silverlight control embedded in an html page. When I zoom the html page in FireFox 3.5 (ctrl - +) and then try to click on something in the Silverlight control the mouse input is not taken at the correct place.
I have to click above the control to get it. This behavior can be seen here:
http://silverlight.codeplex.com/
Any...
Hi,
I'm using Silverlight 4 and I want to create a childwindow with a TextBox, that the TextBox's width will be constant and it's height will be resized according to the size of the assigned text.
Any ideas how can I do it?
...
I am a bit confused how to best use a Regular Expression and hope I can get some help I want to extract a URL value from an INI File as such:
[DEFAULT]
BASEURL=http://www.stackoverflow.com/
[InternetShortcut]
URL=http://www.stackoverflow.com/
So I can get the URL value as the only Match from the Regular expression - but I don't unders...
I have a style template (below) that does not update some my custom control properties.
...
<Style x:Name="KeyboardButton" TargetType="Controls:KeyboardButton">
...
<Setter Property="ArrowDirection" Value="Right" />
<Setter Property="ArrowBeginColor" Value="Red" />
<Setter Property="Template">
...
ArrowBeg...
As hard as I try, I cannot get my silverlight app to stop on break points. I've tried both in and out of browser debugging.
Steps I've done:
Repeatedly cleared my internet
cache.
Made sure Silverlight
debugging is enabled in my test web
application.
Made sure symbols are
loaded by placing a reference to the
silverlight app in my tes...
Does anyone know of an efficient way to detect user inactivity in a Silverlight App. The idea is that everytime a user interacts with the app in any way a timer would reload. When it expires, a "continue working.." dialog would be displays for a period and the the page would redirect to /Logout.
The rub is detecting inactivity. Tho...
Hello. How do i detect when scrolling is unavailable to the scrollviewer control and make it invisible. And the scrollbar only visible when there is a chance to scoll up or down.
Thanks,
Shawn McLean
...
I am adding item into Sharepoint List from the Silverlight Application using Sharepoint' list.asmx web service. I need to know the ID of this newly created item. The UpdateListItemsCompleted's e.Result (XElement) is returned having the following XML fragment. How can I extract the ID of this item. I am not good in XLinq!
<Results xmlns=...
I am deploying a silverlight application which uses a mysql db through ADO.NET Entity Data Model.
When trying to run the application from my host, the WCF service works fine, but i get a server exception when calling from wcf service:
Unable to find the requested .Net Framework Data Provider. It may not be installed. at System.Data....
Is there any way to tell whether a control (specifically a System.Windows.Controls.TextBox) is focused in Silverlight? I'm looking for something like the following (what you would see in a regular .Net application):
textBox.Focused
This seems like something simple and trivial to leave out from a control, and yet I can't find an answer...
Hi
I want to pass a custom class as parameter to the query method which returns me a collection of entities. I need something like this
[Query]
public IEnumerable Search(SearchParams params)
{
//do something here
}
public class SearchParams
{
public string FilterParam1 {get; set;}
public string FilterParam2 {get; set;}
public...
We have an Silverlight applications for tracking Sales Leads. In this application files can be attached to the Sales Leads using the File Open dialog and a file upload module. This works great.
In a perfect world, the client wants to be able to drag and drop e-mails onto the lead in the silverlight application. I know that this is a ...
I have a scrollviewer with dynamic content. On an event, a new content is made visible and the scrollbar appears. How do i make it auto scroll to have that content in view?
Thanks,
Shawn Mclean
...
Hi,
I need to implement an editable combobox where users can select existing values from the data/tables. It needs to be editable because users can also add new rows to the table by entering new values in the editable combobox, so I put an AutoCompleteBox control into my page but I can't find any sample on how to implement such feature....
Here's the situation: I have a custom TextBox control that contains multiple other TextBox controls. I need to turn IsTabStop off in the parent control, but I still want to expose a new IsTabStop property, which the sub-textboxes are template-bound to. I wrote the following code:
using System.Windows.Controls;
public class CustomTextBo...