I am trying to convert my declarative RadConfirm template over to a class and have followed the steps outlined here (twice):
http://www.telerik.com/help/aspnet-ajax/window_dialogschangingthedialogtemplates.html
but it's not working.
When putting the code into the page_load event I get an error on this line:
Me.RadWindowManager1.ConfirmTemplate = New ConfirmTemplate(Me.Page)
The error is:
Error 5 Type 'ConfirmTemplate' is not defined.
My class file is (ascx):
and (ascx.vb):
I have followed the example exactly also (using c#) with an AlertTemplate and got the same error.
I would welcome any assistance with this - thanks.