hi,
im using asp multiview control with two views. view1 for radgrid for item listing.
view2 for add/edit item detail. i have added,
btnDelete.Attributes.Add("onclick","javascript: return confirm('Are you sure?');")
this method doesnt make a postback event i selected ok from the confirm dialog.
when i make a change to this (found from your forum)
btnDelete.Attributes.Add("onclick","javascript: if(confirm('Are you sure?')!=true return false;")
then it give an javascript error.
when make property change in the button
CauseValidation = "false"
it works fine.
thanks,
madu.
im using asp multiview control with two views. view1 for radgrid for item listing.
view2 for add/edit item detail. i have added,
btnDelete.Attributes.Add("onclick","javascript: return confirm('Are you sure?');")
this method doesnt make a postback event i selected ok from the confirm dialog.
when i make a change to this (found from your forum)
btnDelete.Attributes.Add("onclick","javascript: if(confirm('Are you sure?')!=true return false;")
then it give an javascript error.
when make property change in the button
CauseValidation = "false"
it works fine.
thanks,
madu.