Calling a javascript function from Page_Load in code-behind

后端 未结 8 1338
广开言路
广开言路 2021-01-25 03:49

How can I call a javascript function, that is in the aspx page, from the Page_Load method, in the code-behind?

8条回答
  •  独厮守ぢ
    2021-01-25 03:56

    this is a little trick i found myself without having server side code . that function will be called when the page loads (can be used with an update panel) :

    
    

    it is unknown and yet works like a charm

提交回复
热议问题