登录页面问题;单击未触发的事件 [英] Login Page Problem; Click Events not fired

查看:65
本文介绍了登录页面问题;单击未触发的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我的登录页面上有一个非常奇怪的问题。几天前,Page工作正常,但是现在不会为控件生成回发事件。这个

登录页面使用基于表单的身份验证。


每当点击按钮时,都不会引发任何事件,事实上它甚至都没有发生

到page_load也是如此。事件已注册,代码没有问题,因为相同的代码在Windows XP机器上运行正常。给出问题的

机器是Windows 2000 Advanced服务器。


如果我强行将请求重定向到另一个页面,一切正常工作

完全适用于整个应用程序,除了这个login.aspx。


紧急,


提前感谢。


Amit Purohit

(MCAD.NET)




I have a very strange problem on my login Page. the Page was working fine a
few days back, but now does not generate post back events for controls. this
login page uses form based authentication.

Whenever the button is clicked, no event is raised, infact it doesnt even go
to the page_load as well. Events are registered and there is no problem with
the code because the same code is working fine on Windows XP machine. The
machine which is giving problem is Windows 2000 Advanced server.

If I redirect the request forcefully to another page, everything works
perfectly fine across application, except this login.aspx.

its urgent,

thanks in advance.

Amit Purohit
(MCAD.NET)



推荐答案

嗨Amit,


runat =" server"属性从你的asp:按钮服务器中删除

控制标签?祝好运! Ken。


-

Ken Dopierala Jr.

对于优秀的ASP.Net网站托管尝试:
< a rel =nofollowhref =http://www.webhost4life.com/default.asp?refid=Spinlighttarget =_ blank> http://www.webhost4life.com/default.asp?refid=Spinlight


" amit.purohit" <是********** @ rsystems.com>在消息中写道

news:%2 *************** @ TK2MSFTNGP11.phx.gbl ...
Hi Amit,

Did the runat="server" attribute get removed from your asp:button server
control tag? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"amit.purohit" <am**********@rsystems.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
hi,

我的登录页面上有一个非常奇怪的问题。几天前,Page的工作正常,
,但现在不会为控件生成回发事件。
此登录页面使用基于表单的身份验证。

每当单击该按钮时,不会引发任何事件,事实上它甚至不会
转到page_load。事件已注册,代码没有问题
,因为相同的代码在Windows XP机器上运行正常。给出问题的机器是Windows 2000 Advanced服务器。

如果我强行将请求重定向到另一个页面,那么除了这个login.aspx之外,一切都可以在应用程序中完美地运行。 。

紧急,

提前致谢。

Amit Purohit
(MCAD.NET)

>


I have a very strange problem on my login Page. the Page was working fine a few days back, but now does not generate post back events for controls. this login page uses form based authentication.

Whenever the button is clicked, no event is raised, infact it doesnt even go to the page_load as well. Events are registered and there is no problem with the code because the same code is working fine on Windows XP machine. The
machine which is giving problem is Windows 2000 Advanced server.

If I redirect the request forcefully to another page, everything works
perfectly fine across application, except this login.aspx.

its urgent,

thanks in advance.

Amit Purohit
(MCAD.NET)






没有runat服务器标签。

Ken Dopierala Jr. < KD ********* @ wi.rr.com>在消息中写道

news:uG ************** @ TK2MSFTNGP15.phx.gbl ...


no the runat server tag is there.
"Ken Dopierala Jr." <kd*********@wi.rr.com> wrote in message
news:uG**************@TK2MSFTNGP15.phx.gbl...
嗨Amit,

runat =" server"属性是否从你的asp:button服务器
控制标签中删除?祝好运! Ken。

- Ken Dopierala Jr.
对于伟大的ASP.Net网站托管尝试:
http://www.webhost4life.com/default.asp?refid=Spinlight

" amit.purohit" <是********** @ rsystems.com>在消息中写道
新闻:%2 *************** @ TK2MSFTNGP11.phx.gbl ...
Hi Amit,

Did the runat="server" attribute get removed from your asp:button server
control tag? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"amit.purohit" <am**********@rsystems.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
hi,
<我的登录页面上有一个非常奇怪的问题。几天前,Page正在工作
罚款


I have a very strange problem on my login Page. the Page was working fine
一个
,但现在不会为控件生成回发事件。这个
few days back, but now does not generate post back events for controls. this
登录页面使用基于表单的身份验证。

每当单击该按钮时,不会引发任何事件,事实上它不会
login page uses form based authentication.

Whenever the button is clicked, no event is raised, infact it doesnt



甚至也将


even go

转到page_load。事件已注册,没有问题
to the page_load as well. Events are registered and there is no problem


带有

代码,因为相同的代码在Windows XP机器上正常工作。
the code because the same code is working fine on Windows XP machine.


出现问题的机器是Windows 2000 Advanced服务器。

如果我将请求强制重定向到另一个页面,除了此登录之外,一切都可以在应用程序中完美地完成。 aspx。

紧急,

提前致谢。

Amit Purohit
(MCAD.NET)

/>


The machine which is giving problem is Windows 2000 Advanced server.

If I redirect the request forcefully to another page, everything works
perfectly fine across application, except this login.aspx.

its urgent,

thanks in advance.

Amit Purohit
(MCAD.NET)




嗯......在提交页面之前,您是否有任何验证的JavaScript?

如果没有看到任何代码或任何内容,我可以建议从项目中删除页面

,然后重新创建它。在具有相同名称的同一项目中创建另一个页面

的任何机会?也许在另一个

文件夹中?有时这会导致问题,尽管它通常会调试导致的问题。祝好运! Ken。


-

Ken Dopierala Jr.

对于优秀的ASP.Net网站托管尝试:
< a rel =nofollowhref =http://www.webhost4life.com/default.asp?refid=Spinlighttarget =_ blank> http://www.webhost4life.com/default.asp?refid=Spinlight


" amit.purohit" <是********** @ rsystems.com>在消息中写道

news:un ************** @ tk2msftngp13.phx.gbl ...
Hmmm...Do you have any javascript that validates before submitting the page?
Without seeing any code or anything all I can suggest is deleting the page
from your project and then recreate it. Any chance that another page was
created in the same project with the same name? Maybe in a different
folder? Sometimes that causes problems although it is usually debugging
problems that that causes. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"amit.purohit" <am**********@rsystems.com> wrote in message
news:un**************@tk2msftngp13.phx.gbl...
hi,

没有runat服务器标签。

" Ken Dopierala Jr." < KD ********* @ wi.rr.com>在消息中写道
新闻:uG ************** @ TK2MSFTNGP15.phx.gbl ...


no the runat server tag is there.
"Ken Dopierala Jr." <kd*********@wi.rr.com> wrote in message
news:uG**************@TK2MSFTNGP15.phx.gbl...
嗨Amit,

runat =" server"属性是否从你的asp:button服务器
控制标签中删除?祝好运! Ken。

- Ken Dopierala Jr.
对于伟大的ASP.Net网站托管尝试:
http://www.webhost4life.com/default.asp?refid=Spinlight

" amit.purohit" <是********** @ rsystems.com>在消息中写道
新闻:%2 *************** @ TK2MSFTNGP11.phx.gbl ...
Hi Amit,

Did the runat="server" attribute get removed from your asp:button server
control tag? Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"amit.purohit" <am**********@rsystems.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
hi,
<我的登录页面上有一个非常奇怪的问题。页面工作正常


I have a very strange problem on my login Page. the Page was working fine
a
几天前,但现在不会为


控件生成回发事件。这个

controls. this

登录页面使用基于表单的身份验证。

每当点击按钮时,都不会引发任何事件,事实上它甚至没有
login page uses form based authentication.

Whenever the button is clicked, no event is raised, infact it doesnt even
go
也适用于page_load。事件已注册,并且
to the page_load as well. Events are registered and there is no
代码没有



问题,因为相同的代码在Windows XP机器上运行正常。

the code because the same code is working fine on Windows XP machine.


给出问题的机器是Windows 2000 Advanced服务器。

如果我强行将请求重定向到另一个页面,一切正常工作
应用程序很好,除了这个login.aspx。

紧急,

提前谢谢。

Amit Purohit
(MCAD。 NET)


The machine which is giving problem is Windows 2000 Advanced server.

If I redirect the request forcefully to another page, everything works
perfectly fine across application, except this login.aspx.

its urgent,

thanks in advance.

Amit Purohit
(MCAD.NET)





这篇关于登录页面问题;单击未触发的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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