set text of label control within ascx file using javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mpl
    New Member
    • Sep 2007
    • 27

    set text of label control within ascx file using javascript

    Hi,
    i have an ascx file named mytestcontrol.a scx.
    it has reference to another ascx control as below.

    [HTML]<%@ Register Src="myControl. ascx" TagName="myCont rol" TagPrefix="uc" %>
    ....
    ......
    <uc:myControl ID="myControl1 " runat="server" />
    [/HTML]

    i have a javascript inside mytestcontrol.a scx.
    In this script function i need to set the text of one of the label control in myControl.ascx to "mylabletes t".


    thanks
    ml
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Can you show the code for the label?

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Changed thread title to better describe the question.

      Comment

      Working...