I have a Asp.Net control inside a updatepanel thet is inside a modal popup.
I wont to register write javascript code in client from the control code.
these is my code:
Dim output As String = .. javascript code
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "frmulaMatrix", output, True)
these is my second thinf but dont work
Page.RegisterClientScriptBlock("SCRIPTNAME", "<script language='javascript'>" + output+"</script>")
You must be trying to do this within a partial post back.
You should do it like this.