New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Footer Template
The template of the view footer. It can be a string or a Kendo Template.
ASP.NET
<telerik:RadAIPrompt runat="server" ID="RadAIPrompt1" Width="400px">
<Views>
<telerik:AIPromptView Name="PromptView" Type="Prompt" />
<telerik:AIPromptView Name="CustomView" Type="Custom" ButtonIcon="pencil" ButtonText="Custom View" InitializeComponents="customFunction">
<FooterTemplate>
Custom Footer
</FooterTemplate>
</telerik:AIPromptView>
</Views>
</telerik:RadAIPrompt>
JavaScript
function customFunction() {
alert("View initialized")
}