Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  how to insert simple javascript validation with dotnetnuke 4.0.2
Previous Previous
 
Next Next
New Post 4/10/2006 4:22 AM
User is offline hardik shah
3 posts
10th Ranked


how to insert simple javascript validation with dotnetnuke 4.0.2 

Hello

I am using dotnetnuke 4.0.2. Now i want to write a javascript code to validate my enteries and i m not using Regular Expressions. How do i register the javascript to work in DotNetNuke 4.0.2.

Can some one help. Its really urgent and i have stuck up.

regards

Hardik shah

 

 
New Post 4/10/2006 7:10 AM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: how to insert simple javascript validation with dotnetnuke 4.0.2 
I am a little confused on what you want to validate.   Are you talking about validating some fields in your own custom module?  If so, then simply add an event handler for the onclick of the button doing the submit/save in your module that references your validation javascript routine.
 
New Post 4/10/2006 7:50 AM
User is offline hardik shah
3 posts
10th Ranked


Re: how to insert simple javascript validation with dotnetnuke 4.0.2 

Thanks for an reply.

Now i would like to put you the exact scenerio.

I have added the following in the code i.e. page load event of the page.

btnSubmi.Attributes.Add("onclick"," Validate();return blnValidate();")

On the client side there is a javascript function "Validate()". Now this works properly in normal condition.

Now the actual problem starts.

I am deploying the DotNetNuke application, but after successfull deployment of the application, none of my javascript are working. Not even a single javascript function is working. It behaves as if no javascript code is written.

Am i making my self clear.

Do reply.

 
New Post 4/10/2006 1:46 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: how to insert simple javascript validation with dotnetnuke 4.0.2 
if it works locally and not on a different server, the only answer would be that there is something configured differently on that server.  As to what that is I don't know.
 
New Post 4/10/2006 11:06 PM
User is offline hardik shah
3 posts
10th Ranked


Re: how to insert simple javascript validation with dotnetnuke 4.0.2 

Thanks for the reply again

but the thing is that if i configure the complete code, it works properly, this is a problem only in the case of deployment. The same server if i copy the complete source, the javascript works, but after deploying the application on the server, the javascript code does not work.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  how to insert simple javascript validation with dotnetnuke 4.0.2
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP