Hi Manish,
The content shown in my actual implementation is generated dynamically and it's a HTML formatted string. It may contain HTML tables (<table></table>), new paragraphs (<p>) and any other HTML tags.
That's the reason why I can't find the length of the lengthiest line of the content when previewing.
Thanks and Regards,
Amnalk
Hi Manish,
I tried as you suggested by adding a div. But still the issue exists. Please find the sample text for content.
<table><tr><td nowrap>1111111111</td><td>22222222222222222222222222</td></tr><tr><td>3333333333</td><td>4444444444444444444444444444444</td></tr><tr><td nowrap>555555555555555</td><td>66666666666666666666666</td></tr><tr><td>77777777777777777</td><td>8888888888888888888888888888</td></tr></table>
Please help.
Thanks and Regards,
Amnalk
Hi Manish,
Your code works fine for the first time when I clicked on the map. But the width of the dialog box is keep on growing upon opening.
Thanks and Regards,
Amaranatha