RadComboBox, message to user

6 posts, 0 answers
  1. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 10 Jul 2008 Link to this post

    Hi,

    I would like to send a message to the user on the ItemsReqyested event. I'm using the "ShowMoreResults" functionality.
    The problem is that I only want to show the text. Is it possible to disable the callback behaviour (when clicking on the "more results text")?

  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 10 Jul 2008 Link to this post

    Hello Warnestam,

    Yes, you can subscribe to the OnClientItemsRequesting event and execute the following code:

    function OnClientItemsRequesting(sender,e)
    {
        if (sender.get_appendItems() == true)
        {
            e.set_cancel(true);
        }
    }



    Regards,
    Rosi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 10 Jul 2008 Link to this post

    Thanks, will try it right away...
  5. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 10 Jul 2008 Link to this post

    Almost there,

    My text shows up as before, and nothing happens when I click on it. But the text "select" shows up just before the message? I've tried to remove it in the css, without success. Thanks
  6. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 10 Jul 2008 Link to this post

    Hello Warnestam,

    Could you please open a support ticket and send us sample running project or a live url to test it locally? Thanks.

    Regards,
    Rosi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 11 Jul 2008 Link to this post

    I took another look in your sample for skinning a RadComboBox. I found that you moved the text, so I added the following code to my css;

     

    .RadComboBox_CodabSearch .rcbArrowCell a  
    {  
        position:relative;  
        outline:none;  
        line-height:15px;  
        overflow:hidden;  
        display:block;  
        width:15px;  
        height:15px;  
        text-decoration:none;  
        text-indent: -9999px;  
        font-size: 0;  

    And it works! Thanks for the help.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017