question about isPostBack

topic posted Mon, October 29, 2007 - 2:28 AM by  Eira
I'm working on an application where a login is required (our classes with asp.net hasn't started yet so this project is a bit weird). when i send the information by pressing the button with a onclick event the information gets sent and the login is correct, _but_ to get back to page_load i need to send the infortmation once again and that makes me feel that i've been missing something. do i have to add something in the method for my button so the page loads again or should i just post all code to make some sense? ;)

in page_load:

if(isPostBack)
{
//some code
}
posted by:
Eira
Sweden

Recent topics in "ASP.net web development"

Topic Author Replies Last Post
graphics in asp Toby 0 August 9, 2008
Does anybody know? Grant 2 January 2, 2008
How to create asp.net pages dynamically? Grant 1 January 2, 2008
Need front end developer - CSS, Javascript, xhtml tristram 0 April 10, 2007
ASP.NET vikram 1 October 12, 2006