当前注册人数423000人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Javascript and AJAX solution for inline edit in GridView

使用ASP.NET AJAX和Web Services实现编辑Excel表格一样编辑网页中的GridView表格

2008年05月06日
JScript, XML, HTML, Windows, .NET, .NET 2.0, Ajax, Visual Studio, ASP.NET, Dev, Design
人们都非常希望能像在Excel上一样操作网页上的表格控件,这个程序就是实现并展示如何使用一个已经开发好的IEC (Inline Edit Controller)控件。 它的额外的功能有: 1. 支持AJAX,只是部分回传数据 2. 不会使用View State 3. 和操作Excel一样快 4. 你可以在ASP, ASP.NET, PHP, JSP等多种环境下使用这个控件。 5. 支持多种浏览器 6. 很容易扩展 7. 很简单的就能集成到现有项目中。
相关知识

<asp:GridView CellPadding="0" CellSpacing="0" Width="1px" GridLines="none" runat="server" AllowSorting="false" AutoGenerateColumns="false" ID="uxOrders">
  <asp:TemplateField>
       <ItemTemplate>
            <span runat="server" style="white-space: nowrap" class="inlineEditIcon" inlineeditattribute="true" rowid='<%# Eval("OrderID")%>'>
              <img runat="server" action="edit" title="Inline Edit" src="~/img/edit.gif" />
              <img runat="server" style="display: none" action="save" title="Save" src="~/img/save.gif" />
              <img runat="server" style="display: none" action="cancel" title="Cancel" src="~/img/cancel.gif" />
          </span>
     </ItemTemplate>
</asp:TemplateField>

源代码原文下载:
Light Speed Inline Editing Using ASP.NET AJAX and Web Services. Part I. javascript+AJAX solution for inline edititng in grid.

源码图片

点击链接查看大图
从本站下载附件及源代码(1个附件,已经成功下载1383次)

最值得关注的外文源代码

Prototype Window
Sample Application to Integrate Silverlight and ASP.NET AJAX
DataGrid with built-in filter functionality
How to read MS Excel 2007 using a connection string in C#
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论115次,此处显示最近20次评论! 查看所有评论

yndxstxy2010jrsx  2014年08月31日
kankana
dos_119  2014年04月13日
挺好的
dos_119  2014年04月13日
先看看
spring88  2013年09月27日
先看看
wxx0713  2012年10月26日
vber  2012年10月26日
看看
longwu  2012年07月24日
很好
小火柴  2012年03月26日
正在找这样的资源呢,非常谢谢
thinkcode  2012年03月01日
真需要呢。
AAA  2012年02月14日
太好了,谢谢
cx4359481  2012年01月15日
谢谢分享
zolo  2012年01月09日
这个实现了,应该可以替换WinForm的Grid了吧!?
1401897782  2011年11月23日
谢谢
yi_peng2000  2011年10月31日
有一定参考价值。
yhqcn  2011年10月25日
编辑Excel表格一样编辑网页中的GridView表格
fanmit  2011年09月11日
有一定参考价值。
yhnc  2011年04月29日
学习
zensst  2011年04月03日
分享是一种快乐
bellwang  2010年12月22日
先下载看看,谢谢。
天罡北斗  2010年05月05日
下不了啊
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明