Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
715
Event Handling on Dynamically build control
posted

Dear All,

In my windows application, iam dynamically build a text box(ultratexteditor-Infragistics V 7.3),

now i need to handle all events of that text box, can you please help me out for handling the events for the dynamically build control,

if possible please reply me with sample code that will be very helpful

Please reply me as soon as possible, Thanks in advance

Thanks & Regards,
Vasanth

  • 37774
    posted

     I'm not sure what you're asking.  Handling the events of the UltraTextEditor is no different than attaching an event handler to any other control, i.e. 

    this.ultraTextEditor1.ValueChanged += new EventHandler(ultraTextEditor1_ValueChanged);

     void ultraTextEditor1_ValueChanged(object sender, EventArgs e)
    {

    // Do stuff here 

    }

    -Matt