Hello,
I am using a RadCombobox in a Grid to store linkbuttons for command like edit, delete, reset password, etc...
I set the default text to "Select an Action..". Some of the linkbuttons have confirm prompts that if the user selects 'cancel' the page does not postback. However, when this happens, the text displayed changes from "Select an action...." to a string somewhat like "editresetpassworddelete". These are the text of my link buttons. How can I prevent this text from changing?
Thanks.
Jon
I am using a RadCombobox in a Grid to store linkbuttons for command like edit, delete, reset password, etc...
I set the default text to "Select an Action..". Some of the linkbuttons have confirm prompts that if the user selects 'cancel' the page does not postback. However, when this happens, the text displayed changes from "Select an action...." to a string somewhat like "editresetpassworddelete". These are the text of my link buttons. How can I prevent this text from changing?
Thanks.
Jon
<telerik:RadComboBox ID="RadComboBox_Commands" MarkFirstMatch="false" runat="server" OnClientSelectedIndexChanging="HandleIndexChanging" OnClientDropDownClosed="HandleClose" |
Width="210px" HighlightTemplatedItems="false" |
ShowToggleImage="True" Skin="Default" |
DropDownWidth="210px" AllowCustomText="false" EnableLoadOnDemand="false"> |
<ItemTemplate> |
<div style="padding-bottom:5px;"><dadds:LinkButton ID="btnShowEdit" CommandName="ShowEdit" runat="server" Text="edit" Roles="Administrator, Manager" /></div> |
<div style="padding-bottom:5px;"><dadds:LinkButton ID="btnResetPassword" CommandName="ResetPassword" runat="server" Text="reset password" Roles="Administrator, Manager, Operator" /></div> |
<div style="padding-bottom:5px;"><dadds:LinkButton ID="btnDelete" CommandName="Delete" runat="server" Text="delete" Roles="Administrator, Manager" /></div> |
<div style="padding-bottom:5px;"><dadds:LinkButton ID="btnExpirePassword" CommandName="ExpirePassword" runat="server" Text="expire password" Roles="Administrator" /></div> |
<div style="padding-bottom:5px;"><dadds:LinkButton ID="btnClearPasswordHistory" CommandName="ClearPasswordHistory" runat="server" Text="clear password history" Roles="Administrator" /></div> |
</ItemTemplate> |
<Items> |
<telerik:RadComboBoxItem Selected="True"></telerik:RadComboBoxItem> |
</Items> |
</telerik:RadComboBox> |