Action

Nikolai Vasilievich Gogol

Nikolai Vasilievich Gogol (Russian: Никола́й Васи́льевич Го́голь, tr. Nikolay Vasilyevich Gogol; Ukrainian: Мико́ла Васи́льович Го́голь, Mykola Vasyliovych Hohol; 31 March [O.S. 19 March] 1809 – 4 March [O.S. 21 February] 1852) was a Ukrainian-born Russian dramatist, novelist and short story writer.

Considered by his contemporaries one of the preeminent figures of the natural school of Russian literary realism, later critics have found in Gogol's work a fundamentally romantic sensibility, with strains of Surrealism and the grotesque ("The Nose", "Viy", "The Overcoat," "Nevsky Prospekt"). His early works, such as Evenings on a Farm Near Dikanka, were influenced by his Ukrainian upbringing, Ukrainian culture and folklore. His later writing satirised political corruption in the Russian Empire (The Government Inspector, Dead Souls), leading to his eventual exile. The novel Taras Bulba (1835) and the play Marriage (1842), along with the short stories "Diary of a Madman", "The Tale of How Ivan Ivanovich Quarreled with Ivan Nikiforovich", "The Portrait" and "The Carriage", round out the tally of his best-known works.

Anton Pavlovich Chekhov

Anton Pavlovich Chekhov (Russian: Анто́н Па́влович Че́хов, 29 January 1860 – 15 July 1904) was a Russian physician, dramatist and author who is considered to be among the greatest writers of short stories in history. His career as a dramatist produced four classics and his best short stories are held in high esteem by writers and critics. Chekhov practised as a doctor throughout most of his literary career: "Medicine is my lawful wife", he once said, "and literature is my mistress."

Chekhov renounced the theatre after the disastrous reception of The Seagull in 1896, but the play was revived to acclaim in 1898 by Constantin Stanislavski's Moscow Art Theatre, which subsequently also produced Chekhov's Uncle Vanya and premiered his last two plays, Three Sisters and The Cherry Orchard. These four works present a challenge to the acting ensemble as well as to audiences, because in place of conventional action Chekhov offers a "theatre of mood" and a "submerged life in the text."

John Ernst Steinbeck John Ernst Steinbeck, Jr. (February 27, 1902 – December 20, 1968) was an American writer. He is widely known for the Pulitzer Prize-winning novel The Grapes of Wrath (1939) and East of Eden (1952) and the novella Of Mice and Men (1937). He was an author of twenty-seven books, including sixteen novels, six non-fiction books and five collections of short stories; Steinbeck received the Nobel Prize for Literature in 1962.
Paulo Coelho Paulo Coelho (born August 24, 1947) is a Brazilian lyricist and novelist. He has become one of the most widely read authors in the world today. The recipient of numerous prestigious international awards, amongst them the Crystal Award by the World Economic Forum and France's Legion d'Honneur.

Events
clear log container


Info
   1:  <%@ Page Language="C#" Title="AtomicTabs -- Client side events" AutoEventWireup="true" CodeBehind="ClientSideEvents.aspx.cs"
   2:      Inherits="Atom.Website.Samples.AtomicTabs.ClientSideEvents" %>
   3:   
   4:  <%@ Register Src="../Source.ascx" TagName="Source" TagPrefix="sample" %>
   5:  <%@ Register Assembly="Atom.Web" Namespace="Atom.Web.UI.WebControls" TagPrefix="atom" %>
   6:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   7:  <html xmlns="http://www.w3.org/1999/xhtml">
   8:  <head id="Header1" runat="server">
   9:      <link rel="Shortcut Icon" type="image/ico" href="../images/icon.png" /> 
  10:      <!-- The jQuery UI theme that will be used by the components. -->
  11:      <link href="../themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
  12:      <!-- jQuery runtime minified -->
  13:      <script src="../Scripts/jquery-1.9.1.js" type="text/javascript"></script>
  14:      <!-- jQuery UI runtime minified, client-side javascript of the components.-->
  15:      <script src="../Scripts/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
  16:      <!-- This style reference is needed only for the current example. -->
  17:      <link href="../css/example.css" rel="stylesheet" type="text/css" />
  18:      <script type="text/javascript">
  19:          function OnSelectedIndexChanged() {
  20:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnSelectedIndexChanged at ' + Date());
  21:          }
  22:          function OnTabAdded() {
  23:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabAdded at ' + Date());
  24:          }
  25:          function OnTabDisabled() {
  26:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabDisabled at ' + Date());
  27:          }
  28:          function OnTabEnabled() {
  29:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabEnabled at ' + Date());
  30:          }
  31:          function OnTabMoved() {
  32:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabMoved at ' + Date());
  33:          }
  34:          function OnTabMoving() {
  35:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabMoving at ' + Date());
  36:          }
  37:          function OnTabRemoved() {
  38:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabRemoved at ' + Date());
  39:          }
  40:          function OnTabShow() {
  41:              $("#<%= LogContainer.ClientID %>").val($("#<%= LogContainer.ClientID %>").val() + '\nOnTabShow at ' + Date());
  42:          }
  43:          function ClearLogContainer() {
  44:              $("#<%= LogContainer.ClientID %>").val('');
  45:          }
  46:      </script>
  47:  </head>
  48:  <body>
  49:      <form id="form1" runat="server">
  50:      <fieldset>
  51:          <legend>Action </legend>
  52:          <asp:CheckBox Text="Allow move" runat="server" ID="AllowMove" Checked="true" AutoPostBack="true"
  53:              OnCheckedChanged="AllowMove_CheckedChanged" />
  54:          <asp:CheckBox Text="Allow remove" runat="server" ID="AllowRemove" Checked="true"
  55:              AutoPostBack="true" OnCheckedChanged="AllowRemove_CheckedChanged" />
  56:      </fieldset>
  57:      <br />
  58:      <div>
  59:          <atom:AtomicTabs ID="AtomicTabs1" runat="server" AllowMove="true" AllowRemove="true">
  60:              <ClientSideEvents OnSelectedIndexChanged="OnSelectedIndexChanged" OnTabAdded="OnTabAdded"
  61:                  OnTabDisabled="OnTabDisabled" OnTabEnabled="OnTabEnabled" OnTabMoved="OnTabMoved"
  62:                  OnTabMoving="OnTabMoving" OnTabRemoved="OnTabRemoved" OnTabShow="OnTabShow" />
  63:              <Tabs>
  64:                  <atom:TabItem runat="server" Enable="True" Header="Nikolai Vasilievich Gogol">
  65:                      <Template>
  66:                          <div class="tab-example-content">
  67:                              <img src="../images/authors/nikolai_gogol.jpg" title="Nikolai Vasilievich Gogol"
  68:                                  alt="Nikolai Vasilievich Gogol" class="left-side-image" />
  69:                              <span>
  70:                                  <p>
  71:                                      Nikolai Vasilievich Gogol (Russian: Никола́й Васи́льевич Го́голь, tr. Nikolay Vasilyevich
  72:                                      Gogol; Ukrainian: Мико́ла Васи́льович Го́голь, Mykola Vasyliovych Hohol; 31 March
  73:                                      [O.S. 19 March] 1809 – 4 March [O.S. 21 February] 1852) was a Ukrainian-born Russian
  74:                                      dramatist, novelist and short story writer.
  75:                                  </p>
  76:                                  <p>
  77:                                      Considered by his contemporaries one of the preeminent figures of the natural school
  78:                                      of Russian literary realism, later critics have found in Gogol's work a fundamentally
  79:                                      romantic sensibility, with strains of Surrealism and the grotesque ("The Nose",
  80:                                      "Viy", "The Overcoat," "Nevsky Prospekt"). His early works, such as Evenings on
  81:                                      a Farm Near Dikanka, were influenced by his Ukrainian upbringing, Ukrainian culture
  82:                                      and folklore. His later writing satirised political corruption in the Russian Empire
  83:                                      (The Government Inspector, Dead Souls), leading to his eventual exile. The novel
  84:                                      Taras Bulba (1835) and the play Marriage (1842), along with the short stories "Diary
  85:                                      of a Madman", "The Tale of How Ivan Ivanovich Quarreled with Ivan Nikiforovich",
  86:                                      "The Portrait" and "The Carriage", round out the tally of his best-known works.
  87:                                  </p>
  88:                              </span>
  89:                          </div>
  90:                      </Template>
  91:                  </atom:TabItem>
  92:                  <atom:TabItem runat="server" Enable="True" Header="Anton Pavlovich Chekhov">
  93:                      <Template>
  94:                          <div class="tab-example-content">
  95:                              <img src="../images/authors/anton_chekhov.jpg" title="Anton Pavlovich Chekhov" alt="Anton Pavlovich Chekhov"
  96:                                  class="right-side-image" />
  97:                              <span>
  98:                                  <p>
  99:                                      Anton Pavlovich Chekhov (Russian: Анто́н Па́влович Че́хов, 29 January 1860 – 15
 100:                                      July 1904) was a Russian physician, dramatist and author who is considered to be
 101:                                      among the greatest writers of short stories in history. His career as a dramatist
 102:                                      produced four classics and his best short stories are held in high esteem by writers
 103:                                      and critics. Chekhov practised as a doctor throughout most of his literary career:
 104:                                      "Medicine is my lawful wife", he once said, "and literature is my mistress."</p>
 105:                                  <p>
 106:                                      Chekhov renounced the theatre after the disastrous reception of The Seagull in 1896,
 107:                                      but the play was revived to acclaim in 1898 by Constantin Stanislavski's Moscow
 108:                                      Art Theatre, which subsequently also produced Chekhov's Uncle Vanya and premiered
 109:                                      his last two plays, Three Sisters and The Cherry Orchard. These four works present
 110:                                      a challenge to the acting ensemble as well as to audiences, because in place of
 111:                                      conventional action Chekhov offers a "theatre of mood" and a "submerged life in
 112:                                      the text."</p>
 113:                              </span>
 114:                          </div>
 115:                      </Template>
 116:                  </atom:TabItem>
 117:                  <atom:TabItem runat="server" Enable="True" Header="John Ernst Steinbeck">
 118:                      <Template>
 119:                          <div class="tab-example-content">
 120:                              <img src="../images/authors/john_steinbeck.jpg" title="John Ernst Steinbeck" alt="John Ernst Steinbeck"
 121:                                  class="left-side-image" />
 122:                              <span>John Ernst Steinbeck, Jr. (February 27, 1902 – December 20, 1968) was an American
 123:                                  writer. He is widely known for the Pulitzer Prize-winning novel The Grapes of Wrath
 124:                                  (1939) and East of Eden (1952) and the novella Of Mice and Men (1937). He was an
 125:                                  author of twenty-seven books, including sixteen novels, six non-fiction books and
 126:                                  five collections of short stories; Steinbeck received the Nobel Prize for Literature
 127:                                  in 1962. </span>
 128:                          </div>
 129:                      </Template>
 130:                  </atom:TabItem>
 131:                  <atom:TabItem runat="server" Enable="True" Header="Paulo Coelho">
 132:                      <Template>
 133:                          <div class="tab-example-content">
 134:                              <img src="../images/authors/paulo_coelho.jpg" title="Paulo Coelho" alt="Paulo Coelho"
 135:                                  class="right-side-image" />
 136:                              <span>Paulo Coelho (born August 24, 1947) is a Brazilian lyricist and novelist. He has
 137:                                  become one of the most widely read authors in the world today. The recipient of
 138:                                  numerous prestigious international awards, amongst them the Crystal Award by the
 139:                                  World Economic Forum and France's Legion d'Honneur. </span>
 140:                          </div>
 141:                      </Template>
 142:                  </atom:TabItem>
 143:              </Tabs>
 144:          </atom:AtomicTabs>
 145:      </div>
 146:      <br />
 147:      <fieldset>
 148:          <legend>Events</legend>
 149:          <div>
 150:              <a href="javascript:void(0);" style="float: right;" onclick="ClearLogContainer()">clear
 151:                  log container</a>
 152:              <asp:TextBox ID="LogContainer" runat="server" TextMode="MultiLine" Width="100%" Text=""
 153:                  Height="150px"></asp:TextBox>
 154:          </div>
 155:      </fieldset>
 156:      <br />
 157:      <sample:Source ID="Code" runat="server" />
 158:      </form>
 159:  </body>
 160:  </html>
   1:  using System;
   2:  using System.Collections.Generic;
   3:  using System.Linq;
   4:  using System.Web;
   5:  using System.Web.UI;
   6:  using System.Web.UI.WebControls;
   7:   
   8:  namespace Atom.Website.Samples.AtomicTabs
   9:  {
  10:      public partial class ClientSideEvents : System.Web.UI.Page
  11:      {
  12:          protected void Page_Load(object sender, EventArgs e)
  13:          {
  14:   
  15:          }
  16:   
  17:          protected void AllowMove_CheckedChanged(object sender, EventArgs e)
  18:          {
  19:              AtomicTabs1.AllowMove = AllowMove.Checked;
  20:          }
  21:   
  22:          protected void AllowRemove_CheckedChanged(object sender, EventArgs e)
  23:          {
  24:              AtomicTabs1.AllowRemove = AllowMove.Checked;
  25:          }
  26:      }
  27:  }
   1:  Imports System
   2:  Imports System.Collections.Generic
   3:  Imports System.Linq
   4:  Imports System.Web
   5:  Imports System.Web.UI
   6:  Imports System.Web.UI.WebControls
   7:  Namespace Atom.Website.Samples.AtomicTabs
   8:      Public Partial Class ClientSideEvents
   9:          Inherits System.Web.UI.Page
  10:          Protected Sub Page_Load(sender As Object, e As EventArgs)
  11:          End Sub
  12:          Protected Sub AllowMove_CheckedChanged(sender As Object, e As EventArgs)
  13:              AtomicTabs1.AllowMove = AllowMove.Checked
  14:          End Sub
  15:          Protected Sub AllowRemove_CheckedChanged(sender As Object, e As EventArgs)
  16:              AtomicTabs1.AllowRemove = AllowMove.Checked
  17:          End Sub
  18:      End Class
  19:  End Namespace