I’m trying to show messages of different length in a list of small htmlpanels and would like to change height of panels according to the content length.
Is there any known way to achieve this? Like you have the lines property in a textbox control.
have your tried using Autosize = true and setting the Minimum Width and Maximum Width to only allow it to grow vertically?
You can also use the AutoSizeMode to GrowAndShrink if you want the panel to shrink, too.
If you want to do your own measurement and resizing you have to measure the HTML text on the client
If that does not help, please provide a small test case.
Please login first to submit.