Ask a Question related to ASP.NET General, Design and Development.
-
John Livermore #1
Client side validators not emitting
I am unable to get ASP.NET to send down Javascript to my IE 6.0
browser for client side validation.
To simplify the problem I have the following code snippet in from User
Control that creates a validator and emits HTML for Textbox.
control = //my Textbox control
RequiredFieldValidator validator = new RequiredFieldValidator();
control.ID="testid";
validator.ControlToValidate = control.ID;
validator.EnableClientScript = true;
When the page emits no Javascript appears on the page related to
validation. In my
'C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4 322' directory there
is a WebUIValidation.js file. So that doesn't seem to be the issue.
Any ideas?
Thanks!
John
John Livermore Guest
-
flashcom: client side cant access server side
hi all, i hav install the flash com on the PC. It work well, on the server PC, i can access and log in to the 'chat room'.. however, if im... -
emitting client script
I'm aware of RegisterClientScriptBlock and RegisterStartupScript, but .... Suppose you need to execute some script code when your page... -
Controls with a client side onLoad function or seting a cursor server side
Is there any way to create a web control that calls a client side onLoad function? Its diffucilt since you are not able to access the form or... -
Client side and server side scripting problem
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve... -
button evet ---- server side - client side ???
I want to use button. My question is that How can use server side and client site event at the same time. That is: I want to use button : when... -
John Livermore #2
Re: Client side validators not emitting
figure out the problem.
control.Controls.Add(validator);
causes the validation to emit properly.
John Livermore Guest



Reply With Quote

