Hi Rakesh,
I can suggest several options to achieve your scenario:
1) Create a RadWindow that will have the proper styling (modal, only close behavior enabled, etc) and in its ContentTemplate you can place buttons and content as you desire, then open it instead of the RadConfirm. This allows you to have directly server-side handlers for the button clicks
OR
2) add a second RadWindowManager at the end of the form and
modify its ConfirmTemplate. THen if you need the second type of confirm box call it explicitly from this manager, i.e.:
var secondMngr = $find("secondManagerClientID");
secondMngr.radconfirm("sure?", secondCallBackFn);
OR
3) Change the text via JavaScript, for example: var oConfirm = radconfirm("sure", null);
$telerik.$(".rwInnerSpan", oConfirm.get_popupElement())[1].innerHTML = "my Text";
4) Change the string via the localization, as shown in
this kb article before calling the confirm dialog. Note that this is a global setting.
Best wishes,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now