1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

dynamically create textboxand raise events dynamically

Discussion in 'C#' started by sekhar_ddk, Sep 2, 2010.

  1. sekhar_ddk

    sekhar_ddk New Member

    Joined:
    Sep 2, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi, i am raj
    how to create a textbox dynamically and what ever you enter in that textbox that will apper in lablel dynamically?
    how raise text change event at run time?
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    There are some events which you do like PerformClick but for editing of control I think the best way to do this is either use RaisePostBackEvent or you can use the PostMessage Windows API to send the control the needed message.

    Yes one more way is to just call the event handler directly.
     

Share This Page