[mapguide-users] DigitizeLine instantly returns null linestring
without user input
SteveS
steve.calpoly at gmail.com
Fri Dec 30 17:43:29 EST 2011
In ASP.NET/C#, I have a Invoke URL page in the scriptFrame that calls the
DigitizeLine() function when the page is loaded. This is done via the
ScriptManager in code behind. The trouble is, about 50% of the time in
Firefox the digitize cursor appears and immediately resets returning a null
linestring. In Internet Explorer this behavior happens 100% of the time.
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body id="bodyID" runat="server">
<form id="form1" runat="server">
<div>
<asp:HiddenField ID="SESSION" runat="server" Value="1"
EnableViewState="False" />
<asp:HiddenField ID="MAP" runat="server" Value="1"
EnableViewState="False" />
<asp:HiddenField ID="SELECTION" runat="server" Value="1"
EnableViewState="False" />
<asp:HiddenField ID="INNERX" runat="server" Value="1"
EnableViewState="False" />
<asp:HiddenField ID="INNERY" runat="server" Value="1"
EnableViewState="False" />
<asp:HiddenField ID="OUTERX" runat="server" Value="1"
EnableViewState="False" />
<asp:HiddenField ID="OUTERY" runat="server" Value="1"
EnableViewState="False" />
<asp:SqlDataSource ID="DataSource"
runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName
%>">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/DigitizeLine-instantly-returns-null-linestring-without-user-input-tp7139189p7139189.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list