Hello,
Thank you for all your suggestions.
Yes, all my web controls have IDs. But the problem is that Javascript
doesn't "see" server controls! Maybe I'm doing something wrong, but I could
never make it work. Every time I was using Javascript with the web forms I
had to either use HTML controls with runat="server" tag or to register a
Javascript with RegisterStartupScript method.
Thank you,
Peter
<ar*********@gmail.com> wrote in message
news:11*********************@t31g2000cwb.googlegro ups.com...
Did you tried specifying ID and runat attributes to respected HTML tags
and access them by thier ID names from the webform?
Aru
Peter Afonin wrote: Hello,
I'd used before methods like RegisterStartupScript with ASP.NET, but
this problem I was unable to solve yet using this method.
I have a web form with a few web controls - textbox, dropdown lists,
calendar control. If the textbox has a value- I need to disable all
other controls when it looses focus (onblur event), if it's empty - enable
them. The texbox I can replace with a HTML control instead of web control, but
the other controls I cannot.
Is it possible to do this?
I would appreciate your help on this.
Thank you,
--
Peter Afonin