本文介绍了多个通用用户控件,但一个.js文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已将一个JS文件包含到aspx页面中.
宿主页面具有用户控件的多个实例.
每个用户控件都有自己的网格.我已经定义了
每个UserControl中的Javascript变量以获取UserControl
特殊网格.
JS文件具有为Grid编写的多种通用功能.
但是我在访问特定于用户控件的网格时遇到问题,
I have include a JS file in to a aspx page.
The host page has multiple instances of the user control.
and each user control has there own grid. i have defined a
Javascript variable in each UserControl to get the UserControl
Spcific Grid.
The JS file has miltiple common function written for Grid.
but i have a problem to access the User Control specific grid,
Is there a way to access user control specific grid?
推荐答案
onSort="PleaseSortMe(this)";
这篇关于多个通用用户控件,但一个.js文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!