Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Weird Selection Behavior in Google Chrome (Read 2218 times)
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Weird Selection Behavior in Google Chrome
Apr 16th, 2009 at 8:39pm
Print Post  
Hello, I am getting weird selection behavior when using ImageMap mode with a diagram inside of an update panel with Google Chrome. I can select the first node fine. When I try and change the selection to the other node, it is never selected. Only after clicking the other object 5 to 8 times or so does it then become selected. If I remove the UpdatePanel everything seems to work as it should. However, I use UpdatePanels a lot and would like to keep them. Below is my code:
aspx:

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" ID="scriptmanager"></asp:ScriptManager>
    <div>
      <asp:UpdatePanel ID="UpdatePanelMain" runat="server" UpdateMode="Always">
          <ContentTemplate>
              <div>
                  <ndiag:DiagramView  runat="server" ID="diagView" Behavior="DrawLinks"  AutoScroll="true" Height="500px" Width="500px"  ClientSideMode="ImageMap"
                    >
                      <Diagram AllowSelfLoops="false" AutoResize="RightAndDown"
                      RouteLinks="true"  />
                  </ndiag:DiagramView>
                  <ndiag:InteractivityExtender ID="InteractivityExtender1" TargetControlID="diagView" runat="server" />
                   <asp:Label runat="server" ID="lblTest" Text="Test:"></asp:Label>
             </div>
          </ContentTemplate>
      </asp:UpdatePanel>
    </div>
    </form>
</body>


aspx.vb:

Partial Public Class _Default
    Inherits System.Web.UI.Page

   
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
      If Not IsPostBack Then
           diagView.Diagram.Factory.CreateShapeNode(10, 10, 25, 25)
           diagView.Diagram.Factory.CreateShapeNode(80, 80, 25, 25)
      End If
    End Sub

    Private Sub diagView_NodeClicked(ByVal sender As Object, ByVal e As MindFusion.Diagramming.NodeEventArgs) Handles diagView.NodeClicked
       lblTest.Text = "Node clicked"
    End Sub
End Class
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Weird Selection Behavior in Google Chrome
Reply #1 - Apr 17th, 2009 at 9:02am
Print Post  
We rely on the Microsoft Ajax for ASP.NET library for browser independence, and seems it does not support Chrome yet. We'll check if we can implement support for it on our own, after he 3.0.1 release.

Stoyan
  
Back to top
 
IP Logged
 
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Re: Weird Selection Behavior in Google Chrome
Reply #2 - May 4th, 2009 at 1:41pm
Print Post  
The same sort of behavior seems to be happening in Safari as well. From what I have read, both Chrome and Safari seem to rely on webkit for their ajax. Can you confirm that Safari is not working as well and the reason being is the same as that for Chrome? Thanks.
jay
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint