Now Why Don't He Write?

That's a great line from "Dancing with Wolves". Robert Pastorelli delivered the line about a skeleton that was found: "I'll bet someone back east is going, Now why don't he write?"

In trying to answer a question on the Silverlight.net forum, I went to my site as a reference, and found something that didn't work. Hmmm... so then I tried another page and found more 'somethings' that didn't work.

I get quite a few visitors a day, and nobody has written to say anything about that

Apparently I'm going to have to QA all my articles, so I apologize in advance for things broken. I'll post a message when they're done, what was broken and why they are broken when they were not before. On the surface, I'm going to guess they've been broken since I put the Outlook Bar on my MasterPage, and I've got JS interfering with each other.

Please let me know in the future when something isn't working... my intent is to have fully-functional examples on my site, and don't want to be asking "Now Why Don't He Write"?

Thanks!

Update:

I'm back to the same questions I asked back in June, and that has to do with the Canvas Loaded= method. My OutlookBar menus don't get loaded *every* time when I run IE6, but generally do after a refresh. It's annoying, but it works most of the time. That happens at "Loaded=".

One of the errors I found this morning is on the Color Picker Page. If you look at the code, I'm saving the sender from Loaded= as a variable named "Host" ... yeah... bad name, but I checked and I only use it for Host.findName things... and if you click the "Copy to Clipboard" button, sometimes it works, sometimes it poots. When it poots, it does so because "Host" isn't defined. And why? IMHO it's because Loaded= didn't run.

I think all the issues I've seen this morning can be related back to that. I'd like to hear from others that are using Loaded= and know what their experience with it is.

PM Update:

I'm officially NOT losing it... all the things I identified as non-functional from the office on IE6 are absolutely functional from here on IE7.

I tried a really quick test using just an html file and the Loaded= code ran fine in IE6, so I think what I need to do is put code up in my Content space, running with the rest of my code, and see what happens. Not sure I can get that up tonight, but we'll see.

posted @ Wednesday, December 12, 2007 10:02 AM

Print

Comments on this entry:

# re: Now Why Don't He Write?

Left by brad dunbar at 12/12/2007 1:25 PM
Gravatar
Are you using the "actualWidth" and "actualHeight" values? I have had problems with them in the past, and Microsoft recommends using the Resize event instead if you need information about the size of the screen.

My problem with this is that they don't seem to specify when the screen is resized, and if it happens every time the plugin is loaded, or only after explicitly changing the size. A good way to haack around it is to set the size in the Load event (hopefully raising a resize event).

brad dunbar

# re: Now Why Don't He Write?

Left by Dave at 12/12/2007 1:56 PM
Gravatar
Good thought Brad, but I'm not sizing any of my stuff.

The one example of the ColorPicker button is simply that the value of "Sender" in Loaded= is NOT being saved to a local variable. The only way that could possibly happen is if Loaded= isn't running, as far as I can tell anyway.

I've done a shout-out to a 'higher power' on this because it's not the first time I've had a problem with Loaded=

-Dave

Your comment:



 (will not be displayed)


 
 
 
Please add 5 and 5 and type the answer here:
 

Live Comment Preview:

 
«August»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456