This is a migrated thread and some comments may be shown as answers.

Prevent Text from Changing

1 Answer 76 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jon (I.T. Agility Inc.)
Top achievements
Rank 1
Jon (I.T. Agility Inc.) asked on 07 Nov 2008, 03:29 AM
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
 <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> 

1 Answer, 1 is accepted

Sort by
0
Jon (I.T. Agility Inc.)
Top achievements
Rank 1
answered on 07 Nov 2008, 04:58 PM
I solved this issue - thanks.
Tags
ComboBox
Asked by
Jon (I.T. Agility Inc.)
Top achievements
Rank 1
Answers by
Jon (I.T. Agility Inc.)
Top achievements
Rank 1
Share this question
or