forum

home / developersection / forums / register javascript inside user control using c#

Register javascript inside User Control using C#

Anonymous User 2183 26-Aug-2014

I want to call javascript function from User Control using C#. For that i am trying to use

ScriptManager.RegisterStartupScript(this, typeof(string), "alertbox", "javascript:ShowPopup('Select a row to rate');", true);

but it is not working for me.

This works fine on the page.

Can some one help me out how can i call javascript function at runtime using C#.


c# c# 
Updated on 26-Aug-2014

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By