WynApse
Mining the Web for Silverlight so YOU don't have to
posts - 1691, comments - 702, trackbacks - 59
Wednesday, January 17, 2007
#
Minor Errors in WPF/E QuickStart
While working on
the last part of the WPF/E QuickStart
, I was doing my thing which is normally thinking of other stuff to try to do with the sample code. The slider looked like fun, and I thought if I started it in the center instead of on the left that would be interesting. The outer Canvas in the xaml already had a Loaded= line in it, so I simply used it to try to set the center.
'Loaded' was pointed at "javascript::slider_loaded. That in turn called slider_SetValue. So I changed this call to pass 100 instead of 0.
And it didn't work. Hmmm
A couple of alerts pointed out more than one problem with the original code:
The Loaded= line in the xaml calls out "slider_
l
oaded", but the actual javascript is named "slider_
L
oaded", so no matter what the value was set to, it wasn't being called.
Once I had that repaired, it still wasn't working because the call from slider_Loaded to slider_SetValue was passing 'slider' instead of 'sender'. There is no variable named 'slider'.
These are both reasonably minor, but if someone is trying to use the QuickStart code as a springboard to other things, it will slow them down.
I downloaded the latest WPF/E QuickStart and documentation from late December, and the problems are still there.
This article is essentially mirrored on my site in the WPF/E Tutorial section:
http://www.wynapse.com/WPFE/Tutor/Minor_QuickStart_Errors.aspx
Share This Post:
Posted On
Wednesday, January 17, 2007 8:28 PM
|
Feedback (0)
«
January
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
About
WynApse
SilverlightCream
Translate this page
Powered by
Microsoft® Translator
Links
My Microsoft DE:
J. Michael Palermo IV
About
Contact
Login
Twitter
WynApse
@ckindel
maybe looking at the file signature would help find the arc version??
about 15 hours ago
WynApse
Windows Dev News No. 0039 is up -
http://t.co/pWj17XAV
about 15 hours ago
WynApse
@victorgaudioso
when you sent that I was making changes in IE, and watching the results in Chrome... both out to the server
about 1 day ago
WynApse
@victorgaudioso
yes
about 1 day ago
WynApse
@victorgaudioso
that's the way it worked before the update... think you might be cached .. been testing in IE9, FF, and Chrome and all work
about 1 day ago
WynApse
@victorgaudioso
try a ctrl-refresh maybe... last goes to 36,37,38, 39 for me
about 1 day ago
WynApse
@victorgaudioso
been working on my site... but I've been paying attention
about 1 day ago
WynApse
RT
@ADefWebserver
: windowsdevnews.com is most definitely LightSwitch in the back end... all I deployed today was a new look to the front end
about 1 day ago
WynApse
@LBugnion
glad everybody's ok over there, Laurent!
about 1 day ago
WynApse
WindowsDevNews Facelift -
http://t.co/uB4gPDQ9
about 1 day ago
Tag Cloud
DevTeach
MIX09
MIX10
MVVM
Productivity
Silverlight
Silverlight 3
Silverlight 3 Beta
Silverlight 4
silverlight-3
Silverlight3
silverlight-3-beta
silverlight-4
SilverlightCream
WhattheTech
windowsphone
WynApse
more tags...
Archives
January, 2012 (2)
December, 2011 (20)
November, 2011 (25)
October, 2011 (11)
September, 2011 (17)
August, 2011 (22)
July, 2011 (17)
June, 2011 (20)
May, 2011 (25)
April, 2011 (16)
March, 2011 (23)
February, 2011 (19)
January, 2011 (25)
December, 2010 (24)
November, 2010 (22)
October, 2010 (31)
September, 2010 (28)
August, 2010 (22)
July, 2010 (25)
June, 2010 (24)
May, 2010 (24)
April, 2010 (30)
March, 2010 (25)
February, 2010 (17)
January, 2010 (22)
December, 2009 (23)
November, 2009 (27)
October, 2009 (24)
September, 2009 (25)
August, 2009 (25)
July, 2009 (40)
June, 2009 (23)
May, 2009 (28)
April, 2009 (28)
March, 2009 (42)
February, 2009 (32)
January, 2009 (37)
December, 2008 (40)
November, 2008 (32)
October, 2008 (40)
September, 2008 (30)
August, 2008 (30)
July, 2008 (32)
June, 2008 (40)
May, 2008 (51)
April, 2008 (27)
March, 2008 (39)
February, 2008 (40)
January, 2008 (42)
December, 2007 (31)
November, 2007 (36)
October, 2007 (30)
September, 2007 (26)
August, 2007 (33)
July, 2007 (25)
June, 2007 (36)
May, 2007 (37)
April, 2007 (18)
March, 2007 (11)
February, 2007 (18)
January, 2007 (17)
December, 2006 (13)
November, 2006 (24)
October, 2006 (3)
Post Categories
C#, .NET 2.0 +
Crystal Reports
Productivity
Non-Technical
Rants & Randomness
SlickEdit
General Technical
WPF/E
Silverlight
MIX07
Silverlight 1.0
Silverlight .NET 1.1
Silverlight Cream
Tutorials
Silverlight Tooltips
MIX08
Silverlight 2
Silverlight 2 Tooltips
MIX 09
Silverlight 3
Silverlight 4
MIX10
Windows Phone
Silverlight 5
Windows Phone Apps
MIX11
Metro
Windows8
Image Galleries
Needed Images
Something else
Communities
J. Michael Palermo IV
Syndication:
RSS
ATOM