This is a migrated thread and some comments may be shown as answers.

ConfirmTemplate

1 Answer 154 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mehrdad
Top achievements
Rank 1
Mehrdad asked on 31 Jan 2011, 02:11 PM
Hi,
I want to use ConfirmTemplate for placing my desired buttons (Actually I just want to change the order of Ok and Cancel buttons).
That's a shared templates for some confirms in my page.
Now I want the message shown in the confirm comes dynamically from the radconfirm method, but because of defining template the message is not shown and a static message defined in template is show.
How can I solve my problem?

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 01 Feb 2011, 03:21 PM
Hi Mehrdad,

I don't know what your new template is, but I would suggest to make sure that you add the correct parameter in it.
The parameters provided to the template are the following:
  • {0} - RadWindow's popup client ID
  • {1} - Text to show
  • {2} - Default text (for the prompt template)

For more details, please check the original confirm template here.

Regards,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Window
Asked by
Mehrdad
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or