暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Ext.NET.Default.aspx 3.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <%@ Page Language="C#" %>
  2. <script runat="server">
  3. protected void Button1_Click(object sender, DirectEventArgs e)
  4. {
  5. X.Msg.Notify(new NotificationConfig {
  6. Icon = Icon.Accept,
  7. Title = "Working",
  8. Html = this.TextArea1.Text
  9. }).Show();
  10. }
  11. </script>
  12. <!DOCTYPE html>
  13. <html>
  14. <head runat="server">
  15. <title>Ext.NET Example</title>
  16. <link type="text/css" rel="stylesheet" href="https://speed.ext.net/www/intro/css/main.css" />
  17. </head>
  18. <body>
  19. <ext:ResourceManager runat="server" Theme="Triton" />
  20. <header>
  21. <a href="https://ext.net/"><img src="https://speed.ext.net/identity/extnet-logo-large.png" class="logo"/></a>
  22. </header>
  23. <div class="wrapper">
  24. <h1>Welcome to Ext.NET!</h1>
  25. <p>Thank you for installing Ext.NET.</p>
  26. <p class="last">You can check that everything is working correctly by submitting a value in the message box below.</p>
  27. </div>
  28. <form runat="server">
  29. <ext:Panel
  30. ID="Window1"
  31. runat="server"
  32. Title="Welcome to Ext.NET"
  33. Height="215"
  34. Width="350"
  35. Frame="true"
  36. Collapsible="true"
  37. Cls="box"
  38. BodyPadding="5"
  39. DefaultButton="0"
  40. Layout="AnchorLayout"
  41. DefaultAnchor="100%">
  42. <Items>
  43. <ext:TextArea
  44. ID="TextArea1"
  45. runat="server"
  46. EmptyText=">> Enter a Test Message Here <<"
  47. FieldLabel="Message"
  48. Height="85"
  49. />
  50. </Items>
  51. <Buttons>
  52. <ext:Button
  53. ID="Button1"
  54. runat="server"
  55. Text="Submit"
  56. Icon="Accept"
  57. OnDirectClick="Button1_Click"
  58. />
  59. </Buttons>
  60. </ext:Panel>
  61. </form>
  62. <div class="wrapper wrapper-lower">
  63. <h2><a href="https://ext.net/support/">Technical Support</a></h2>
  64. <p>Need a little help? Visit our <a href="https://ext.net/support/">Support</a> page for links to documentation, examples and more. </p>
  65. <hr>
  66. <h2><a href="https://forums.ext.net/">Community Forums</a></h2>
  67. <p>Keep up to date with all things Ext.NET by joining the active community in our <a href="https://forums.ext.net/">Forums</a>.</p>
  68. <hr>
  69. <h2><a href="https://examples.ext.net/">Examples</a></h2>
  70. <p>Ext.NET features 100+ Components and 750+ Samples for use in your ASP.NET apps. Check out the <a href="https://examples.ext.net/">Examples Explorer</a> to see what's possible.</p>
  71. <hr>
  72. <h2><a href="https://ext.net/pricing/">Purchase</a></h2>
  73. <p class="last">When you're ready, <a href="https://ext.net/pricing/">purchase</a> a license and start building web apps with ease!</p>
  74. </div>
  75. <footer>
  76. <p class="last">&copy; 2008-<%= DateTime.Today.Year %> <a href="https://object.net/">Object.NET</a>, Inc. All Rights Reserved.</p>
  77. </footer>
  78. </body>
  79. </html>