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

CheckBoxList and RadToolTipManager

4 Answers 76 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Nikolay Kuzub
Top achievements
Rank 1
Nikolay Kuzub asked on 23 Aug 2007, 07:50 AM
Hello,
I have a problem with RadToolTipManager + CheckBoxList.
The elements of Checkboxlist show property of 'text' correctly
 but 'Selected' from a previous show.

Nikolay

4 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 23 Aug 2007, 10:43 AM
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
0
Nikolay Kuzub
Top achievements
Rank 1
answered on 23 Aug 2007, 11:05 AM

 

0
Øystein Skjesol
Top achievements
Rank 1
answered on 23 Aug 2007, 11:16 AM
A bug report with sample is sent.
Guess this is the ticket id:
view-ticket/b307G-hgahh.aspx
0
Tsvetie
Telerik team
answered on 23 Aug 2007, 12:48 PM
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
Tags
ToolTip
Asked by
Nikolay Kuzub
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Nikolay Kuzub
Top achievements
Rank 1
Øystein Skjesol
Top achievements
Rank 1
Share this question
or