i have two problem
1. how to call a javascript function from form page and also how to
call c# function from javascript because when user click on button i
want to validate field of form and if validation is correct then call
to c# function .
please any no about this reply
2. in second i have button when i click on button a calender shown and
i collect date but problem is when i click on button i page reload , i
want to stop reloading of page
in coding i set the value of calender visible true
please any body no about answer reply me
Loading
Rohan VarekarPosted Jun 24, 2009, 8:07 AM
same u use javascript only
to open ur calender on click on button call javascript and open calender control this will not refresh ur page
If u have any problem mail back to me @ [email protected]
Rohan VarekarPosted Jun 24, 2009, 8:04 AM
On button click call javascript function say
on button click use onClientClick method ( Vs 2005)
if u unable to get Onclientclick
add in form load evnet like
Button1.Attribute.Add("onclick","urfunname()")
this will validate ur func in javascript and if u validated then only it will go in C# code else not
Bechir BejaouiPosted Aug 13, 2008, 4:52 PM
for 2. use an html buton instead of a server side button