易截截图软件、单文件、免安装、纯绿色、仅160KB

AJAX中DragPanelExtender扩展控件


页面代码:
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
            <asp:Panel ID="Panel1" runat="server" Height="170px" Width="242px">
            <asp:Panel ID="Panel2" runat="server" Height ="18px">
            <div style="background-image:url(image/AjaxMenuBg2.gif);  background-repeat:repeat-x; color:White">我可以移动</div>
            </asp:Panel>
            <asp:TextBox ID="TextBox1" runat="server" Height="134px" Width="232px"></asp:TextBox></asp:Panel>
        <cc1:DragPanelExtender ID="DragPanelExtender1" runat="server"
        TargetControlID="Panel1"
         DragHandleID="Panel2"
        >
        </cc1:DragPanelExtender>
    </div>
<script type="text/javascript">
        function setBodyHeightToContentHeight() {
            document.body.style.height = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight)+"px";
        }
        setBodyHeightToContentHeight();
    &nbs


相关文档:

jQuery Ajax缓存问题

在使用jQuery 的Ajax加载数据是 如果使用get方式传递参数则存在一下问题
firefox下传递数据正常
ie下则会出现缓存问题
解决方法:
1、http://yourwebsite?parseInt(Math.random() * 1000) 在url后面加上一个随即数,这样每次发送的就不一样了,而且不影响你的功能.
2、使用post传递参数
......

Asp.net AJAX Web Service写法差异

在C#中
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Web.Script.Services;
using System.Collections.Generic;
using System.Collections;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.Ba ......

Ajax 和 XML: 五种常见 Ajax 模式

好久不碰WEB的东东了,最近学习SAP的BSP技术,又用到这些,顺便转篇文章,备查.
原文地址: http://www.ibm.com/developerworks/cn/xml/x-ajaxxml2/
Ajax 和 XML:

种常见 Ajax 模式
可立即使用这些非常有用的 Ajax 设计模式
文档选项
<tr valign="top"><td width="8">< ......

Ajax的post方法的使用

刚开始学Ajax,看到很多网上的代码都用Get方法提交参数,Tomcat默认ISO编码实在是让人头痛,对付乱码我都是用过滤器做字符编码过滤的,Get方法过滤器监听不到,所以我一直喜欢使用Post方法,下面对Ajax Get和Post方法做一对比
GET:
view plaincopy to clipboardprint?
<mce:script type="text/javascript"><!- ......

Asp.net AJAX Web Service调试

  刚学习ASP.NET AJAX开发,今天遇到一个奇怪的问题,可能是自己不熟的原因!!
在vs2005启动的时候,在asmx文件中,添加断点,启动调试能正常进入到调试页面,然后修改asmx页面以后,
重新启动调试,就不能正常进入到asmx文件中的断点,而且文件修改的地方,对于页面调用直接无效,显示效果始终是修改前的效果!! ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号