Hello,
I am new to Telerik, so maybe there was an answer to this subject, but couldn't find it. So what I need is auto height of autocompletebox. So when new box is set to new line, I want the whole control to change height, up to maximum 4 lines (then vertical scrollbar shoud show up). But also if I delete some of the boxes, the control should lower it's height.
I tried with
private void VScrollBar_ValueChanged(object sender, EventArgs e)
{
this.radAutoCompleteBox1.TextBoxElement.VScrollBar.Value = 0;
this.radAutoCompleteBox1.Size = new Size(this.radAutoCompleteBox1.Size.Width, this.radAutoCompleteBox1.Size.Height + 10);
}
but it can only increase height, but cannot decrease height. I also tried to get number of lines, but it is always 0.
Thanks
Ivan