1 Replies - 2260 Views - Last Post: 02 September 2010 - 10:54 PM Rate Topic: -----

#1 Guest_AA suranga*


Reputation:

ListBox - SelectedItem text in RichTextBox

Posted 02 September 2010 - 09:12 PM

I want to know listbox text how to inset into the Richtextbox
Is This A Good Question/Topic? 0

Replies To: ListBox - SelectedItem text in RichTextBox

#2 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Re: ListBox - SelectedItem text in RichTextBox

Posted 02 September 2010 - 10:54 PM

ListControl.SelectedValue will return the currently selected item. You can tie it to the ListControl.SelectedValueChanged event to change the text in your RichTextBox control.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1