|
-
Aug 23rd, 2012, 12:57 PM
#1
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?
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Aug 23rd, 2012, 01:23 PM
#2
Lively Member
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?
-
Aug 24th, 2012, 03:31 PM
#3
Re: Fire Ajax ConfirmButtonExtender In Code Behind
The problem is that ConfirmButtonExtender is partially run using javascript so you can't change the text...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|