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
>
>
Re: Passing A Value To Server ... I can have the checkbox on the form and available with 'Display:... > make it visible on the client side... ... >>> Using server controls, if I create a checkbox, but make it not visible, ... (microsoft.public.dotnet.framework.aspnet)
Re: Validating CheckBoxes on the ClientSide ...public class ValidifiableCheckBox: CheckBox ... If in the ServerValidate you access args.Value you will get the output of Wibble, however this doesn't change the client side functionality which always just returns "on". ... investigated the custom validator, however, when I try to get the "args.Value" in my clientside code I always get the value "on" regardless of state. ...Server validation is fine but AFAIK you have to provide client side validation code if you want to validate this client side. ... (microsoft.public.dotnet.framework.aspnet)
Re: Prevent controls from inheirting ID of parent ... On the server side you had to rebind the data to get the ... so you already have access to GUIDs.... attribute would be ignored by the client HTML parser...Checkbox IDs would stay as they are. ... (microsoft.public.dotnet.framework.aspnet.webcontrols)
Re: Validating CheckBoxes on the ClientSide ... IMO the problem is that the checkbox input control doesn"t have a value ... Here is my code from my custom validator can you spot any errors? ... validation is fine but AFAIK you have to provide client side validation ... code if you want to validate this client side (server side code runs ... (microsoft.public.dotnet.framework.aspnet)
Re: newbee question about how to start.. ... You can't do that on the server.... need to write client side code. ... > I want to create some little animation to those buttons, ... > If I open the text part of the ASPX file, I see the page class and the ... (microsoft.public.dotnet.framework.aspnet)