Inject Javascript from asp.net code behind files

后端 未结 4 1318
盖世英雄少女心
盖世英雄少女心 2020-12-08 15:32

Am I injecting this correctly?

string myScriptName = \"EventScriptBlock\";
string myScript = string.Empty;

//Verify script isn\'t already registered
if (!Cl         


        
4条回答
  •  旧巷少年郎
    2020-12-08 16:09

    I have a feeling this is related to your asp.net/html markup.

    Do you have a form tag like so in your .aspx file?

    ....

提交回复
热议问题