User-1572723252 posted
Hi,
I gues there is no propert as such in the textbox. Alternatively, you can show an image ('+') and on click of that you can add text as well hide controls/rows. Please see the below javascript code,
img - Id of the Image control displaying the Expand/Collapse image.
div - Id of the div/Row to be hidden/dispalyed.
function change_image(img, div)
{
if(document.getElementById(div).style.display=='none')
{
document.getElementById(div).style.display = "block";
document.getElementById(img).src="../Images/collapse.gif";
}
else
{
document.getElementById(div).style.display = "none";
document.getElementById(img).src="../Images/expand.gif";
}
}