Hi,
On one of the web pages in my current project, there are 2 RadListBoxes (RadListBox1 on the left and RadListBox2 on the right).
When the user clicks the buttons to transfer a single/multiple/all items from RadListBox2 to RadListBox1, I want to display a confirmation box displaying the message "Are you sure you want to continue?" and 2 buttons (OK/Yes and Cancel/No).
If the user clicks OK/Yes, then the transfer will be done. Otherwise if the user clicks Cancel/No, the transfer will be cancelled.
The screen shot of the web page is given on http://img31.imageshack.us/img31/9424/listboxes.jpg
I have checked the Telerik samples and forums but could not find anything.
Can I display this confirmation by adding a JavaScript confirm function to the buttons' onclick event handler?
If this is the correct solution, can you show me how to add a JavaScript confirm function to these buttons' onclick event handler?
Otherwise, can you please show me the correct way to display the confirmation box?
Regards,
Herman
On one of the web pages in my current project, there are 2 RadListBoxes (RadListBox1 on the left and RadListBox2 on the right).
When the user clicks the buttons to transfer a single/multiple/all items from RadListBox2 to RadListBox1, I want to display a confirmation box displaying the message "Are you sure you want to continue?" and 2 buttons (OK/Yes and Cancel/No).
If the user clicks OK/Yes, then the transfer will be done. Otherwise if the user clicks Cancel/No, the transfer will be cancelled.
The screen shot of the web page is given on http://img31.imageshack.us/img31/9424/listboxes.jpg
I have checked the Telerik samples and forums but could not find anything.
Can I display this confirmation by adding a JavaScript confirm function to the buttons' onclick event handler?
If this is the correct solution, can you show me how to add a JavaScript confirm function to these buttons' onclick event handler?
Otherwise, can you please show me the correct way to display the confirmation box?
Regards,
Herman