Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Button Click Event fired on second press?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Asaf - 08 Apr 2008 14:41 GMT
Hello,

I have a Default.aspx page with several controls in a Master Page.
When pressing on a Button control Page_Load event is fired on the
Default.aspx page and after that the Page_Load event on the Master Page is
fired but it does not go to the Button event in the first button press but
only on the second press on the button.

I can't find out why Button Click event is firing only on the second press
and not on the first press where there are not JavaScript involved from my
side and there are no application errors.

Thanks in advanced for any help,
Asaf
Asaf - 08 Apr 2008 16:38 GMT
Hi,

Problem solved.
One of the TextBoxes involved was on AutoPostBack = True.

Thanks,
Asaf

> Hello,
>
[quoted text clipped - 10 lines]
> Thanks in advanced for any help,
> Asaf

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.