在日历扩展程序使用的位置全局设置自动完成功能 [英] Set autocomplete off globally where calendar extender use

查看:106
本文介绍了在日历扩展程序使用的位置全局设置自动完成功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<asp:TextBox ID="txtFromDate" runat="server" CssClass="textbox" AutoComplete="off"></asp:TextBox>
<cc1:CalendarExtender ID="calFromDate" CssClass="CalenderSizeWidth" TargetControlID="txtFromDate" Format="dd/MM/yyyy"
PopupButtonID="EventStartDate" runat="server">
</cc1:CalendarExtender>
 
I have too many pages to set auto complete off setting to do how can i set it gobally where only use calendar extender 
 
Provide single way to do  





我的尝试:





What I have tried:

<pre><asp:TextBox ID="txtFromDate" runat="server" CssClass="textbox" AutoComplete="off"></asp:TextBox>
<cc1:CalendarExtender ID="calFromDate" CssClass="CalenderSizeWidth" TargetControlID="txtFromDate" Format="dd/MM/yyyy"
PopupButtonID="EventStartDate" runat="server">
</cc1:CalendarExtender>





i不知道该怎么办





i don't know how to do

I have too many pages to set auto complete off setting to do how can i set it gobally where only use calendar extender 
 
Provide single way to do  

推荐答案

Visual Studio可以使用正则表达式(RegEx)进行搜索和替换。 Google:Visual Studio RegEx搜索和替换 [ ^ ]



您只需要提供正则表达式字符串以匹配您想要更改的语法和替换字符串。 Google:正则表达式 [ ^ ]



警告!这并不简单,如果你不是很小心并提前测试你的表达,你可以改变你不想改变的代码和/或做出不正确的改变。



手工操作可能更准确。
Visual Studio can use regular expressions (RegEx) to do search and replace. Google: Visual Studio RegEx search and replace[^]

You just have to come up with the regex strings to match the syntax you want to change and the replacement string. Google: regular expressions[^]

WARNING! This is NOT simple and if you're not very careful and test your expressions THOROUGHLY ahead of time, you can change code you didn't intend to change and/or make the incorrect changes.

Doing it by hand may be more accurate.


这篇关于在日历扩展程序使用的位置全局设置自动完成功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆