Advanced Forum Search Results
-
You can not pass Object property in a WCF service to Silverlight. I thought we already went through this once:
http://forums.silverlight.net/forums/p/136163/304538.aspx
Put the following code in your AutoCompleteProvider.svc.cs. Make sure AutoCompleteProvider is under the namespace AutoCompleteTest.Web, not out of it.
using ...
-
Don't know what's wrong with your solution file. I can not add service reference to it either. But you can download the following zip file again. It's compiled in SL3 this time and has your service code in it.
http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/AutoCompleteTest.zip
But this is not your original ...
-
You can set ResourceType in the Attribute Tag to point to your Resources class:
http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.displayattribute.resourcetype%28VS.95%29.aspx
http://forums.silverlight.net/forums/p/128595/290115.aspx
http://timheuer.com/blog/archive/2009/08/26/silverlight-string-localization.aspx ...
-
To update service reference, right click the service reference and click "Update Service Reference".
-
You do not need a cross-domain file in your case. That won't solve your problem.
[quote user="viral0028"]
but when ever I make my xaml page as start page it's give me error..
[/quote]
You should not not make your xaml page as start page. You need to make the SL2MailTestPage.html or SL2MailTestPage.aspx as the start ...
-
Sorry, link is fixed now. Try it again.
-
In your TextBoxStyle definition, did you modify the Template?
When you apply a new style to a custom control (MyTextBox), and if the new style contains Template Setter, you override the default template of that control defined in the generic.xaml.
Since TextBoxStyle is a Style for regular TextBox, it certainlly does not have the Watermark ...
-
Just download sample code (compiled in SL2, you can just do the auto conversion if you are on SL3):
http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/StrikeoutTest.zip
-
You can try this one:
http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/AutoCompleteTest.zip
I do not see any delay after the initial start.
First type a, after some delay you get a1 and a2 back.
Type b, b1 and b2 show up immediately.
-
OK, I tried your solution. Putting a break point at the Converter code to debug, but the converter code never got hit.
Move <yournamespace:BoolenToVisibilityConverter x:Key="BoolenToVisibility" /> from your Page.Xaml into App.xaml (I always had mine in the App.xaml) instead of UserControl.Resources section fixed the ...