Load an internal url into a Window when i click a button ?

  1. #1

    Load an internal url into a Window when i click a button ?

    Please help me ?
    I want to load a internal url into a Window when i click a button.
    - Current page : Default.aspx
    has 3 controls : Window1(Coolite control using show popup), Button1, Button2
    - 2 Pages : News1.aspx, News2.aspx.

    Situation:

    event : Click Button1 -----> Load News1.aspx into Window1
    event : Click Button2 -----> Load News2.aspx into Window1

    Thank for helping!
  2. #2

    RE: Load an internal url into a Window when i click a button ?



    use autoLoad.Url like this:
    on the click event handler
    Window1.AutoLoad.Url = "./News1.aspx";
    Window1.AutoLoad.Mode = LoadMode.IFrame;
    Check this link: https://examples1.ext.net/#/Window/Basic/AutoLoad_Website/
  3. #3

    RE: Load an internal url into a Window when i click a button ?

    on click handler you could write

    Window1.body.Load({
        url: "NewPage1.aspx",
        scripts: true,
        text: "Loading ..."<code>
    }</code>
    (from ext api documentation)<code></code>
  4. #4

    RE: Load an internal url into a Window when i click a button ?

    Crisim (12/7/2009) on click handler you could write

    Window1.body.Load({
        url: "NewPage1.aspx",
        scripts: true,
        text: "Loading ..."<CODE>
    }</CODE>
    (from ext api documentation)<CODE></CODE>
    in Coolite nearly the same:

    <Listeners>
             <Click Handler="#{Window1}.load({
        url: "NewPage1.aspx",
        scripts: true,
        text: "Loading ..."<CODE>
    </CODE>});" />
    </Listeners>
  5. #5

    RE: Load an internal url into a Window when i click a button ?

    thank you very much ! ^_^ .

Similar Threads

  1. [CLOSED] how to close window after click button in this window
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jun 22, 2012, 2:48 PM
  2. Create new window dynamically on button click from another window
    By softlabsgroup.support in forum 1.x Help
    Replies: 6
    Last Post: May 01, 2012, 9:26 AM
  3. Replies: 1
    Last Post: Oct 12, 2010, 8:39 PM
  4. Replies: 4
    Last Post: Sep 17, 2010, 10:33 PM
  5. [CLOSED] Load modified Store into a Datatable on click of a Button
    By dheeraj_us in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Jul 02, 2010, 1:10 PM

Posting Permissions