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  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


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.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

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