The aim of the current study is to develop chitosan-based biomaterials which can sustainably release acetylsalicylic acid while presenting significant biological activity. Herein, an innovative ionic bonding strategy between hydroxypropyl trimethyl ammonium chloride chitosan (HACC) and acetylsalicylic acid (AA) was proposed, skillfully utilizing the electrostatic attraction of the ionic bond to achieve the controlled release of drugs. Based on this point, six crosslinked N-[(2-hydroxy-3-trimethylammonium)propyl]chitosan acetylsalicylic acid salt (CHACAA) hydrogel films with varying acetylsalicylic acid contents were prepared by a crosslinking reaction. The results of 1H nuclear magnetic resonance spectroscopy (1H NMR) and scanning electron morphology (SEM) confirmed the crosslinked structure, while the obtained hydrogel films possessed favorable thermal stability, mechanical properties, and swelling ability. In addition, the drug release behavior of the hydrogel films was also investigated. As expected, the prepared hydrogel films demonstrated the capability for the sustainable release of acetylsalicylic acid due to ion pair attraction dynamics. Furthermore, the bioactivities of CHACAA-3 and CHACAA-4 hydrogel films with acetylsalicylic acid molar equivalents of 1.25 and 1.5 times those of HACC were particularly pronounced, which not only exhibited an excellent drug sustained-release ability and antibacterial effect, but also had a higher potential for binding and scavenging inflammatory factors, including NO and TNF-α. These findings suggest that CHACAA-3 and CHACAA-4 hydrogel films hold great potential for applications in wound dressing, tissue engineering scaffolds, and drug carriers.