I can drag a RadToolBarButton and drop it into a RadTextBox and have it drop where I want it to go without any code.
I need to customize the text that is dropped. By default, the NaviageUrl value is the text which is dropped into the RadTextBox. How can I specify what the drop text is?
Here is my ASCX code.
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TSQLParamForm.ascx.cs" Inherits="WebApp.Controls.Forms.TSQLParamForm" %>
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="formulaTB">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="formulaTB" UpdatePanelCssClass="" />
<telerik:AjaxUpdatedControl ControlID="AttributeToolBar" UpdatePanelCssClass="" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="AttributeToolBar">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="formulaTB" UpdatePanelCssClass="" />
<telerik:AjaxUpdatedControl ControlID="AttributeToolBar" UpdatePanelCssClass="" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadTextBox runat="server" ID="formulaTB" Rows="5" MaxLength="4000" Width="100%" InputType="Text" RenderMode="Lightweight" TextMode="MultiLine">
</telerik:RadTextBox>
<telerik:RadToolBar runat="server" ID="AttributeToolBar" Width="100%" SingleClick="None">
<Items>
<telerik:RadToolBarButton runat="server" Text="@Attr1" Value="@Attr1" NavigateUrl="@Attr1">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton runat="server" Text="@Attr2" Value="@Attr2" NavigateUrl="@Attr2">
</telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>