CheckBoxList and RadToolTipManager

5 posts, 0 answers
  1. Nikolay Kuzub
    Nikolay Kuzub avatar
    10 posts
    Member since:
    Oct 2005

    Posted 23 Aug 2007 Link to this post

    Hello,
    I have a problem with RadToolTipManager + CheckBoxList.
    The elements of Checkboxlist show property of 'text' correctly
     but 'Selected' from a previous show.

    Nikolay
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 23 Aug 2007 Link to this post

    Hello Nikolay Kuzub,
    I am not sure I understand your scenario completely. Therefore, can you please prepare and send us a simple running project, demonstrating this behavior?

    Regards,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Nikolay Kuzub
    Nikolay Kuzub avatar
    10 posts
    Member since:
    Oct 2005

    Posted 23 Aug 2007 Link to this post

     

  4. Øystein Skjesol
    Øystein Skjesol avatar
    1 posts
    Member since:
    Sep 2005

    Posted 23 Aug 2007 Link to this post

    A bug report with sample is sent.
    Guess this is the ticket id:
    view-ticket/b307G-hgahh.aspx
  5. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 23 Aug 2007 Link to this post

    Hello Øystein Skjesol,
    I already answered your question in the support ticket, but I will place the information here as well, so that it is available to all interested:

    ___________________________________________

    You have to assign the ProductID property of your user control at a later stage in the page life cycle - for example in the PreRender handler:

    private void UpdateToolTip(string elementID, UpdatePanel panel)  
    {  
        Control ctrl = Page.LoadControl("WebUserControl.ascx");  
        panel.ContentTemplateContainer.Controls.Add(ctrl);  
        //WebUserControl details = (WebUserControl)ctrl;  
        //details.ProductID = elementID;  
        _productID = elementID;  
        _details = (WebUserControl)ctrl;  
    }     
     
    private string _productID = null;  
    private WebUserControl _details = null;   
     
    protected override void OnPreRender(EventArgs e)  
    {  
        base.OnPreRender(e);  
        if (_details != null)  
        {  
            _details.ProductID = _productID;  
        }  
    }          


    ___________________________________________

    Greetings,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top