For example in your aspx page having one PeopleEditor control .But you need to resolve the names in client side.
First you have to check whether the PeopleEditor control having any value or not.
This scenario we can use the _hiddenSpanData which is one of the hidden input control for the PeopleEditor control .This control id will be like “PeopleEditor control id__hiddenSpanData”.It will be having the value which we entered in the PeopleEditor control.
If Editor control having value then trigger the CheckName anchor button. For this we can use _checkNames. This control id will be like “PeopleEditor control id_checkNames”.
Here is the sample code:
<%@ Register Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"Namespace="Microsoft.SharePoint.WebControls" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
<title>PeopleEditor Page</title>
<script type="text/javascript" language="javascript">
function TriggerCheckNameClick()
{
var pickerval = document.getElementById('<%=PplEditorCtrl.ClientID%>' + "_hiddenSpanData").value;
pickerval = pickerval.replace(/ /gi, '');
if ((pickerval != null) && (pickerval != '') && (pickerval != ' ')) {
document.getElementById('<%=PplEditorCtrl.ClientID%>' + "_checkNames").click();
}
}</script>
</head>
<body style="margin:0px; padding:0px">
<form id="form2" runat="server">
<div>
<table width="100%">
<tr>
<td>
<cc1:PeopleEditor ID="PplEditorCtrl" MultiSelect="true" runat="server" SelectionSet="User" AllowEmpty="true" Width="500" onfocusout="TriggerCheckNameClick()"/>
</td>
</tr></table>
</div>
</form>
</body>
</html>