public void AssociateAssets() //**********AssociateAssets********** //NAME : AssociateAssets //PURPOSE : This function is used to associate assets to a specific product. //PARAMETERS : //RETURN VALUE : void //USAGE : //CREATED ON : 16-04-2007 //CHANGE HISTORY :Auth Date Description //*********************************************************************** { try { string functionResult; XmlHttpHandler Associations = new XmlHttpHandler(); functionResult = Associations.SetRelationships(Request.Form["assetPid"], Request.Form["assetId"]); Response.ContentType = "text/xml"; Response.Charset = "utf-16"; Response.BinaryWrite(StringToBytes(functionResult)); Associations = null; } catch (Exception ex) { if (ExceptionPolicy.HandleException(DanaherTM.Framework.ExceptionHandling.ExceptionInstance.FlukeNetworks.WebPages, ex)) { //throw; } } }