The condensation and evaporation of n-heptane at 298 K in mesopores of silica material obtained by the polymer templating method have been studied by PALS measurements. It is demonstrated that the ortho-positronium lifetimes and intensities provide valuable information on pore filling and emptying which are not accessible from a conventional adsorption experiment. The results confirm the specific adsorption mechanism of n-heptane in pores with narrow openings (ink-bottle shape) which is different from that known for other pore geometries. The results from PALS experiment are compared to those derived from the conventional n-heptane and nitrogen adsorption data.