JqueryMobile and asp.net master pages refresh footer
Hi all,
I'm new to jquery mobile and I started to build mobile app that uses asp.net web forms and jquery mobile.
This is my master page file:
- <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterMobile2.master.cs" Inherits="MasterMobile2" %>
<!DOCTYPE html>
<html>
<head runat="server">
<meta charset="utf-8">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Title</h1>
</div>
<form runat="server">
<div data-role="content">
<asp:ContentPlaceHolder ID="MainContent" runat="server" />
</div>
</form>
<!-- tab bar with custom icons -->
<div data-role="footer" class="ui-navbar-custom" data-position="fixed">
<div data-role="navbar" class="ui-navbar-custom">
<ul>
<li><a href="link1" id="home" data-icon="custom" data-transition="none" <%--data-ajax="false"--%>>Home</a></li>
<li><a href='link2' id="link2" data-icon="custom" data-transition="none" <%--data-ajax="false"--%>>Link1</a></li>
<li><a href='link3' id="link3" data-icon="custom" data-transition="none" <%--data-ajax="false"--%>>Link2</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
I would like to keep ajax transition between child(footer navigation) pages but to have possibility to update e.g. footer navigation dynamically on server.
Any help or advices are welcome..
Best regards,