Full constructor that receives an instance of any control object and the client name of the generated script object that contains the specified properties.