Fixed Position Footer Navbar - ASP.NET

Fixed Position Footer Navbar - ASP.NET

I am attempting to add a fixed position navbar in my footer. I can get it to work if I move my closing </form> tag, but I need it where it is.

This is the layout I need:
  1. <body>
  2.       <div data-role="page" data-theme="c">
  3.             <form>
  4.             <div data-role="header">...</div>
  5.             <div data-role="content">...</div>
  6.             <div data-role="footer">Persistent NavBar Here</div>
  7.             </form>
  8.       </div>
  9. </body>
The above code makes the footer navbar not inherit the page theme and is not persistent.

However, if I close the form tag just above the footer, everything works properly. The problem is, I'm using ASP.NET and I need to have the footer inside the <form></form> tags for my buttons to work properly.

Any suggestions to make this work inside the form? I could possibly move the form tag directly below <body>, but this has other bad side effects.