/// <summary> Add some event text to an event on the second text box for the citation control </summary> /// <param name="Event"> Type of the event to add text to </param> /// <param name="EventText"> Text (html format) to add to the event, such as "getElementById('demo').innerHTML = Date()", or "myFunction();return false;", etc.. </param> protected void Add_TextBox2_Event(HtmlEventsEnum Event, string EventText) { // If the events is null, create it if (textBox2Events == null) { textBox2Events = new HtmlEventsHelper(); } // Add this event textBox2Events.Add_Event(Event, EventText); }
/// <summary> Add some event text to an event on the primary combo box for the citation control </summary> /// <param name="Event"> Type of the event to add text to </param> /// <param name="EventText"> Text (html format) to add to the event, such as "getElementById('demo').innerHTML = Date()", or "myFunction();return false;", etc.. </param> protected void Add_ComboBox_Event(HtmlEventsEnum Event, string EventText) { // If the events is null, create it if (comboBoxEvents == null) { comboBoxEvents = new HtmlEventsHelper(); } // Add this event comboBoxEvents.Add_Event(Event, EventText); }