Disable TextBox from popup window

Discussion in 'ASP .Net' started by mg, Jan 3, 2004.

  1. mg

    mg Guest

    I want to disable a TextBox in the WebForm that opens a
    popup Webform ... from the popup WebForm.

    The following javascript code doesn't work:

    window.opener.document.getElementById("TextBox1").Enabled
    = false;

    What am I doing wrong? Could you provide a solution?
     
    mg, Jan 3, 2004
    #1
    1. Advertising

  2. mg

    Natty Gur Guest

    You mean disabled :

    window.opener.document.getElementById("TextBox1").disabled
    = false;


    Natty Gur[MVP]

    blog : http://weblogs.asp.net/ngur
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Natty Gur, Jan 4, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2hyaXM=?=
    Replies:
    3
    Views:
    13,784
    Peter Blum
    Mar 30, 2005
  2. =?Utf-8?B?Sm9obiBXYWxrZXI=?=

    Popup Window Popup Timing

    =?Utf-8?B?Sm9obiBXYWxrZXI=?=, Nov 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    848
    =?Utf-8?B?Sm9obiBXYWxrZXI=?=
    Nov 4, 2005
  3. Peter Gordon
    Replies:
    2
    Views:
    655
    Michael Geary
    Jan 22, 2004
  4. Jens Peter Hansen
    Replies:
    7
    Views:
    547
    Randy Webb
    Jun 19, 2004
  5. Raffi
    Replies:
    4
    Views:
    231
    Dr John Stockton
    Aug 12, 2004
Loading...

Share This Page