38 строки
1.6 KiB
Plaintext
38 строки
1.6 KiB
Plaintext
|
<%@ Page Title="Rating-Server-Side Events-ASP.NET-SYNCFUSION" Language="C#" MasterPageFile="~/Samplebrowser.Master" AutoEventWireup="true"
|
||
|
CodeBehind="Events.aspx.cs" MetaDescription="This sample demonstrates the server side change event in a ASP.NET Web Forms Rating control." Inherits="WebSampleBrowser.Rating.events" %>
|
||
|
|
||
|
|
||
|
<asp:Content ID="Content2" ContentPlaceHolderID="ControlsSection" runat="server">
|
||
|
|
||
|
<div class="frame">
|
||
|
<ej:Rating ID="Rating1" runat="server" Value="4" Precision="Exact" OnChange="Rating1_Change"></ej:Rating>
|
||
|
</div>
|
||
|
|
||
|
</asp:Content>
|
||
|
<asp:Content ID="Content4" ContentPlaceHolderID="EventSection" runat="server">
|
||
|
<asp:UpdatePanel ID="UpdatePanelProp" UpdateMode="Conditional" runat="server">
|
||
|
<Triggers>
|
||
|
<asp:AsyncPostBackTrigger ControlID="Clear" EventName="click" />
|
||
|
</Triggers>
|
||
|
<ContentTemplate>
|
||
|
<div class="cols-prop-area event-tracer">
|
||
|
<div>
|
||
|
<div class="heading">
|
||
|
<span>Event Trace</span>
|
||
|
</div>
|
||
|
<div class="prop-grid content">
|
||
|
<div class="eventarea">
|
||
|
<div class="EventLog" id="EventLog" runat="server">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="evtbtn">
|
||
|
<ej:Button ID="Clear" Type="Button" OnClick="Clear_Click" Text="Clear" CssClass="eventclear e-btn" runat="server"></ej:Button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</ContentTemplate>
|
||
|
</asp:UpdatePanel>
|
||
|
</asp:Content>
|
||
|
|