ajax update panel trigger

Discussion in 'ASP .Net' started by =?Utf-8?B?cm9kY2hhcg==?=, Oct 6, 2006.

  1. hey all,
    i have to buttons on a web form and i have an update panel with a single
    textbox inside it. i add a trigger to the update panel for one of the
    buttons. the button procedure assigns some simple text to the textbox and
    tries to change the .Enabled property of the other button to false.

    notice i said the word "tries" that's the part that doesn't work and was
    wondering if anyone knew how i can fix that?

    thanks,
    rodchar
     
    =?Utf-8?B?cm9kY2hhcg==?=, Oct 6, 2006
    #1
    1. Advertising

  2. Could you post your sample code so we can work with it?

    "rodchar" <> wrote in message
    news:...
    > hey all,
    > i have to buttons on a web form and i have an update panel with a single
    > textbox inside it. i add a trigger to the update panel for one of the
    > buttons. the button procedure assigns some simple text to the textbox and
    > tries to change the .Enabled property of the other button to false.
    >
    > notice i said the word "tries" that's the part that doesn't work and was
    > wondering if anyone knew how i can fix that?
    >
    > thanks,
    > rodchar
     
    Ken Cox [Microsoft MVP], Oct 6, 2006
    #2
    1. Advertising

  3. the only code i have is behind the one button procedure:
    Me.TextBox1.Text = "Hello World"
    Me.Button2.Enabled = False

    the rest is ajax config to add the trigger for the UpdatePanel.

    "Ken Cox [Microsoft MVP]" wrote:

    > Could you post your sample code so we can work with it?
    >
    > "rodchar" <> wrote in message
    > news:...
    > > hey all,
    > > i have to buttons on a web form and i have an update panel with a single
    > > textbox inside it. i add a trigger to the update panel for one of the
    > > buttons. the button procedure assigns some simple text to the textbox and
    > > tries to change the .Enabled property of the other button to false.
    > >
    > > notice i said the word "tries" that's the part that doesn't work and was
    > > wondering if anyone knew how i can fix that?
    > >
    > > thanks,
    > > rodchar

    >
    >
    >
     
    =?Utf-8?B?cm9kY2hhcg==?=, Oct 7, 2006
    #3
    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?cm9kY2hhcg==?=

    datalist and ajax update panel

    =?Utf-8?B?cm9kY2hhcg==?=, Oct 2, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    739
    =?Utf-8?B?cm9kY2hhcg==?=
    Oct 2, 2006
  2. GaryDean

    AJAX Update Panel w I.E.7 Problem

    GaryDean, Dec 4, 2006, in forum: ASP .Net
    Replies:
    10
    Views:
    5,062
    Steven Cheng[MSFT]
    Dec 12, 2006
  3. =?Utf-8?B?Qw==?=

    ASP.NET Ajax Update Panel in ContentPlaceHolder

    =?Utf-8?B?Qw==?=, Feb 12, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    1,345
    =?Utf-8?B?Qw==?=
    Feb 12, 2007
  4. DanWeaver
    Replies:
    2
    Views:
    567
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Feb 22, 2007
  5. =?Utf-8?B?Qw==?=

    Ajax Update Panel

    =?Utf-8?B?Qw==?=, Mar 9, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    542
    bruce barker
    Mar 9, 2007
Loading...

Share This Page