Sep 29, 2016, 3:04 AM
Hello Edgar!
Sorry for the pointless "pointers" I provided. But the version of PickerTable.aspx you just posted no longer throws any load error!
The problem is that the example had so many settings and components that I was not even sure what the expected error was. I have, from the last example you provided, tried to simplify it even more. Can you confirm whether the error is still reproducible or not? Maybe I'm still not right on the problem.
Here is the simplified version of the PickerTable.aspx:
Okay, the two aspx files above work for me and I reproduce the following issue here on Internet Explorer:
- Load Default.aspx
- Click the field's picker button
- A window will appear
- Click anywhere inside the window
x The window is dismissed (it should not at all)
This is what I could understand as being the issue at this point. If that is the issue, there's no reason for all the other controls and stuff inside the example. And probably a considerable amount of code on the PickerField class is also not necessary to reproduce this behavior.
So if you confirm this as being still the issue, we'll proceed to try and clean up the class, until we leave only essential code to reproduce the issue.
If that's not the issue, well, I could leave the window open after an arbitrary amount of time, it does not go away by itself (using IE11 here). The situations where it is dimissed are:
- click outside the window (ok)
- switch to another application (ok in my opinion too)
- click into the panel's body (the text written there, for example)
An interesting behavior I had here is:
- click the trigger
- click the window's title bar
> the window will flash
> then I believe, from this point it works correctly, if I click in the window, it does not close, but closes if I either click outside the window(picker) or click the close button.
Let's try to reduce this haystack so we can find the needle, yes? :)
Sorry for the pointless "pointers" I provided. But the version of PickerTable.aspx you just posted no longer throws any load error!
The problem is that the example had so many settings and components that I was not even sure what the expected error was. I have, from the last example you provided, tried to simplify it even more. Can you confirm whether the error is still reproducible or not? Maybe I'm still not right on the problem.
Here is the simplified version of the PickerTable.aspx:
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server">
<Items>
<ext:Panel
runat="server"
ID="ctn1"
Width="700"
Height="500"
Html="Test content here" >
</ext:Panel>
</Items>
</ext:Viewport>
</div>
</form>
</body>
</html>
And just to be sure, here's the Default.aspx file which references to it:<%@ Page Language="C#" %>
<%@ Register TagPrefix="pick" Namespace="<must_match_your_project_PickerTable_Class>" Assembly="<must_match_your_project_assembly_name" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ext:ResourceManager runat="server" />
<pick:PickerField ID="test" runat="server" />
</div>
</form>
</body>
</html>
The PickerTable class is still the same as you originally provided. I'm sure that it could be simplified much more and still reproduce the issue.Okay, the two aspx files above work for me and I reproduce the following issue here on Internet Explorer:
- Load Default.aspx
- Click the field's picker button
- A window will appear
- Click anywhere inside the window
x The window is dismissed (it should not at all)
This is what I could understand as being the issue at this point. If that is the issue, there's no reason for all the other controls and stuff inside the example. And probably a considerable amount of code on the PickerField class is also not necessary to reproduce this behavior.
So if you confirm this as being still the issue, we'll proceed to try and clean up the class, until we leave only essential code to reproduce the issue.
If that's not the issue, well, I could leave the window open after an arbitrary amount of time, it does not go away by itself (using IE11 here). The situations where it is dimissed are:
- click outside the window (ok)
- switch to another application (ok in my opinion too)
- click into the panel's body (the text written there, for example)
An interesting behavior I had here is:
- click the trigger
- click the window's title bar
> the window will flash
> then I believe, from this point it works correctly, if I click in the window, it does not close, but closes if I either click outside the window(picker) or click the close button.
Let's try to reduce this haystack so we can find the needle, yes? :)