ResourceManager manager = new ResourceManager( this.GetType() );
ResourceSet resources = manager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, true, true); if( !Page.IsStartupScriptRegistered( "SkySword.WebControls.PowerDataGrid Style" ) ) {
Page.RegisterStartupScript( "SkySword.WebControls.PowerDataGrid Style", gridStyle );
} if(this.IsShowCheckAll){
if( !Page.IsStartupScriptRegistered( "SkySword.WebControls.PowerDataGrid Check" ) ) {
String script = resources.GetString("CheckScript");
this.Page.RegisterClientScriptBlock("SkySword.WebControls.PowerDataGrid Check", script );
}
} if(this.IsShowScorll){
if( !Page.IsStartupScriptRegistered( "SkySword.WebControls.PowerDataGrid Scroll" ) ) {
String script = resources.GetString("ScrollTable");
this.Page.RegisterClientScriptBlock("SkySword.WebControls.PowerDataGrid Scroll", script );
this.Page.RegisterStartupScript("SkySword.WebControls.PowerDataGrid Init", "<script>makeScrollableTable('"+this.ID+"',true,'"+this.Height.Value.ToString()+"');</script>" );
}
}
请问上边这段代码中引用的资源文件是哪一个? 看了很久都没能搞懂,非常郁闷!
ResourceSet resources = manager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, true, true); if( !Page.IsStartupScriptRegistered( "SkySword.WebControls.PowerDataGrid Style" ) ) {
Page.RegisterStartupScript( "SkySword.WebControls.PowerDataGrid Style", gridStyle );
} if(this.IsShowCheckAll){
if( !Page.IsStartupScriptRegistered( "SkySword.WebControls.PowerDataGrid Check" ) ) {
String script = resources.GetString("CheckScript");
this.Page.RegisterClientScriptBlock("SkySword.WebControls.PowerDataGrid Check", script );
}
} if(this.IsShowScorll){
if( !Page.IsStartupScriptRegistered( "SkySword.WebControls.PowerDataGrid Scroll" ) ) {
String script = resources.GetString("ScrollTable");
this.Page.RegisterClientScriptBlock("SkySword.WebControls.PowerDataGrid Scroll", script );
this.Page.RegisterStartupScript("SkySword.WebControls.PowerDataGrid Init", "<script>makeScrollableTable('"+this.ID+"',true,'"+this.Height.Value.ToString()+"');</script>" );
}
}
请问上边这段代码中引用的资源文件是哪一个? 看了很久都没能搞懂,非常郁闷!
解决方案 »
- C#代码如何获得div的id
- 想转行,给点建议.散分
- 我想这样update数据,但不知道哪错了,没有update成功,
- 请问:想获取数据表字段内容?程序如下:....,后面的怎么写?
- 我做了一个TextBox登陆筐,输入字母和数字没有问题,可是输入汉字就会显示乱码或什么也不显示
- asp.net 加载 flash问题
- 在一个页面中News.aspx页面中如何实现,三个板块都自带分页的功能呢?
- MVC里面布局你们具体怎么整,求帮
- .net 如果将获取到的上下文环境——HttpContext原封不动的传递到另外一个地址?
- 帮帮我吧!
- 投票系统:我做了IP限制(一个IP只能投一次),可是我发现用户通过修改IP投票,(头痛)
- C#中,把SQL语句换成存储过程,不能调试通过!!! 急!!!快来帮忙!
ResourceSet resources = manager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, true, true);
这两句就是