I am wotking on infragistics webimagebutton, and i need to have a comfirm dialog box on that button.
It have used a function foo() to the clientsideevents.click
In that function i have a some code from which i get the message that has to be shown in the confirm dialog box. At the end of the function, i used this code
--strReturn is my message
when i click the button, i get the confirmation box but it postbacks even if cancel is clicked.
Is it something to do with the infragistics??
One more thing, webimagebutton has a property called "AutoSubmit". I tried setting that to false.
If i do that, my confirm box pops up many number of times (6 i think) and even if i click ok, it never submits the page.
Could somebody help me out please?