Hello there,
I have a TemplateDataField, quite simple:
<ig:TemplateDataField Key="Name" Width="29%"> <HeaderTemplate>
The problem is now, the width of the header seems to get calculated in pixel, when I open the page with firefox. In IE it works in percent.
Here are the debugs:
IE:
<th title="" class="igg_HeaderCaption" id="x:1326458763.15:adr:3:idx:3:key:Name:hdr:1:skp:" style="width: 29%;" skp="" hdr="1" key="Name" idx="3" adr="3">
Firefox:
<th title="" style="width: 269px;" class="igg_HeaderCaption" id="x:2043776963.15:adr:3:idx:3:key:Name:hdr:1:skp:" skp="" hdr="1" key="Name" idx="3" adr="3">
The problem here is, width is bigger than 269 pixel, thaths the the table rows arent proper under the header for this example.
Is there a expanition for this behavior? In a normal table, the percent work with firefox as well as with ie.
Thanks for your response
Matthias
Hello Tsanna,
we're at the testing phase, but it seems like the customer does not care to much about this.
If I need further informations, I'll reopen the case.
Thanks so far!
Hello ARGUSnet_00,
Have you been able to resolve your issue? If you need any further assistance, please let me know.
Sincerely,
Tsanna
Hello Matthias,
Note that different browsers interpret element width and height different way, based on some calculations of the browser after reading the entire code and producing an output depending on it. Regarding your description of the issue, I have the following questions:
1) Is there any content (e.g. a separate control) inside of HeaderTemplate, which you also set a width property to?
2) What is the content of the TemplateDataField column itself?
An isolated sample illustrating the issue you’re encountering would be great appreciated or you can make a screenshot of the behavior you’re experiencing. Meanwhile I’ve created for you a sample that demonstrates WDG control with TemplateDataField filled with a separate Label control and I’ve set its width in percentage and also added border property to the cells in order to try reproducing this misalignment between the header and the data rows you’ve mentioned. However it seems that everything renders properly. Please refer to the attached sample and let me know if you’re doing something different. Looking forward to hearing from you.
thanks for your answer.
I'm looking forward to hearing from you.
Thank you for posting in our community.
I am currently looking into this matter and will keep you posted of any available information.
Please do not hesitate to contact me with any updates or additional questions regarding this scenario in the meantime.