|
Pete volunteered before I could respond, and I think he'd be able to do it faster since he's got more XAML chops than I do.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
He has good Kung Fu!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Pete knows the ways of the force and has great skill wielding his 12 foot silverlite-saber.
|
|
|
|
|
This will only properly work if we can have a web service. Come on Chris. This is the opportunity to give us the web service.
|
|
|
|
|
I think all he really needs to do is give you the keys to the database (without write access of course). At that point, you can write a WCF service that will work while you're developing, and then hand over the code (SL app and WCF service) for them to deploy.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Oh the power. If he's prepared to do it, I'm prepared to write it.
|
|
|
|
|
You might find This[^] an interesting read. My offer of help [initially] to Luc still stands, but then you might not want it . I writted a few WCF services (actually, I designed the architecture for the Customer Contact System front-to-back ) for the financial behemoth that is the Newcastle Building Society, but I'm getting rusty now.
|
|
|
|
|
I have Luc's document on my desktop and I'm trying to merge its ideas with what I need internally, what I can provide load-wise, what makes sense security-wise, and what others who haven't contributed to that thread have asked for.
The easiest thing for me is to just whack something simple up and then modify based on feedback. I think we've all had the experience of designing something perfectly only to find the customer sees more potential now that it's in use.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
OData?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
i like the look and feel of this one. http://www.ejschart.com/[^]
stumbled across it the other day while looking for some other js libraries to play with.
|
|
|
|
|
Why there is no facility to bookmark question/answer also?
Life's Like a mirror. Smile at it & it smiles back at you.- P Pilgrim
So Smile Please
|
|
|
|
|
Khaniya wrote: Why there is no facility to bookmark question/answer also
There is! You can bookmark both question as well as answers.
Do a Cntrl+F for 'Bookmark' in case you have missed. It's sitting right next to Permalink/Report flag.
|
|
|
|
|
Thanks
now I can see
Life's Like a mirror. Smile at it & it smiles back at you.- P Pilgrim
So Smile Please
|
|
|
|
|
Currently, on the article editor at the following URL...
http://www.codeproject.com/script/Articles/Edit.aspx?aid=xxxxx
One can spend a long time editing an article, and then an accidental "navigate" off the page causes all that work to be LOST!
This is especially problematic because the editor often loses key-focus, and browsers often map the backspace key to "back", so when the editor loses key focus while you are backspacing, often it causes a "back navigate" which then loses the article content.
However, there is an EASY fix for this and other problems related to navigating away. Simply set up a javascript handler for "onbeforeunload". If the user accidentally tries to navigate off the page, the dialog will give them the chance to cancel the navigate before it destroys all their work. All that's needed is the following javascript added to the page:
window.onbeforeunload = function() {
return 'You have unsaved changes!';
}
Then, a small javascript handler should be added to the buttons which "validly" leave the page which turn off this handler.
|
|
|
|
|
We already have this in place. If it's not working for you, which browser are you using?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hmm. I was using google chrome when it ate a bunch of my work by navigating away. This was on first time article creation if that is handles any differently than editing.
I'm not sure what caused it to navigate away. I think I was hitting backspace a bunch and somehow the editor dropped my cursor, causing the browser to treat the backspace as 'back'. However, I work on think pad keyboards, so I sometimes accidentally hit the navigation buttons which they locate near the arrow keys.
I'll see if I can reproduce it later.
|
|
|
|
|
I'll double check with the latest build of Chrome and see if it's a Chrome specific issue.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I just tested this myself.
In Firefox (3.6.10) I correctly receive the onbeforeunload warning dialog.
In Chrome (8.0.552.224), I do not receive an onbeforeunload warning dialog when clicking "back" from the editor.
Apparently there is an "incompatible" way to do onbeforeunload, and a "compatible" way. It looks like in Chrome/Safari/Webkit, you need to do:
function stopUnload() {
return "warning";
}
window.onbeforeunload = stopUnload;
Instead of attachEvent().
http://www.webreference.com/dhtml/diner/beforeunload/bunload4.html
http://code.google.com/p/chromium/issues/detail?id=4422
|
|
|
|
|
Yes, I was actually going through my code and in one place I have the traditional method, and in another the "window.onbeforeunload = stopUnload" method with a note "must be done this way".
Needless to say I'm going back and making the code consistent
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks for fixing this.... Codeproject is an excellent site!
|
|
|
|
|
Chris,
My guess is that it doesn't work when the page never finishes loading (usually happens when one of the ad banners is hung). So when this happens, and you have typed into the text box and then accidentally hit the Back button or did something else that causes the page to navigate away, you risk losing all the text you typed in.
|
|
|
|
|
When forum notifications from the code project arrive to my mailbox at hotmail.com, I get a nasty-looking warning from their SmartScreen:
"This message looks suspicious to our SmartScreen filters."
The warning has a pink background and a little red shield icon, hinting that the message may contain a security threat of some sort. When I click the [dismiss] button of the warning, the logo (logo225x40.gif) appears, but the warning stays.
It would be nice if you could figure out what part of the e-mail "trips" the SmartScreen, and re-arrange the auto-generated content in a different way, so that the warning does not appear.
|
|
|
|
|
You probably already know this but just add the address(sender) to your safe/white list. Problem solved...that's what I did and now I don't get those messages anymore.
|
|
|
|
|
Thanks for the suggestion. Unfortunately, this did not fix my problem: although "@codeproject.com" filter is on my "white list", the warning from SmartScreen still comes up.
|
|
|
|