hi
I am using update panel along with thimer control and text box.On tick event of timer control is used for setting focus to text box.
But right now If I open any other window it will automatically looses the focus and move to text box
.Is there is anyway for checking whether the window is minimized or maximize state such that only when the window is maximized set focus to textbox else dont do it
I am newbie in javascript nd ajax.Can anyoone help me
please find the below code
<head id="Head1" runat="server">
<script type="text/javascript">
window.onload = function () {
if (document.getElementById("<%# txtMessageIsFocus.ClientID%>").value) {
document.getElementById("<%# txtMessage.ClientID%>").focus();
}
}
function NotFucus() {
document ...
Go to the complete details ...