why dont u use claient side scripting clientonclick event of button call the javascript function it will not refresh the page
On 8/13/09, smiling eyes <[email protected]> wrote: > > Thanks a lot KeidrickP , Yogesh Dige > * > * > *...@keidrickp* > * > * > The following link is working, but i don't want page fresh.. it is not > working with ajax... i already have another code, but again the problem is > of page refreshing. > > http://www.c-sharpcorner.com/UploadFile/mahesh/WebMsgBox09082006110929AM/WebMsgBox.aspx > ) > @Yogesh Dige > *"The name 'alert' does not exist in the current context.."* > i got this Error because in my problem case i don't to show alert by > default embedded on button click... > > > i want at button click , there is check if text box is not empty then alert > should appear...and no page refresh... > when i place alert("my message"); at button click, above mentioned error > appears. > > > Regards, >
