You have to do in custom way only
For Example,
<table>
<tr>
<td><texbox><imagebutton></td>
</tr>
</table>
In that ImageButton u have to use CRM Lookup icons image and u can get it from SDK itself.
while click on ImageButton u can onclick method to Open CRM Lookup window in a custom html page
For CRM 2013,2015,
var CurrentId = window.parent.Xrm.Page.data.entity.getId();
var url = window.parent.Xrm.Page.context.getClientUrl() + "/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=1024&DefaultViewId=%7b8BA625B2-6A2A-4735-BAB2-0C74AE8442A4%7d&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=1&ShowPropButton=1&browse=0¤tid=" + CurrentId + "&objecttypes=1024";
// var url = "/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=1024&DefaultViewId=%7b8BA625B2-6A2A-4735-BAB2-0C74AE8442A4%7d&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=1&ShowPropButton=1&browse=0¤tid=" + CurrentId + "&objecttypes=1024";
var features = "dialogWidth:600px;dialogHeight:600px;help:no;status:yes;scroll:no;center:yes;resizable:yes;";
// var src = <Relative_Url_of_the_Webresource>;
var DialogOptions = new Xrm.DialogOptions();
DialogOptions.width = 600;
DialogOptions.height = 600;
Xrm.Internal.openDialog(url, DialogOptions, null, null, CallbackFunction);
function CallbackFunction(returnValue) {
debugger;
var selectedValues = returnValue;
// Mscrm.Utilities.setReturnValue(result);
//try {
// closeWindow(true); //Close the dialog box
//}
//catch (e) { }
if (selectedValues != null) {
// debugger;
var SelectedValueArray = selectedValues;
if (SelectedValueArray.items.length > 0) {
//Ur Code
}}
}
But Xrm.Internal is not Recommend Method
In CRM 2011,we used Window.ShowmodelDialog but it is not working in 2015 update1
If this answer is useful kindly verify the answer