|
Thanks,
After further searching I also found code to put all the files into one zip file. I don't think it works on all platforms (Macs for example), though.
http://slsharpziplib.codeplex.com/[^]
Brent
|
|
|
|
|
I initially considered the zip file solution, but decided against it because it adds an extra step for the end user having to unzip the files.
|
|
|
|
|
I have a Silverlight DataGrid in a DataPager and in the DataPager the DataGrid won't allow me to edit, insert, etc. Please assist.
Thanks,
Steve Holdorf
|
|
|
|
|
One other thing about my issue is that I am using an ObservableCollection but using TwoWay binding mode? Please assist.
|
|
|
|
|
Hello geeks,
I am facing a serious problem with XBAP. While performing DragDrop.DoDragDrop method it gives me System.ExecutionEngineException. this causes entire application crash. I have tried a lot but didnt worth anything.
My process is like this.
I am using wpf treeview. When I drag a treenode I am setting UIElement as DropData.
[DragDropEffects finalDropEffect = DragDrop.DoDragDrop((DraggingElement as FrameworkElement).Parent, DraggingElement, DragDropEffects.Copy);]
Now if this drag is going out of navigationWindow (IE in this case) change DropData with actual file name bound with that treeNode.
[DragDrop.DoDragDrop(this, new DataObject(DataFormats.FileDrop, new String[] { AppDomain.CurrentDomain.BaseDirectory + "Temp\\" + ((tvMainTree.SelectedItem as TreeViewItem).Tag as Document).DocumentName + "." + ((tvMainTree.SelectedItem as TreeViewItem).Tag as Document).DocumentExtension }), DragDropEffects.Copy);]
In this case while setting the second code line I am getting System.ExecutionException. EVEN If i put direct file path in first code line and comment second line, it drops the file at targeted location but after dropping it gives the same exception. The thing was working properly before but I dont know why it is behaving strange now.
Can anybody give some guidance.
- Regards,
Bhagyesh Joshi, India.
|
|
|
|
|
hi,
I have got a clue.
it is a kind of ExecutionEngineException - EmptyReadOnlyDictionaryInternal exception.
I am getting as Data of Exception.
Now can you please give some light on this?
- Regards,
Bhagyesh Joshi, India.
|
|
|
|
|
Hi all,
I cannot run XBAP application on windows 7 with Firefox. Browser prompt me to save the file, rather displaying the content. Same happen with Chrome as well.
Searched the web and it's talking about something Net Framework Assistant 1.2, instal the addon as well and still no luck.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
|
What the hell were they thinking when they made that decision.
|
|
|
|
|
Have a read of the discussion we had on the WPF Disciples list here[^] to find out.
|
|
|
|
|
Actually I couldn't find anything related with my issue. Wonder I missed anything.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
 Search up the page for the following from Peter Brown (he's pretty much in charge of the WPF team):
"The XBAP model isn't really suited for public web applications: both Silverlight and HTML offer better choices there for most applications. When doing a web crawl of the public internet, I don't believe we found a single xbap in the wild. I do recall seeing demos of one or two in the past, but those were for in-store apps that ran behind a firewall.
In IE9, xbap support is turned off by default in the internet zone, and prompts (I believe) in the intranet zone. Most firefox users either didn't care to use xbaps, or simply turned off that support themselves.
This has nothing to do with the "death of WPF" and everything to do with realizing that for most applications, there are far better models than xbap. When i was a consultant, I stopped considering xbap once Silverlight came out. I now recommend Silverlight, Click Once WPF apps, or even that other popular web technology used for dancing hamsters and whatnot
WPF is an awesome client app technology. I don't really think it belongs in the browser, IMHO."
|
|
|
|
|
So is that means I cannot work with XBAP in Windows 7
I appreciate your help all the time...
CodingLover
|
|
|
|
|
You can. XBAP support for Firefox was dropped, not for IE.
|
|
|
|
|
Oh yes, it's working on with IE. So I've just forget the FireFox and doing the stuff with IE.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Not on firefox. Works on IE. Also see here...[^]
*edit* Didn't see your post Pete - skipped right over it, sorry
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Not a problem mate. Great minds and all that.
|
|
|
|
|
We have a security model where the authentication is done via active directories and the authorisation is done via a group application that passes a user profile object to each application.
The user profile basically identifies the bits within each application that can be enable/visibled and also applies some data filters based on attributes.
The Question
Is it reasonable to put the security checking methods in the ViewModelBase (inherited by all ViewModels), the methods will then need to reference the CurrentUser object. It feels odd to build a dependency between a base class and the CurrentUser.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: Is it reasonable to put the security checking methods in the ViewModelBase
That's entirely up to you, but this feels like a real violation of Separation of Concerns. If it's being done entirely at the client side, I'd consider using a CurrentUser service and a service locator to retrieve this service when I needed it.
|
|
|
|
|
CurrentUser is loaded from the SecuritySVC so we already have that in place, it is loaded at logon and is the local representation of the securitysvc object. SecuritySVC is used by many apps, including winforms ones.
Maybe if the ViewModel ctor pushed the CurrentUser to Base rather than a direct referentce between Base and CurrentUser would be better.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Is it possible for Silverlight to be delivered via the windows update.
Working within a major organisation where admin rights are restricted means SL cannot be installed from the browser. And as SL is not on the "approved" list it is a PITA to get the dammed thing installed. IT are not (never are) being helpful so I would like to shove a link under their nose (or possibly up their...) and ask them just to do their job.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
RobCroll wrote: escalate to the most senior (short tempered) user who has an interest.
It is about to hit the fan as I will be deploying an app requested by the CEO and no one can run it b/c SL cannot be installed without admin rights which are restricted.
The link is no use to me as SL needs to be delivered via ITs update system (I presume they manage the windows update).
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
With all due respect, perhaps developing the app in Silverlight wasn't such a good idea - one needs to sort these things out before starting devlopment, not when the project is all but completed.
That said, Here[^] is a link explaining how to install via group policys - which I think is about the best you will be able to do.
|
|
|
|
|
_Maxxx_ wrote: With all due respect
Isn't that the english way of saying bloody idiot
It never even occurred to me that delivering the infrastructure would be the issue, mind you the same problem would arise no matter what I used, except aspx maybe, but that is sooo yesterday...
I just assumed that a browser plug in could be installed, the admin lock down is only about a year old so no one was prepared for the implications to internal development(we are not supposed to exist, everything is supposed to be outsourced via the IT department).
Never underestimate the power of human stupidity
RAH
|
|
|
|