Yes, I am using the select feature control.<br><br>Do you mean sc.clickFeature.call(feature)? This is not working for me.<br><br>I think I know what the underlining issue might be. The link that calls clickFeature is in a block of HTML pulled in by AJAX. It&#39;s the textual results of the KML points. Can you see this causing any problems?<br>
<br>It seems this.multipleKey is not correctly set. This does look like a bug. I&#39;ll have a closer look later.<br><br>Thanks for the help.<br><br><div><span class="gmail_quote">On 15/03/2008, <b class="gmail_sendername">Eric Lemoine</b> &lt;<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Xin, i guess you&#39;re using the select feature control. Have you tried<br> using the following to call clickFeatuse : sc.clickFeature.call(sc) ?<br> <br> 2008/3/14, Xin &lt;<a href="mailto:xin@zenpow.com">xin@zenpow.com</a>&gt;:<br>
 <br>&gt; Hi,<br> &gt;<br> &gt; I am getting this error when calling clickFeature. It is called when I click<br> &gt; on a link with onclick.<br> &gt;<br> &gt; this.multipleKey has no properties<br> &gt; multipleSelect()OpenLayers.js (line 815)<br>
 &gt; forwardMercator(Object layer=Object data=Object)OpenLayers.js (line 814)<br> &gt; previewFeature(0)namibia.js (line 177)<br> &gt; onclick(click clientX=0, clientY=0)localhost:3000 (line 1)<br> &gt; this.select(feature);}}},multipleSelect:function(){return<br>
 &gt; this.multiple||this.ha...<br> &gt;<br> &gt; The behaviour of this error is strange. Clicking on the feature<br> &gt; works.Executing the code in Firebug console. After which, clicking on<br> &gt; the trigger<br> &gt; link works.<br>
 &gt; On refreshing the page, the problem would come back.<br> &gt;<br> &gt; I have just updated to the latest trunk.<br> &gt;<br> &gt; I&#39;ve been stuck with this for a couple of days now. I would really<br> &gt; appreciate any help.<br>
 &gt;<br> &gt; Xin<br> &gt;<br> </blockquote></div><br>