silverlight web service bug

Friday, April 23, 2010

when upgraged or create new application in silverlight 4 and want to you wcf service its will provides you data in array before

that silverlight provides System.Collections.ObjectModel.ObservableCollecti to remover this bug you have do some
exercise to go you application folder >Service References>servicesnamefolder>Reference.svcmap open it in notepad
replace this

Change TypeName value to include the Silverlight assembly “System.Windows”

– like below :

reload you solution and update Services Reference .
Reg your problem at Click here

thank you
Usama wahab khan

Csharp 4.0 dynamic datatype

Thursday, April 22, 2010

Dynamic Datatype in Csharp 4.0 is quit bit familier to Var Datatype. Deference betweet Var and Dynamic is VAR initialized on CompileTime and Dynamic initialized On Runtime. that's why Dynamic Data Type able define anonymous function on Compile Time.

Dynamic datatype allow to declare anonymous. this feature is really important when your work with com specially Silverlight .
To add Properties on runtime it was really big problem in C#. some of practice are available. like using IDictionary interface in C#. but now in C#.4 by using dynamic datatype with ExpandoObject dynamic datatype you can add properties on runtime. Dynamic Type inherit IDictionary to maintain add dynamic properties.

Dynamic initialized its type on runtime like object but object initialized its type on compile time.

When we use ObjectType as parameter in overload object initialized on compile time. dynamic parameter accept as anonymous datatype and initialized its self on runtime for overload method.
Object class initialized complie time thats its not allow it to act anonymous Type
Dynamic datatype initialized runtime its allow it to act anonymous Type define its type on runtime according to type overload methad will call;

Dynamic datatype as function argument is little bit confusing in overloading cause is there is no other argument matched datatype then Dynamic will call.

Enjoy new dynamic datatype in c#4.0

By Usama whab khan

Silverlight WebPart In Sharepoint 2010

Friday, April 16, 2010

Now its a time user need Rich User Interface with high leve of interactivity that is
easly possible with xhtml technologies . for this solution Silverlight comes in
and provide leverage to you .net development to next level of Next
Generation application developement evneriment and develop Rich internet application
and provide ultimate experience for web. SharePoint also provide support for silverlight
. silverlight compiled its not into (.XAP) now you can add .xap file in sharepoint as

Usama Wahab Khan

Deleted or Select with Checkboxis in gridView

Thursday, April 15, 2010

Download SourceCode Grid with Popup

Tuesday, April 13, 2010

Download Source Code

Sharepoint OverView At Maju

Monday, April 12, 2010

Kodierer [Coder]: Microsoft Silverlight MVP Award - Rene Schulte - Coding .Net and Silverlight with C#

Saturday, April 3, 2010

Kodierer [Coder]: Microsoft Silverlight MVP Award - Rene Schulte - Coding .Net and Silverlight with C#

Floatable ChildWindow with Enabled background

Thursday, April 1, 2010

When we use child Window in Silverlight its Automatically disable Background but its floatable
so i want using child window float feature without disabling the background so i childwindow is top element on xmal so alway on top thats you can not access back button or any other control so i put childwindow in popup control and make popup on or off .