Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 573 Vote(s) - 3.55 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Whats the difference between a DISPHTMLUListElement and HTMLUListElement?

#1
we have an asp.net Winforms application which is approaching almost 10 years of age, and has some mixture of technologies being used within (and coded at large my people no longer working at my company).

To be able to run in IE10 / 11 (let alone other browsers), we need to run in compatibility mode, and the time has come to try and at least make a start to fix the issues.

One of the first problems I come across is to do with is `asp:Repeater` that is used something like...

<asp:Repeater ID="MyRepeater" runat="server"
OnItemDataBound="MyRepeater_ItemDataBound" >
<HeaderTemplate>
<ul class="MyHeader" >
</HeaderTemplate>
<ItemTemplate>
....
<ItemTemplate>

There is some code that accesses this DOM element..

`var list = helper.getElementByClassName(this.get_hostElement(), 'MyHeader', 'ul');`

Without worrying about what is inside of the above calls (yet), the end result is that when in compatibility mode, if we look at the result if 'list' in the IE debugger, I can see..

[object DISPHTMLUListElement]

and when with no compatibility mode, the result is

[object HTMLUListElement]

From there it goes down hill, the child elements of of different types (they also differing this **DISP** prefix), and we have other access functions failing (objects with missing properties/functions etc)

The question initial question here is does anyone know the difference between the **DISPHTMLUListElement** and **HTMLUListElement** objects returned?

Thanks in advance for any help!
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through