silverlight

Need help debugging: Having trouble getting data to Silverlight App through RIA Services, Entity Framework, MySQL

左心房为你撑大大i 提交于 2020-01-06 07:12:25
问题 I'm trying to build a Silverlight App that accesses and presents data from a MySQL database. I'm trying to use Entity Framework to model the MySQL data and RIA Services to make the data via EF available to Silverlight. My Silverlight App is showing the correct columns in the datagrid, but it does not show the data (alternate link to image) : When I look at the DomainService file (used for RIA Services), I see this: public IQueryable<saw_order> GetSaw_order(int intOrder) { return this.Context

Silverlight displays time zone info on mac and not PC using String(“G”) as format

China☆狼群 提交于 2020-01-06 07:08:57
问题 I've got a Silverlight application that shows some data. I use a DateTimeConverter to convert the DateTime value into a String . I use the dateTime.ToString("G") format and I get back 01/01/2010 12:01 or something like that. So far so good. However, the same application on a Mac shows 01/01/2010 12:01 +02:00 . That's the time CET with the current offset from UTC (so the time UTC is 10:01 ). What is going on? Is there a special setting on the Mac? I played with the system settings and removed

Silverlight 4 is not debugging. Symbols are not loaded

做~自己de王妃 提交于 2020-01-06 06:59:10
问题 I am making my first silverlight application. I only put a textbox and a button. I tried to debugged and It doesn't work. I tried going to the web project. property pages->start options->debuggers and silverlight is already checked. so I need help. Why is not working???? Thanks Nora 回答1: You need to disable out-of-process hosting for silverlight. Go to about:config in Firefox, look for key "dom.ipc.plugins.enabled.npctrl.dll" and set the value to false (doubleclick). 回答2: Are you using

Silverlight 4 is not debugging. Symbols are not loaded

一笑奈何 提交于 2020-01-06 06:57:37
问题 I am making my first silverlight application. I only put a textbox and a button. I tried to debugged and It doesn't work. I tried going to the web project. property pages->start options->debuggers and silverlight is already checked. so I need help. Why is not working???? Thanks Nora 回答1: You need to disable out-of-process hosting for silverlight. Go to about:config in Firefox, look for key "dom.ipc.plugins.enabled.npctrl.dll" and set the value to false (doubleclick). 回答2: Are you using

Silverlight Prism Module Not Ready

允我心安 提交于 2020-01-06 06:49:33
问题 I'm building a Silverlight 4.0 application with Prism (a.k.a. Composite Application Guidance). I have two modules, both defined in my ModuleCatalog.xaml as WhenAvailable . My Application_OnStart instantiates my Bootstrapper and invokes it's Run() method. Well after my application is started and up and running (in fact, the user has to click a button in the UI), I then attempt to load the modules: foreach (ModuleInfo mi in moduleCatalog.Modules) ... Type moduleType = Type.GetType(mi.ModuleType

call a Async Method multiple times problem in silverlight

本小妞迷上赌 提交于 2020-01-06 05:47:47
问题 Hi i am calling a Async method with different parameter value multiple times giving same result in completed event. client.ListAllLookupValuesByTypeCompleted += client_ListAllAddressFormatCompleted; client.ListAllLookupValuesByTypeAsync("AddressFormat"); client.ListAllLookupValuesByTypeCompleted += client_ListAllPhoneFormatCompleted; client.ListAllLookupValuesByTypeAsync("PhoneFormat"); void client_ListAllAddressFormatCompleted(object sender, ListAllLookupValuesByTypeCompletedEventArgs e) {

No Count overload for a String Split method in Silverlight application

ぐ巨炮叔叔 提交于 2020-01-06 05:46:07
问题 Reference to question at Splitting a filename In the Silverlight Application since there is no Count overload, I require the expected result as four string elements. NewReport 20140423_17255375 BSIQ 2wd28830-841c-4d30-95fd-a57a7aege412.zip This line of code is getting build errors in my silverlight application var strFileTokens = filename.Split(new[] { '-' }, 4, StringSplitOptions.None); Build Error: Error 4 The best overloaded method match for 'string.Split(string[], int, System

Installing a x.509 Certificate on IIS in DiscountASP

别来无恙 提交于 2020-01-06 05:35:51
问题 All the tutorials i have seen regarding installation of x.509 Certificate assumes that the server machine is your local machine and you have full access to it. But my app is hosted on DiscountASP, so how can I install the certificate on their machine ? 回答1: You can't because you don't have permissions to install certificate on hosting server. If you want to use HTTPS you must pay your hosting provider for buying and installing certificate for you (or you must have plan which offers SSL or

Bing Maps (Silverlight) maps - specifying canvas to be at foreground through XAML

空扰寡人 提交于 2020-01-06 04:01:27
问题 Below is the XAML code i have for a Bing Maps Silverlight weather related implementation. Here is what i am trying to do: Have a bing maps with several (over 100) pushpins- on mouseover - show a contentpopup (canvas=myPopup) below. Simple enough. Everything works fine - however, when mypopup displays on mouseover, it is not on the foreground (the other pins appear on top of the contentpopup) - hence making it not very readable. Question: How do i specifiy the myPopup canvas specified in XAML

WPF/Silverlight: Is it possible to have a different stroke color for each edge?

不想你离开。 提交于 2020-01-06 03:41:26
问题 Say I have a rectangle with a certain stroke color. Can I define certain edges to have different colors? For example, say I want the top and bottom of the stroke to be one color, but the left and right of the stroke to be a different color? If this is not possible, do you know of a good way? 回答1: I ended up doing this by having two borders one on top of eachother. And I adjust the border thicknesses accordingly. 回答2: Not out of the box. Also unfortunately both Rectangle and Border are sealed