silverlight

How to become sharepoint developer from ASP.NET/Silverlight developer?

Hello friends, I heard from my peers that knowledge of sharepoint is going to be good for career. We do not use sharepoint at our office. So dont know how to get started. These are my sharepoint newbie questions Is learning sharepoint worth the effort? Where are the resources to learn sharepoint? Is there any reference project I should...

Where to start in profiling SQL server Silverlight application

Hi, I need some advice on where to start in profiling a silverlight 3 application that is loading data from a SQL server Express database. At this stage I am not sure if the querying of the data on the server is taking long (and we may need indexes) or if loading on the client side is the problem. How would one start? JD. ...

Debugging a performance issue on ListBoxDragDropTarget (Silverlight Toolkit)?

I have a complex project using SilverLight Toolkit's ListBoxDragDropTarget for drag-drop operations and it is maxing CPU. I tried to reproduce the issue in a small sample project, but then it works fine. The problem persists when I remove our custom styles and all other controls from the page, but the page is hosted in another page's S...

Should I define a single "DataContext" and pass references to it around or define muliple "DataContext" where ever I end up needing them?

I have a Silverlight application that consists of a MainWindow and several classes which update and draw images on the MainWindow. I'm now expanding this to keep track of everything in a database. Without going into specifics, lets say I have a structure like this: MainWindow Drawing-Surface Class1 -- Supports Drawing DataC...

Regarding Creating Business application using Silverlight

Hi, We are in the conceptual phase to create a relatively medium size enterprise business product application using Silver light 4.0, Entity Framework and WCF. 1. Is it adivceable to use Silverlight 4.0 for this enterprise business application development or should we go in for MVC.NET / ASP.NET? 2. We have planned to use REST based WCF...

Error Cannot create an Instance of "ObjectName" in Designer when using <UserControl.Resources>

Hi All, I'm tryihg to bind a combobox item source to a static resource. I'm oversimplfying my example so that it's easy to understand what i'm doing. So I have created a class public class A : ObservableCollection<string> { public A() { IKBDomainContext Context = new IKBDomainContext(); Context.Load(Context.GetIBOpti...

How to handle client disconnect with PollingDuplexHttpBinding

I am implementing a WCF service, with a Silverlight 3 client, which uses a PollingDuplexHttpBinding for communications. What are the alternatives for handling when a client closes their browser without disconnecting from the server first? I know that it will eventually throw a TimeoutException, which I can catch, but is there a better ...

Why should I use MVVM when it breaks built in riaservices functionality

I'm struggling to grasp why MVVM is really a good pattern to implement in riaserivces, To me there's nothing but trouble to it, it just add's another tier that I have to code. I Get that I could change the UI, but really I don't need to. Instead i won't be able to user out of the box functionality with riaservices, datagrid, dataform all...

Creating reports in Silverlight 4. (PDF/Word export) What are the main options?

From my research it seems like the main option is to call up a HTML page from your Silverlight application and print from there.. So to use SSRS or Telerik Reporting for example. Is there anyway to just print and export to PDF/Word from inside the Silverlight application ? What options can I look into ? ...

In silverlight how do you scrub a string

I have a string that looks like this " Into" and I can't figure out what the " " value is just before the Into. It's not a space, it's not an enter. At least i don't think so. I've tried doing a replace to get rid of it.. So now i'm just trying to figure out what that character value is. Convert.int32 doesn't get it done... What ca...

What is the return type for a anonymous linq query select? What is the best way to send this data back?

This is a basic question. I have the basic SL4/RIA project set up and I want to create a new method in the domain service and return some data from it. I am unsure the proper easiest way to do this.. Should I wrap it up in a ToList()? I am unclear how to handle this anonymous type that was create.. what is the easiest way to return this ...

Which dll has 'BusyIndicator' for silverlight?

I have installed Nov '09 silverlight 3 toolkit. Referenced System.Windows.Control from C:\Program Files\Microsoft SDKs\Silverlight\v3.0 Libraries\Client\System.Windows.Controls.dll but when I compile my code I am getting "Error 6 The type or namespace name 'BusyIndicator' does not exist in the namespace 'System.Windows.Controls' (are yo...

How do I use Sketchflow sample data for a ListBoxItem Template at design time?

I am using Expression Blend 4 and Visual Studio 2010 to create a Sketchflow prototype. I have a Sample Data collection and a ListBox that is bound to it. This displays as I would expect both at design time and at run time. However, the ListBoxItem template it just complex enough that I wanted to pull it out into its own XAML file. Ev...

How do I do import hooks in IronPython/Silverlight?

I'm extending TryPython to (along with various other things) allow users to save a file and subsequently import that file. TryPython overloads the built in file operations, so I need to know what parts of import need to hooked into in order for import to use the overloaded file operations. Really, a basic overview of IronPython's impor...

Silverlight + WCF + client credentials

I have a WCF Web Service with a custom username/password validator. How does one specify the username and password as the ClientCredentials properties when creating a service in Silverlight are read-only? Thanks for any help. ...

How do I do per-client localization in Silverlight?

I'm trying to do custom per-client localization in Silverlight and am running into problems. I tried using custom cultures (en-US-c1, en-US-c2, etc), but found that doesn't work because the culture needs to exist on the client. Is there a good clean way to do this? ...

How to Make ESC exits full-screen mode in Trusted Application?

One consequence of the keyboard-restriction change is that pressing ESC will not exit full-screen mode in trusted applications. This enables you to use the ESC key for other functionality. However, you must provide your own user interface for exiting full-screen mode. Reference: http://msdn.microsoft.com/en-us/library/ee721083(v=VS....

Silverlight 4: ToolTipService

I can't scroll to my scrollviewer, it disappear when I move the mouse. Was it because it was just a tooltip? If yes, is there a way to scroll the text in my tooltip? <TextBlock TextWrapping="Wrap" Style="{StaticResource TextBlockWidthStyle}" Text="{Binding ExtendedDescription}" ...

Silverlight: TextTrimming

Hi! Is there a way to identify if TextTrimming is triggerred? for example in my first row, text is not trimmed because its only 20 characters, in my second row text are 1500 characters and it trims the text, is there a way to identify it, like IsTextTrimmed property? <TextBlock TextWrapping="Wrap" Text="{Binding test}" TextTrimming="W...

comparison of ADO.NET Entity data model & Telerik OpenAccess ORM....in silverlight

please provide me some comparison of ADO.NET Entity data model & Telerik OpenAccess ORM....from silverlight point of view. which one is better & more suited for silverlight apps.... performance comparison usability which one to choose & why? other points to be considered ...