Edge (IE Compatibility Mode) HTML Table Row Interrogation
Hello,
I am not able to properly interrogate an HTML Table Row to make it a container with keys. I am able to interrogate the table and the fields correctly, but the row will not interrogate as an actual row so the table fields will not fall into the row container. I attached a screen shot of how I can interrogate the table and fields fine. This works correctly on Edge and Chrome, but unfortunately one of our companies websites only works in EDGE IE Mode.
@JoshM468 You might need to manually edit the OS file for your adapter to move the control underneath the correct parent since this is an Internet Explorer control. If this were native Edge or Chrome (without Compatibility Mode), you could define each control as a container to re-parent things that should be beneath it. To do this easily, I prefer using an XML editor that has a visual component to it. I use XML Notepad (which you can download for free). It allows you to drag things around and easily see where you are in the file. You can also edit the XML in any text editor and perform the same operations, but the XML is quite large and easy to get lost in, which is why I prefer a more visual editor for this.
Before you make any changes, I suggest making a copy of your OS file for your adapter. Perform your edits in your original and leave the copy as a backup. I suggest starting with a really simple example where you create a new adapter with only three controls; a parent and two children and then move one of the children under the other. Once you've done the move, open the adapter in Studio and see if your changes worked. If not, you'll get an error opening the file. If they have, you'll see the control underneath the other.
@JoshM468 You might need to manually edit the OS file for your adapter to move the control underneath the correct parent since this is an Internet Explorer control. If this were native Edge or Chrome (without Compatibility Mode), you could define each control as a container to re-parent things that should be beneath it. To do this easily, I prefer using an XML editor that has a visual component to it. I use XML Notepad (which you can download for free). It allows you to drag things around and easily see where you are in the file. You can also edit the XML in any text editor and perform the same operations, but the XML is quite large and easy to get lost in, which is why I prefer a more visual editor for this.
Before you make any changes, I suggest making a copy of your OS file for your adapter. Perform your edits in your original and leave the copy as a backup. I suggest starting with a really simple example where you create a new adapter with only three controls; a parent and two children and then move one of the children under the other. Once you've done the move, open the adapter in Studio and see if your changes worked. If not, you'll get an error opening the file. If they have, you'll see the control underneath the other.
To move a control, you need to move the "Content" node containing the control(s) you wish to move under the new parent's node (which will be named after the control's type like OpenSpan.Adapters.Web.Controls.Form for example). If your control does not have any children, it will not have a "Content" node for its children, although it will have one for its match rules. You need to make sure it has two ultimately.