Re: Check state on webform



You can get the client side id for these serverside controls in the code by
using the ClientID attribute for the control. So you can use this to write
the client side code to manipulate this.



"Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx> wrote in message
news:OsP$JzpPFHA.3788@xxxxxxxxxxxxxxxxxxxxxxx
> ASP.NET is a server side technology. You want to do something on client
> side. For this you can just write some javascripts in your aspx file as if
> it is a regular html file. All you need to know is what html controls will
> represent your server controls on the client. A checkbox will become an
> <input type=checkbox> and a ddl will turn into a <select>.
>
> Eliyahu
>
> "PawelR" <pawelratajczak@xxxxxxxxxxxxxx> wrote in message
> news:%23TK3FcpPFHA.3292@xxxxxxxxxxxxxxxxxxxxxxx
>> Hello group,
>> I'm begginer in ASP.net and my question is very simple.
>> In my webform I have CheckBox (myCB) and DropDownList (myDDL). I want set
>> myDDL.Enabled =myCB.Checked and show change without refresh
>> website (without send formular to server) - run this on client site.
>> Thx
>> PawelR
>>
>>
>
>


.



Relevant Pages

  • Re: Checkbox on continuous form behave like option group
    ... form which contains a Checkbox on each line. ... child form is called from a button on a parent form called 'frm_clients' ... Each client can have several addresses, ... fields to False, and the set the current 'Primary' boolean back to True, ...
    (microsoft.public.access.formscoding)
  • Re: oncheckedchanged event is not firing everytime on checkbox
    ... Twice checking/unchecking on the client without postback ... One checkbox is deselected ... check uncheck other pages. ... - change events fire ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Checkbox on continuous form behave like option group
    ... form which contains a Checkbox on each line. ... I have a child form I am popping up, which is a continuous form, and allows ... Each client can have several addresses, ... dataset of the current clients addresses, set all the 'Primary' boolean ...
    (microsoft.public.access.formscoding)
  • Re: Checkbox on continuous form behave like option group
    ... checkboxes for that client to false? ... creating a recordset containing only the records to do with this client, ... continuous form which contains a Checkbox on each line. ... child form is called from a button on a parent form called 'frm_clients' ...
    (microsoft.public.access.formscoding)
  • Re: Checkbox does not respect checked value if disabled client side
    ... Microsoft Online Support ... | Subject: Re: Checkbox does not respect checked value if disabled client ... |> of disabling it, we can try using clientside script to hide the checkbox ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)