Sunday, January 22, 2006

ASP.NET Validators and Firefox

When playing with Atlas, I was trying to install validators in dynami parts of page.
During this, I was forced to create a validators manually at client side, without server controls and use for this default WebUIValidation.js.
During all this i find out:
- Validators could work on Firefox - all u need is to render similar Html code. (Check with IE View Source)
- Only problem with WebUIValidation file - Microsoft uses a final as variable name - and that's why it is not compiles on Firefoix
You can download corrected file here: http://dotnet.osypchuk.com/Sources/WebUIValidation.js
If neccessary, I can put guides how to add Validators without help of donet, but it seems to be obvious - comments are welcome.


Applies to all dotnet languages: C#, VB.NET, C++.NET, J#

1 Comments:

At 2:11 AM, Bjorn said...

Thanks for linking the firefox script file. Works like a charm!

 

Post a Comment

<< Home