RadAsyncUpload
2012年7月30日 星期一
RadAsyncUpload
http://demos.telerik.com/aspnet-ajax/asyncupload/examples/overview/defaultcs.aspx?product=asyncupload
RadAsyncUpload
RadAsyncUpload
gridview分页变成上一页,下一页模式
http://space.itpub.net/12639172/viewspace-539614
在pageTemplate 分页模板列中可以增加如下代码 就做到了 利用gridview自带分页,转换一种方式的分页哦!
<PagerTemplate>
<table align="right" bgcolor="#e9e9e9" width="100%">
<tr>
<td style="text-align: right">
第<b><asp:Label ID="lblPageIndex" runat="server" Text="<%#((GridView)Container.Parent.Parent).PageIndex + 1 %>"></asp:Label></b>页
共<b><asp:Label ID="lblPageCount" runat="server" Text="<%# ((GridView)Container.Parent.Parent).PageCount %>"></asp:Label></b>页
<asp:LinkButton ID="btnFirst" runat="server" CausesValidation="False" CommandArgument="First"
CommandName="Page" Enabled="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>"
Text="首页"></asp:LinkButton>
<asp:LinkButton ID="btnPrev" runat="server" CausesValidation="False" CommandArgument="Prev"
CommandName="Page" Enabled=" <%# ((GridView)Container.NamingContainer).PageIndex != 0 %>"
Text="上一页"></asp:LinkButton>
<asp:LinkButton ID="btnNext" runat="server" CausesValidation="False" CommandArgument="Next"
CommandName="Page" Enabled=" <%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>"
Text="下一页"></asp:LinkButton>
<asp:LinkButton ID="btnLast" runat="server" CausesValidation="False" CommandArgument="Last"
CommandName="Page" Enabled=" <%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>"
Text="尾页"></asp:LinkButton>
<asp:TextBox ID="txtNewPageIndex" runat="server" Text="<%# ((GridView)Container.Parent.Parent).PageIndex + 1%>"
Width="20px"></asp:TextBox>
<asp:LinkButton ID="btnGo" runat="server" CausesValidation="false" CommandArgument="-1"
CommandName="Page" Text="GO"></asp:LinkButton>
</td>
</tr>
</table>
</PagerTemplate>
超重要之取得 GridView「總筆數」的正確寫法
http://blog.xuite.net/j2ee/code/17098738
<table align="right" bgcolor="#e9e9e9" width="100%">
<tr>
<td style="text-align: right">
第<b><asp:Label ID="lblPageIndex" runat="server" Text="<%#((GridView)Container.Parent.Parent).PageIndex + 1 %>"></asp:Label></b>页
共<b><asp:Label ID="lblPageCount" runat="server" Text="<%# ((GridView)Container.Parent.Parent).PageCount %>"></asp:Label></b>页
<asp:LinkButton ID="btnFirst" runat="server" CausesValidation="False" CommandArgument="First"
CommandName="Page" Enabled="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>"
Text="首页"></asp:LinkButton>
<asp:LinkButton ID="btnPrev" runat="server" CausesValidation="False" CommandArgument="Prev"
CommandName="Page" Enabled=" <%# ((GridView)Container.NamingContainer).PageIndex != 0 %>"
Text="上一页"></asp:LinkButton>
<asp:LinkButton ID="btnNext" runat="server" CausesValidation="False" CommandArgument="Next"
CommandName="Page" Enabled=" <%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>"
Text="下一页"></asp:LinkButton>
<asp:LinkButton ID="btnLast" runat="server" CausesValidation="False" CommandArgument="Last"
CommandName="Page" Enabled=" <%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>"
Text="尾页"></asp:LinkButton>
<asp:TextBox ID="txtNewPageIndex" runat="server" Text="<%# ((GridView)Container.Parent.Parent).PageIndex + 1%>"
Width="20px"></asp:TextBox>
<asp:LinkButton ID="btnGo" runat="server" CausesValidation="false" CommandArgument="-1"
CommandName="Page" Text="GO"></asp:LinkButton>
</td>
</tr>
</table>
</PagerTemplate>
超重要之取得 GridView「總筆數」的正確寫法
http://blog.xuite.net/j2ee/code/17098738
2012年7月27日 星期五
一个漂亮的ASP.NET仿OUTLOOK 折叠菜单
内容索引:.NET源码,Ajax相关,菜单,Ajax
ASP.NET仿OUTLOOK BAR折叠菜单,看上去挺漂亮,支持多国语言,使用到了AjaxControlToolkit.dll,用在ASP.NET项目的后台管理比较适合,鼠标点击后展开二级菜单项。
ASP.NET仿OUTLOOK BAR折叠菜单,看上去挺漂亮,支持多国语言,使用到了AjaxControlToolkit.dll,用在ASP.NET项目的后台管理比较适合,鼠标点击后展开二级菜单项。
2012年7月26日 星期四
乘风asp.net探针 v1.1
有些空间商的空间看起来用一些asp.net探针运行正常,其实只是验证了asp.net对空间的读取权限,asp.net的写入权限可能没有的,这样差不多所有使用的Access数据库的asp.net程序用不了,也生成不了静态页面。。用这个探针测试读取和写入权限都正常的话,基本这个空间才可以正常使用。
乘风asp.net探针 V1.1版本推出,加入功能:常用组件探测,自定义组件探测,浏览者客户端信息探测
搜客来一虚拟主机绑多个域名 v2008 1.0
http://down.admin5.com/net/1589.html
欢迎使用搜客来 一虚拟主机绑定多网站程序
当前版本:V2008 1.0
本版本可以绑定无限个域名到一个虚拟主机
使用方法:
1、绑定IP到主机
2、在主机上绑定好IP
3、对Web.config文件进行下面示例的设置就可以了
下面的示例将告诉您绑定两个域名的方法:
其中每行key的值为域名中间的字母,如sokelai.cn则值应该为“sokelai” ,value的值为该域名将要转向的地址,依此设置就可以了。
欢迎使用搜客来 一虚拟主机绑定多网站程序
当前版本:V2008 1.0
本版本可以绑定无限个域名到一个虚拟主机
使用方法:
1、绑定IP到主机
2、在主机上绑定好IP
3、对Web.config文件进行下面示例的设置就可以了
下面的示例将告诉您绑定两个域名的方法:
其中每行key的值为域名中间的字母,如sokelai.cn则值应该为“sokelai” ,value的值为该域名将要转向的地址,依此设置就可以了。
訂閱:
文章 (Atom)