在日历扩展程序使用的位置全局设置自动完成功能
问题描述:
<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.