delivered the opinion of the court:
Plaintiff, R. W. Boeker Co., appeals from an order of the circuit court of Madison County dismissing its cause of action to foreclose a mechanic’s lien on the grounds it was bаrred by a prior mortgage foreclosure proceeding. We affirm.
Cottonwood Sports Center, a sports facility in Edwardsville, formerly was owned by Cottonwood Junction, Inc. In November of 1983, Cottonwood Junction filed a bankruptcy petition in Federal court. The second mortgage holder, the Helsels, and the first mortgage holder, Eagle Bank of Madison County (Eagle Bank), defendant here, had the bankruptcy court’s automatic stay lifted with respect to the sports facility land. In February 1985, the Helsels and Eagle Bank filed a comрlaint to foreclose their mortgages. A lis pendens notice of the pending foreclosure proceeding was recorded, and “unknown owners” of the land were servеd.
On November 21, 1985, the mortgage foreclosure proceeding went to trial. Plaintiff recorded its claim for a mechanic’s lien on March 18, 1986. A judgment of foreclosure was entered in the mortgage foreclosure proceeding on March 20, 1986, and the foreclosure sale was held оn April 21, 1986. Although the Helsels were the highest bidders at the sale, they were not able to raise the funds to meet the bid. Eagle Bank, as second highest bidder, purchased the land. The circuit сourt of Madison County issued a certificate of sale which Eagle Bank recorded on April 29, 1986. The judicial deed to the land was issued on October 22,1986.
Plaintiff filed its complaint to fоreclose its mechanic’s lien on November 5, 1986, against Eagle Bank. Eagle Bank filed a motion to dismiss plaintiff’s complaint on the ground that it failed to state a cause of action. Plaintiff’s owner filed an affidavit in response which stated:
“1. R. W. BOEKER COMPANY had a trailer on the job site of this property at all times that the company was doing improvements. The job lаsted from approximately May 1985 until November of 1985. The trailer had in bold letters the following:
R. W. BOEKER COMPANY, INC.
GENERAL CONTRACTORS
The job site is approximately three and a half blocks away from Eagle Bank on the same side of Illinois Highway 159 in Edwardsville, Illinois.'The trailer was parked in the parking lot on the West side of the Sports Center.
2. I was never informed by anyone that the real estate which I wаs improving was in foreclosure or that Cottonwood Sports Center Phase II had filed for bankruptcy reorganization. Officials from Eagle Bank would have had to know that I was performing work. I never received notice of any kind of any foreclosure proceedings, application for judgment, or sale.
3. It is not the practice of contrаctors in this area to do title searches before commencing in jobs for which they are hired. I would not have incurred liabilities and performed this work had I known that the projеct was in foreclosure, without some prior protection from the Eagle Bank.”
A hearing was held on Eagle Bank’s motion on December 29, 1986.
Plaintiff contends on appeal that it is entitled to recover the reasonable value of improvements it placed on the land from Eagle Bank under an equitable lien theory. Plaintiff believes Eagle Bank knew plaintiff was making the improvements but stood by and remained silent concerning its right to the land. Plaintiff, however, has not preserved this issue for appeal, for plaintiff nеver presented such a theory to the trial court.
Plaintiff’s complaint was by its terms an action to foreclose a mechanic’s lien. Nothing in it would put either Eagle Bank or the trial court on notice that plaintiff was claiming an equitable lien. .Plaintiff’s affidavit filed in support of its complaint to foreclose a mechanic’s lien also makes no mention of an equitable lien. And, contrary to plaintiff’s assertion, the facts contained therein, in and of themselves, are insufficient to call the theory to the attention оf the trial court or Eagle Bank. In its memorandum of law filed with the court after the hearing on Eagle Bank’s motion, plaintiff still did not assert it was entitled to an equitable lien. The first time such a claim was made is in plaintiff’s brief before this court. An issue not presented to the trial court will not be considered for the first time on appeal. (See Vournazos v. Vournazos (1979),
Plaintiff never brought the issue of an equitable lien to the attention of anyone before presenting it here. Plaintiff simply did not argue
Assuming plaintiff properly preserved this issue for аppeal, we still could not find in plaintiff’s favor. The essential elements of an equitable lien are (1) a debt, duty or obligation owing by one person to another, and (2) an identifiаble res to which that obligation fastens. (Marshall Savings & Loan Association v. Chicago National Bank (1965),
Moreover, equitable liens cannot be imposed when a lienor fails to perfect his mechanic’s lien. (Wingler v. Niblack (1978),
Finally, as Eagle Bank and the Helsels had filed and recorded a lis pendens notice on the property, plaintiff had constructive notice of the mortgage foreclosure proceеding and consequently acquired its rights pendente lite. Because the Us pendens statute (Ill. Rev. Stat. 1985, ch. 110, par. 2 — 1701) applies unequivocally to all interests in or liens upon proрerty, regardless of their nature, plaintiff was bound by the mortgage foreclosure proceedings. (See Goldstein v. Weisberg (1930),
For the aforementioned reasons, we affirm the order of the circuit court of Madison County dismissing plaintiff’s complaint.
Affirmed.
WELCH and LEWIS, JJ., concur.
