Prevent Text from Changing

2 posts, 0 answers
  1. Jon (I.T. Agility Inc.)
    Jon (I.T. Agility Inc.) avatar
    19 posts
    Member since:
    Feb 2007

    Posted 06 Nov 2008 Link to this post

    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> 

  2. Jon (I.T. Agility Inc.)
    Jon (I.T. Agility Inc.) avatar
    19 posts
    Member since:
    Feb 2007

    Posted 07 Nov 2008 Link to this post

    I solved this issue - thanks.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top