本周ASP.NET英文技术文章推荐[05/13 - 05/19]
2007-05-18 17:13
671 查看
摘要
本期共有3篇文章(太少了,就不放在首页了,呵呵。最近Silverlight风头正旺,ASP.NET廉颇老矣……):
ASP.NET"Futures"发布
UpdateControls1.2——UpdateIndicatorPanel控件的新功能
扩展ASP.NET2.0MembershipAPI
[1]
ASP.NET"Futures"前两天刚刚发布了五月份的CTP,其中不单单包含
[2]
<asp:Repeaterrunat="server"id="itemsList"DataSourceID="itemsDataSource">
[code]<ItemTemplate>
<nStuff:UpdateIndicatorPanelrunat="server"id="updateIndicator">
<!--regularitemcontent-->
</nStuff:UpdateIndicatorPanel>
</ItemTemplate>
</asp:Repeater>
[/code]
.csharpcode,.csharpcodepre
{
font-size:small;
color:black;
font-family:consolas,"CourierNew",courier,monospace;
background-color:#ffffff;
/*white-space:pre;*/
}
.csharpcodepre{margin:0em;}
.csharpcode.rem{color:#008000;}
.csharpcode.kwrd{color:#0000ff;}
.csharpcode.str{color:#006080;}
.csharpcode.op{color:#0000c0;}
.csharpcode.preproc{color:#cc6633;}
.csharpcode.asp{background-color:#ffff00;}
.csharpcode.html{color:#800000;}
.csharpcode.attr{color:#ff0000;}
.csharpcode.alt
{
background-color:#f4f4f4;
width:100%;
margin:0em;
}
.csharpcode.lnum{color:#606060;}
再配合这一小段代码即可:
protectedoverridevoidOnPreRenderComplete(EventArgse){
[code]base.OnPreRenderComplete(e);
if(!Page.IsPostBack){
return;
}
RepeaterItemlastItem=itemsList.Items[itemsList.Items.Count-1];
UpdateIndicatorupdateIndicator=(UpdateIndicator)lastItem.FindControl("updateIndicator");
updateIndicator.ShowUpdate(/*addHighlight*/true);
}
[/code]
[3]
ASP.NET2.0Membership在很多朋友眼中就是鸡肋一般的角色——似乎功能很强大,可是实际项目中却总有这样那样的变化,让我们不能直接拿来就用。
不过感觉不爽的主要原因其实是我们并不熟悉ASP.NET2.0的MembershipAPI。实际上MembershipAPI提供给我们开发者非常好的扩展性支持。我们完全可以在MembershipAPI之上,对其进行充分的定制后完美地与需求结合起来。
这篇很长的文章就详细介绍了扩展ASP.NET2.0MembershipAPI的方法,值得一读。
相关文章推荐
- 【收藏】本周ASP.NET英文技术文章推荐[05/13 - 05/19]
- 【收藏】本周ASP.NET英文技术文章推荐[04/29 - 05/05]
- 【收藏】本周ASP.NET英文技术文章推荐[11/19 - 11/25]
- 本周ASP.NET英文技术文章推荐[09/30- 07/13]:.NET Framework、JSON、Google Analytics、文件上传、GridView、IIS 7、Web开发
- 【收藏】本周ASP.NET英文技术文章推荐[03/23 - 04/05]:C#、Visual Studio、MVC、死锁、Web 2.0 API、jQuery、IIS7、FileUpload
- 本周ASP.NET英文技术文章推荐[03/23 - 04/05]:C#、Visual Studio、MVC、死锁、Web 2.0 API、jQuery、IIS7、FileUpload
- 【推荐】本周ASP.NET英文技术文章推荐[05/06 - 05/12]
- 本周ASP.NET英文技术文章推荐[05/06 - 05/12]
- 本周ASP.NET英文技术文章推荐[05/20 - 06/02]
- 本周ASP.NET英文技术文章推荐[04/29 - 05/05]
- [导入]本周ASP.NET英文技术文章推荐[03/23 - 04/05]:C#、Visual Studio、MVC、死锁、Web 2.0 API、jQuery、IIS7、FileUpload
- 本周ASP.NET英文技术文章推荐[11/19 - 11/25]
- 【收藏】本周ASP.NET英文技术文章推荐[09/30- 07/13]:.NET Framework、JSON、Google Analytics、文件上传、GridView、IIS 7、Web开发
- 【收藏】本周ASP.NET英文技术文章推荐[05/20 - 06/02]
- 【收藏】本周ASP.NET英文技术文章推荐[04/01 - 04/07]
- 本周ASP.NET英文技术文章推荐[04/15 - 04/21]
- 【收藏】本周ASP.NET英文技术文章推荐[02/25 - 03/03]
- 【收藏】本周ASP.NET英文技术文章推荐[03/11 - 03/17]
- 本周ASP.NET英文技术文章推荐[04/08 - 04/14](附赠自弹超级玛丽主题曲)
- 本周ASP.NET英文技术文章推荐[07/22 - 07/28]:VS 2008、.NET 3.5、IronRuby、jQuery、ASP.NET AJAX、IIS7