|
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Register assembly="JqueryController" namespace="JqueryController" tagprefix="cc1" %>
<%@ Register src="../UserControl/ViewUserControl1.ascx" tagname="ViewUserControl1" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Home Page
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript" >
function CallBack() {
var args = CallBack.arguments;
alert(args[0]);
}
</script>
<form id="form1" runat="server">
<h2><%: ViewData["Message"] %></h2>
<div>
</div>
<cc1:JqueryController ID="JqueryController1" runat="server">
<uc2:ViewUserControl1 ID="ViewUserControl11" runat="server" />
</cc1:JqueryController>
<%
%>
<input id="Post" type="button" value="button" onclick="JqueryPost('Home','action=refreshTime')"/>
<p>
To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
</p>
</form>
</asp:Content>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been fascinated by software development since I was 10 years old. I'm proud of learned the first programming language with an Olivetti PC 128S based on Microsoft BASIC. I'm a Software Architect/Senior Developer with a strong background of all the developing Microsoft's technologies.