Внёс примеры использования веб-службы
This commit is contained in:
24
WebApiSamples/WebCustomization/FooterRight.ascx
Normal file
24
WebApiSamples/WebCustomization/FooterRight.ascx
Normal file
@ -0,0 +1,24 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" ClassName="Lers.Web.Client.FooterRight" %>
|
||||
|
||||
<%@ Import Namespace="Lers.Web.Api" %>
|
||||
|
||||
<style type="text/css">
|
||||
#footer_right_userName
|
||||
{
|
||||
float: Right;
|
||||
padding-right: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="footer_right_userName">
|
||||
<asp:Label ID="userDisplayName" runat="server" Text="Label"></asp:Label>
|
||||
</div>
|
||||
|
||||
<script runat="server">
|
||||
|
||||
protected void Page_PreRender(object sender, EventArgs e)
|
||||
{
|
||||
this.userDisplayName.Text = User.DisplayName;
|
||||
}
|
||||
|
||||
</script>
|
8
WebApiSamples/WebCustomization/SimplePage.html
Normal file
8
WebApiSamples/WebCustomization/SimplePage.html
Normal file
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>�������� ��������</title>
|
||||
</head>
|
||||
<body>
|
||||
�������� ��������
|
||||
</body>
|
||||
</html>
|
7
WebApiSamples/WebCustomization/TestPage.aspx
Normal file
7
WebApiSamples/WebCustomization/TestPage.aspx
Normal file
@ -0,0 +1,7 @@
|
||||
<%@ Page Title="�������� ��������" Language="C#" AutoEventWireup="true" MasterPageFile="~/Main.Master" %>
|
||||
|
||||
<asp:Content ID="fullColumnContent" ContentPlaceHolderID="FullColumnContent" runat="server">
|
||||
|
||||
�������� ��������
|
||||
|
||||
</asp:Content>
|
Reference in New Issue
Block a user