<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY>
<DIV id=idOWAReplyText21616 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi All,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Outstanding issue with some
changes:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I need to call a function from the
OnSelectionChanged event in the mainframe.templ of the
mapviewer/mapagent.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I have a javascript function in the
mainframe.templ file itself.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr>
<DIV dir=ltr><FONT face=Arial size=2>In MGO RC 1:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I called my function from the
OnSelectionChanged event - and it worked smooth.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>In MGO 1.0:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>The code changed for both the AJAX and DWF
viewer.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>i.e. ajaxmappane.templ and dwfmappane.templ
respectively.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>The function call from the
OnSelectionChanged no longer worked.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I have been fiddling trying to get it
working again and have had success with the AJAX viewer but not the DWF
Viewer.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>For the AJAX viewer:</FONT></DIV></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>In the ajaxmappane.templ file;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>In the <FONT size=2>ProcessFeatureInfo()
function - I call my function.</FONT></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Works like a charm. Everytime I
select, the function is executed.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>For the DWF Viewer:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>It now has that emaprelayer.html with an
OnSelectionChanged event.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I try calling my function
there:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>
parent.parent.myfunction();</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>- doesn't work.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I try calling it from the
OnSelectionChanged event in mainframe.templ.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>
myfunction();</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>- doesn't work.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Doesn't work means stopping IIS, MapGuide
Server - editing and saving - then restarting.</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Can someone from Autodesk point me in the
right direction? </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>This is critical to mirroring 6.5
functionality in our clients applications.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=3></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature93560 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: #29537c; FONT-FAMILY: 'Trebuchet MS'; mso-bidi-font-family: Arial"><SPAN><SPAN>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN><STRONG><FONT
size=3></FONT></STRONG></SPAN> </DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN><STRONG><FONT
size=3>Kori Maleski</FONT> </STRONG></SPAN><STRONG><SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #29537c; FONT-FAMILY: 'Trebuchet MS'; mso-bidi-font-family: Arial">BSc</SPAN>.
<BR><FONT size=1>Senior Technical Consultant</FONT></SPAN></STRONG></DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><STRONG><SPAN></SPAN><SPAN
style="COLOR: #29537c"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></STRONG> </DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN><STRONG>Pacific
<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags"
/><st1:City w:st="on"><st1:place w:st="on">Alliance</st1:place></st1:City>
Technologies<BR></STRONG><FONT size=1>Suite 400 - 534 17 Ave.
<?xml:namespace prefix = u2 /><u2:place u3:st="on"><u2:City u3:st="on"><U4:PLACE
u5:st="on"><?XML:NAMESPACE PREFIX = U4 /><u4:City
u5:st="on">SW</u2:City></u2:place> <u2:City
u3:st="on">Calgary</u2:City></FONT></u4:City><FONT size=1>, <u2:State
u3:st="on"><st1:State u6:st="on">AB</u2:State></FONT></st1:State><FONT size=1>
<u2:country-region u3:st="on"><st1:country-region
u7:st="on">CANADA</u2:country-region></FONT></st1:country-region><FONT size=1>
<u2:PostalCode u3:st="on"><st1:PostalCode u8:st="on">T2S
0B1</u2:PostalCode></FONT></st1:PostalCode><BR></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d; FONT-FAMILY: 'Trebuchet MS'">TEL
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #2a5973; FONT-FAMILY: 'Trebuchet MS'">403.770.1917
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d; FONT-FAMILY: 'Trebuchet MS'">FAX
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #2a5973; FONT-FAMILY: 'Trebuchet MS'">877.691.9149
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d; FONT-FAMILY: 'Trebuchet MS'">TOL
</SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #2a5973; FONT-FAMILY: 'Trebuchet MS'">877.691.9171
</SPAN><SPAN><A title=http://www.pat.ca href="http://www.pat.ca/"><SPAN
style="FONT-SIZE: 7.5pt; COLOR: #ff823d"><SPAN title=http://www.pat.ca><FONT
face="Times New Roman">www.pat.ca</FONT></SPAN></SPAN></A><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"></SPAN></SPAN></SPAN></DIV></FONT></DIV></FONT></DIV></U4:PLACE></DIV></BODY></HTML>