2

I am building through a problem i.e. How could I call JavaScript function through my controller,i am basically using scriptmanager.registerclientscriptblock but the code is error full which prevents me to proceed, i dont want to go with JSON or any plugins only I want simple JavaScript calling logic,here you go for the code please

                        {
                            Session["UserDetails"] = strConCat;
                            Session["objLoginUser"] = objUser;
                            string strScript = "AlertConfirmRe();";---------//This is my JScript function
            ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "TEST", strScript, true);                                                                
            return;
                        }
1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.