最新评论
i surrender 2012-01-05 10:14
老师 您好 能请教个问题吗 谢谢你 我的QQ:936944308
tcone 2011-11-11 17:11
好文顶啦
[url=http://nvocc.cgfreight.cn][color=#FFFFFF]nvocc[/color][/url]
[url=http://bbs.weiphone.com/read-htm-tid-3195216.html][color=#FFFFFF]iphone4充电器和ipad1ipad2能通用吗数据线呢[/color][/url]
[url=http://hanguonvzhuang.blogcn.com/articles/%E9%A3%8E%E8%A1%A3%E7%9A%84%E9%AD%94%E5%8A%9B.html][color=#FFFFFF]风衣的魔力[/color][/url]
[url=http://hanguonvzhuang.blogcn.com/articles/%E6%98%9F%E6%98%9F%E7%9A%84%E6%95%85%E4%BA%8B.html][color=#FFFFFF]星星的故事[/color][/url]
[url=http://hanguonvzhuang.blogcn.com/articles/2011/09/page/2][color=#FFFFFF]2012春季欧美女星针织衫搭配[/color][/url]
nzwangjian 2011-08-24 18:25
[b]能给个源码给大家啊,我是初学者,看不懂啊!
我的邮箱:nzwangjian@126.com 请发一份给我。[/b]
帕特里克 2011-04-18 10:28
我也使用ModalPopupExtender来管理整个操作流程:点击申请,弹出文本框,文本框包含申请需填项,填写完成,点击弹出框的提交按钮,提交到数据库。
我为弹出框的提交按钮编写了Click事件的cs代码,但是每次点击就是无法提交数据到数据库,请问该怎么解决?
virus 2010-01-25 20:56
sl3+wcf进行数据库交互,在http://www.cnblogs.com/virusswb/archive/2010/01/25/1655748.html中描述的效果可以实现吗??
谢谢你的关注?
msn:jorden008@hotmail.com
要有好的心情 2009-03-17 17:20
to 大李:
在文章中前三步的基础上,这样应用:
1、页面上加两个 asp:TextBox,如下:
<tr>
<td>企业名称:</td><td><asp:TextBox ID="txtName" runat="server" CssClass="BigInput" autocomplete="off"></asp:TextBox><asp:HiddenField ID="txtNameId" runat="server" /></td>
<td>企业联系人:</td><td><asp:TextBox ID="txtContact" runat="server" CssClass="BigInput" autocomplete="off"></asp:TextBox><asp:HiddenField ID="txtContactId" runat="server" /></td>
</tr>
2、再加两个对应的AutoCompleteExtender
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoComplete3" ID="AutoCompleteExtender1" TargetControlID="txtName" ServicePath="~/CommonServices/SearchContact.asmx" ServiceMethod="GetEnterprises" />
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoCompleteDropDownList" ID="AutoCompleteExtender2" TargetControlID="txtContact" ServicePath="~/CommonServices/SearchContact.asmx" ServiceMethod="GetContacts" ContextControlID="txtNameId" />
3、皮肤文件中这样设置
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoCompleteDropDownList" MinimumPrefixLength="0" CompletionInterval="100" EnableCaching="true" CompletionSetCount="20" CompletionListCssClass="autocomplete_completionListElement" CompletionListItemCssClass="autocomplete_listItem" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" DelimiterCharacters=";,:" />
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoComplete3" MinimumPrefixLength="3" CompletionInterval="100" EnableCaching="true" CompletionSetCount="20" CompletionListCssClass="autocomplete_completionListElement" CompletionListItemCssClass="autocomplete_listItem" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" DelimiterCharacters=";, :" />
4、后台WebServices这样写:
[WebMethod]
public string[] GetEnterprises(string prefixText, int count)
{
return SiteUtil.GetEnterprises(prefixText, count);
}
[WebMethod]
public string[] GetContacts(string prefixText, int count, string context)
{
// 这里的context 就是enterpriseId。
return SiteUtil.GetContacts(prefixText, count, context);
}
在文章中前三步的基础上,这样应用:
1、页面上加两个 asp:TextBox,如下:
<tr>
<td>企业名称:</td><td><asp:TextBox ID="txtName" runat="server" CssClass="BigInput" autocomplete="off"></asp:TextBox><asp:HiddenField ID="txtNameId" runat="server" /></td>
<td>企业联系人:</td><td><asp:TextBox ID="txtContact" runat="server" CssClass="BigInput" autocomplete="off"></asp:TextBox><asp:HiddenField ID="txtContactId" runat="server" /></td>
</tr>
2、再加两个对应的AutoCompleteExtender
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoComplete3" ID="AutoCompleteExtender1" TargetControlID="txtName" ServicePath="~/CommonServices/SearchContact.asmx" ServiceMethod="GetEnterprises" />
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoCompleteDropDownList" ID="AutoCompleteExtender2" TargetControlID="txtContact" ServicePath="~/CommonServices/SearchContact.asmx" ServiceMethod="GetContacts" ContextControlID="txtNameId" />
3、皮肤文件中这样设置
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoCompleteDropDownList" MinimumPrefixLength="0" CompletionInterval="100" EnableCaching="true" CompletionSetCount="20" CompletionListCssClass="autocomplete_completionListElement" CompletionListItemCssClass="autocomplete_listItem" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" DelimiterCharacters=";,:" />
<ajaxToolkit:AutoCompleteExtender runat="server" SkinID="AutoComplete3" MinimumPrefixLength="3" CompletionInterval="100" EnableCaching="true" CompletionSetCount="20" CompletionListCssClass="autocomplete_completionListElement" CompletionListItemCssClass="autocomplete_listItem" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" DelimiterCharacters=";, :" />
4、后台WebServices这样写:
[WebMethod]
public string[] GetEnterprises(string prefixText, int count)
{
return SiteUtil.GetEnterprises(prefixText, count);
}
[WebMethod]
public string[] GetContacts(string prefixText, int count, string context)
{
// 这里的context 就是enterpriseId。
return SiteUtil.GetContacts(prefixText, count, context);
}
大李 2009-03-06 14:35
楼主能不能发个完整的例子给我呢,我写的webservice不能获取context值。
szlevin@hotmail.com,谢谢。
szlevin@hotmail.com,谢谢。
.Live 2009-02-04 21:29
很好,,,楼主能不能把完整的例子发给我一份,,谢谢了
xgluxv#hotmail.com
对asp.net ajax的客户端使用不是很明白,怎么能使用外部的js文件,而不用自动输出的资源
xgluxv#hotmail.com
对asp.net ajax的客户端使用不是很明白,怎么能使用外部的js文件,而不用自动输出的资源