嗨,我有一个用于文本框控件之一的日期时间选择器,请参见下面的代码
<script src="../client-scripts/date-picker.js" type="text/javascript">
"<td class="datafieldTBL" align="left">
<asp:TextBox ID="txtenddate" runat="server" Text='<%# Bind("EndDate")%>'></asp:TextBox>
onclick="javascript:displayDatePicker('<%=formViewUser.FindControl("txtenddate").ClientID %>');return false;"
</a>
</td>"
现在问题是从一个页面移动到另一个页面,其中使用了上面的代码,同时在上面的代码上第三次调试它实际上显示第二页之前抛出一个错误
“这是一个无效的网络资源请求”
“这是一个无效的网络资源请求。”} System.Web.HttpException:{“这是一个无效的网络资源请求。”} 数据:{System.Collections.ListDictionaryInternal} HelpLink:Nothing InnerException:Nothing 消息:“这是一个无效的网络资源要求。” 来源:“System.Web” StackTrace:“在 System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context) 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()在 System.Web.HttpApplication.ExecuteStep(IExecutionStep 步骤,Boolean& completedSynchronously)“目标站点:{System.Reflection.RuntimeMethodInfo}
不知道为什么这种情况只发生第三次
"<a href="#" onclick="javascript:displayDatePicker('<%=formViewUser.FindControl("txtenddate").ClientID %>');return false;">"
?
请帮忙!