[CLOSED] How can I make my own Window?

  1. #1

    [CLOSED] How can I make my own Window?

    How can I make my own Window whick inherited from Coolite.Ext.Web.Window ? because this window use any where in my project.
  2. #2

    RE: [CLOSED] How can I make my own Window?



    Hope this helps

    Example

    using System;
    using System.Web.UI;
    using Coolite.Ext.Web;
    
    
    namespace MyCompany.MyControls
    {
        public class MyWindow : Window
        {
            protected override void OnBeforeClientInit(Observable sender)
            {
                base.OnBeforeClientInit(sender);
    
    
                this.Title = "My Window";
                this.BodyStyle = "padding:5px;";
                this.BodyControls.Add(new LiteralControl(DateTime.Now.ToLongTimeString()));
            }
        }
    }
    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] How can I make my own Window?

    Thank you!
    Coolite is cool!

Similar Threads

  1. [CLOSED] How to make a window belonging to a desktop?
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Apr 19, 2012, 6:02 PM
  2. [CLOSED] Make window same size as grid...
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 06, 2011, 3:13 PM
  3. [CLOSED] How make re sizable window with content inside.
    By skisly in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Mar 04, 2011, 12:24 PM
  4. Replies: 3
    Last Post: Aug 13, 2010, 11:06 PM
  5. How to make Modal window for whole application?
    By dbassett74 in forum 1.x Help
    Replies: 0
    Last Post: May 15, 2009, 9:13 PM

Posting Permissions