AutoCompleteBox: CustomTextBlock example incomplete

2 posts, 0 answers
  1. John
    John avatar
    14 posts
    Member since:
    Apr 2013

    Posted 19 Apr 2013 Link to this post

    In the example listed at .  At the very bottom you have some code for 

    radAutoCompleteBox1.TextBlockFormatting += new TextBlockFormattingEventHandler(radAutoCompleteBox1_TextBlockFormatting);
    this.radAutoCompleteBox1.Text = "Euro;USD;GBP;";

    Only new textblocks created are formatted with the new style.  These 3 text blocks 'Euro' 'USD' and 'GBP' are in the old format.  The TextBlockFormatting code is not listed.

    I need this to finish up my custom TextBlock.


  2. Stefan
    Stefan avatar
    2911 posts

    Posted 24 Apr 2013 Link to this post

    Hello John,

    Thank you for noticing the missing snippet. I will make sure it gets corrected with the next upload. Your 
    Telerik Points have been updated for this report.

    In regards to the observed behavior, as long as you have subscribed to the event prior adding the items, they will be customized according to your definition in the event handler. Please refer to the attached video.

    I hope that you find this information useful.

    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Back to Top