Open external website from <not ext>:button click event

  1. #1

    Open external website from <not ext>:button click event

    I want to open a website into a window, as a result of click on <OfficeWebUI:LargeItem> that i guess it is actually a button like asp:button. In your examples you gave an example of ext:button and call the show() function from listener.

    What should i do in my case?

    this is the code:

    <OfficeWebUI:LargeItem ID="rbnBtnUpload" runat="server" Text="Upload" ImageUrl="~/Library/Img/Upload.png"
                                                                OnClick="rbnBtnUpload_Click" />
    And where should i build the ext:window? in the html? or in page_load? (than also in postback?)

    thanks!

    Rachel
    Last edited by geoffrey.mcgill; Aug 20, 2012 at 4:48 AM. Reason: please use [CODE] tags
  2. #2
    Hi,

    The following sample should help:

    https://examples2.ext.net/#/XRender/Basic/New_Window/
    Geoffrey McGill
    Founder
  3. #3
    Thanks.
    But, my button is in updatePanel and it doesn't work. Why? and what should i do?
  4. #4
    Quote Originally Posted by rach View Post
    Thanks.
    But, my button is in updatePanel and it doesn't work. Why? and what should i do?
    I also tried to add myWindow.update() after it, maybe in the postback it is required - but nothing..

Similar Threads

  1. open a asp:gridview footer on ext add button click
    By landerajshree in forum 1.x Help
    Replies: 0
    Last Post: Jun 28, 2012, 11:35 AM
  2. [CLOSED] When button click, open the menu of button
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 22, 2012, 4:23 PM
  3. Simulate ext:Button click event?
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Dec 16, 2010, 6:16 PM
  4. how to open new browser when i click button
    By Dinesh.T in forum 1.x Help
    Replies: 4
    Last Post: Mar 24, 2010, 3:48 AM
  5. Load External Website into an
    By Kamal in forum 1.x Help
    Replies: 3
    Last Post: Jul 25, 2009, 6:16 AM

Tags for this Thread

Posting Permissions