Advertisement
Guest User

Untitled

a guest
Oct 6th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.61 KB | None | 0 0
  1. <%@ Page Language="Nemerle" AutoEventWireup="true" CodeBehind="Default.aspx.n" Inherits="Manwe.Web.Test.Default" %>
  2.  
  3. <%@ Register Namespace="Manwe.Web.UI.WebControls" Assembly="Manwe.Web" TagPrefix="manwe" %>
  4. <!DOCTYPE html>
  5. <html>
  6. <head runat="server">
  7.   <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
  8.   <title>Test Page</title>
  9. </head>
  10. <body>
  11.   <form id="form1" runat="server">
  12.   <asp:ScriptManager runat="server" />
  13.   <div>
  14.     <asp:UpdatePanel runat="server">
  15.       <ContentTemplate>
  16.         <manwe:StyleControl runat="server" Padding="10px" PseudoClass="hover" TargetControlID="foo"
  17.           Width="200">
  18.         </manwe:StyleControl>
  19.  
  20.         <manwe:StyleControl runat="server" PseudoClass="hover" TargetControlID="myButton">
  21.           <BoxShadow XOffset="0" YOffset="0" BlurSize="12" Color="#21B4E2" />
  22.           <BackgroundGradient StartLocation="Top">
  23.             <StopPoints>
  24.               <manwe:StopPoint Color="#E6EBED" Point="0%" />
  25.               <manwe:StopPoint Color="#A1DBF0" Point="50%" />
  26.               <manwe:StopPoint Color="#4FC1E3" Point="51%" />
  27.               <manwe:StopPoint Color="#E6EBED" Point="100%" />
  28.             </StopPoints>
  29.           </BackgroundGradient>
  30.         </manwe:StyleControl>
  31.         <manwe:StyleControl runat="server" TargetControlID="myButton">
  32.           <BackgroundGradient StartLocation="Top">
  33.             <StopPoints>
  34.               <manwe:StopPoint Color="#B7DEED" Point="0%" />
  35.               <manwe:StopPoint Color="#71CEEF" Point="50%" />
  36.               <manwe:StopPoint Color="#21B4E2" Point="51%" />
  37.               <manwe:StopPoint Color="#B7DEED" Point="100%" />
  38.             </StopPoints>
  39.           </BackgroundGradient>
  40.         </manwe:StyleControl>
  41.  
  42.  
  43.         <manwe:Panel ID="myElement" IsModal="true" TitleText="Window1" SkinID="MySkin" runat="server">
  44.           <Content>
  45.             <asp:Label ID="Label1" runat="server">Some content</asp:Label>
  46.           </Content>
  47.         </manwe:Panel>
  48.         <asp:Button runat="server" ID="foo" OnClick="Click" Text="Button" />
  49.         <manwe:Button runat="server" BorderRadius="6" Display="InlineBlock" CssClass="button"
  50.           ForeColor="White" Padding="7px 12px" Font-Bold="true" Font-Size="14px" Font-Names="sans-serif"
  51.           Cursor="Pointer" BorderColor="#1883A3" BorderWidth="1px" BorderStyle="Solid" ID="myButton"
  52.           OnClick="Click">
  53.           <TextShadow XOffset="-1" YOffset="-1" Color="#000000" Opacity="0.3" />
  54.           <Content>
  55.             Click me
  56.           </Content>
  57.         </manwe:Button>
  58.       </ContentTemplate>
  59.     </asp:UpdatePanel>
  60.   </div>
  61.   </form>
  62. </body>
  63. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement