Click here to Skip to main content
15,919,479 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to Refresh ASPX page from Another ASPX PAGE Pin
ps_prakash0224-Aug-06 0:37
ps_prakash0224-Aug-06 0:37 
GeneralRe: How to Refresh ASPX page from Another ASPX PAGE Pin
Mike Ellison24-Aug-06 6:37
Mike Ellison24-Aug-06 6:37 
QuestionPassing Values between pages Pin
Tiger45622-Aug-06 4:33
Tiger45622-Aug-06 4:33 
AnswerRe: Passing Values between pages Pin
Suresh Pirsquare22-Aug-06 5:28
Suresh Pirsquare22-Aug-06 5:28 
AnswerRe: Passing Values between pages Pin
Ramasubramaniam22-Aug-06 5:29
Ramasubramaniam22-Aug-06 5:29 
QuestionTwo things. Pin
NaNg1524122-Aug-06 4:23
NaNg1524122-Aug-06 4:23 
AnswerRe: Two things. Pin
Guffa22-Aug-06 5:49
Guffa22-Aug-06 5:49 
AnswerRe: Two things. Pin
Mike Ellison22-Aug-06 6:30
Mike Ellison22-Aug-06 6:30 
Guffa's suggestions are terrific here. Just to add some perspective to your second question: keep in mind that the web is a stateless environment. Each postback to an .aspx page is in reality a separate request of the web server, so the server needs to construct a complete page in response each time.

When you declare controls, using syntax like <asp:Button runat="server".../>, you leave it up to the page parser to create the necessary Button object. And the page parser does just that, on each request, regardless of whether it was a first time request or a postback.

When you instantiate your own controls in code (like creating a Button), you're effectively taking on the responsibility that the page parser normally has under declarative circumstances. And like the page parser, it is up to you to recreate those controls on each request, regardless of whether or not the request is a postback.
QuestionGoogle, Robots.txt and SiteMaps Pin
Clickok22-Aug-06 3:42
Clickok22-Aug-06 3:42 
Questiondeleting multiple CheckBox in gridview Pin
Kartik Rathi22-Aug-06 2:45
Kartik Rathi22-Aug-06 2:45 
AnswerRe: deleting multiple CheckBox in gridview Pin
_AK_22-Aug-06 18:49
_AK_22-Aug-06 18:49 
QuestionProblem with User Control Pin
Amit Agarrwal22-Aug-06 2:05
Amit Agarrwal22-Aug-06 2:05 
QuestionModify browser url Pin
yogesh m22-Aug-06 0:54
yogesh m22-Aug-06 0:54 
AnswerRe: Modify browser url Pin
_AK_22-Aug-06 0:59
_AK_22-Aug-06 0:59 
GeneralRe: Modify browser url Pin
yogesh m22-Aug-06 1:09
yogesh m22-Aug-06 1:09 
GeneralRe: Modify browser url Pin
_AK_22-Aug-06 1:19
_AK_22-Aug-06 1:19 
GeneralRe: Modify browser url Pin
yogesh m22-Aug-06 2:30
yogesh m22-Aug-06 2:30 
GeneralRe: Modify browser url Pin
_AK_22-Aug-06 18:13
_AK_22-Aug-06 18:13 
GeneralRe: Modify browser url Pin
Amit Agarrwal22-Aug-06 2:47
Amit Agarrwal22-Aug-06 2:47 
AnswerRe: Modify browser url Pin
Navi1522-Aug-06 1:40
Navi1522-Aug-06 1:40 
QuestionHow to bind data in dataset instead of in database Pin
ypsyong22-Aug-06 0:39
ypsyong22-Aug-06 0:39 
AnswerRe: How to bind data in dataset instead of in database Pin
_AK_22-Aug-06 0:42
_AK_22-Aug-06 0:42 
GeneralRe: How to bind data in dataset instead of in database Pin
ypsyong22-Aug-06 3:24
ypsyong22-Aug-06 3:24 
QuestionSelected Item storage and display [modified] Pin
Dayekh22-Aug-06 0:32
Dayekh22-Aug-06 0:32 
GeneralRe: Selected Item storage and display Pin
_AK_22-Aug-06 0:36
_AK_22-Aug-06 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.