Hi All,
I have got a textarea and wnat to select all the contents in it during page_ load event, so that the user does not need to press control + 'A' .
regards,
ssmantha.
Printable View
Hi All,
I have got a textarea and wnat to select all the contents in it during page_ load event, so that the user does not need to press control + 'A' .
regards,
ssmantha.
You would need to use client-side JavaScript to do this.
DJ
Add a RegisterStartupScript(), and put this there:
Code:document.formname.text_area_name.focus();document.formname.text_area_name.select();
Thanks Issue Solved.