Fire Ajax ConfirmButtonExtender In Code Behind
I'm using an Ajax ConfirmButtonExtender to pop up a message box when a button is clicked. But I don't want it to appear only when the button is clicked.
I only want it to appear at specific conditions. But if I add it to the markup during design time, it's going to be automatically assigned to my button. So even if I change the text server side, the default message appears first and I have to click the button a couple of times for it to register the new message.
I also can't create the extender and add it to the markup during runtime, because I'd have to use the button to add it. So the button would need to be pressed twice.
Does anyone have any ideas?
Re: Fire Ajax ConfirmButtonExtender In Code Behind
can you post the code you have ( or what your trying to acheive )so i can visualise what you are saying plz?
Re: Fire Ajax ConfirmButtonExtender In Code Behind
The problem is that ConfirmButtonExtender is partially run using javascript so you can't change the text...