Here is my Javascript function:
<script type="text/javascript">
function SelectionTextBox()
{
document.getElementById("TextBox1").select();
}
</script>
Here I call the function on the button:
ScriptManager.RegisterClientScriptBlock(this, GetType(), "t ", "SelectionTextBox();", true);
I want to select text in my TextBox1 on button click but it does not work.