Click here to Skip to main content
15,906,574 members

Comments by Param From Mumbai (Top 3 by date)

Param From Mumbai 1-Jun-20 12:22pm View    
Thank you for your reply.
I have tried using class mentioned in your link but still same. I think the problem is that WTSEnumerateSessions functions returns all the logged in user but it is not able to give which user excuting this process.
Param From Mumbai 15-Nov-11 6:49am View    
how i will call it on onblur event
Param From Mumbai 15-Nov-11 5:37am View    
My javascript function is this ::::


<script language="javascript" type="text/javascript">
function isvalidFirstname() {

var uid;
var temp = document.getElementById("<%=txtname.ClientID %>");
uid = temp.value;
var re = /^[a-zA-Z ]+$/
if (uid == "") {
return ("Please enter firstname" + "\n");
}
else if (re.test(uid)) {
return "";

}
else {
return ("FirstName accepts Characters and spaces only" + "\n");
}
}
</script>

and i am calling it as follow::

<asp:TextBox ID="txtname" runat="server" onblur="return isvalidFirstname()">


but still it not working is there any mistake i have done .....???