Click here to Skip to main content
15,890,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: IE returns about:blank Pin
breen255-Jul-06 3:18
breen255-Jul-06 3:18 
Questionhow to open a modal dialog from clicking on a datagrid linkButton item Pin
JuJAngel4-Jul-06 4:47
JuJAngel4-Jul-06 4:47 
AnswerRe: how to open a modal dialog from clicking on a datagrid linkButton item Pin
minhpc_bk4-Jul-06 15:47
minhpc_bk4-Jul-06 15:47 
QuestionNeed Help : insert Row into ... Pin
elpens4-Jul-06 4:43
elpens4-Jul-06 4:43 
AnswerRe: Need Help : insert Row into ... Pin
Sushant Duggal4-Jul-06 18:48
Sushant Duggal4-Jul-06 18:48 
GeneralRe: Need Help : insert Row into ... Pin
elpens4-Jul-06 20:01
elpens4-Jul-06 20:01 
QuestionDynamic control issue driving me nuts Pin
andyk19674-Jul-06 4:21
andyk19674-Jul-06 4:21 
AnswerRe: Dynamic control issue driving me nuts Pin
minhpc_bk4-Jul-06 5:11
minhpc_bk4-Jul-06 5:11 
andyk1967 wrote:
My guess is that I just miss a tiny bit...


What you miss is the control life cycle, or more exactly the order of the events. You bind the datasource to the ListBox in the Page_Load event, and update the data base in the button Click event, and basically the Page_Load happens before the postback event such as the button's Click event. So the list does not reflect the updated data until you click the button again or call redirect in order for the data binding code to re-run. Here, in the buton click event handler, after you update database you simply run the code to bind the datasource to the LixtBox again to refresh the control.
QuestionHow to block the View Source Pin
venkatasivaramaprasad4-Jul-06 3:06
venkatasivaramaprasad4-Jul-06 3:06 
AnswerRe: How to block the View Source [modified] Pin
RichardGrimmer4-Jul-06 3:14
RichardGrimmer4-Jul-06 3:14 
GeneralRe: How to block the View Source Pin
venkatasivaramaprasad4-Jul-06 3:41
venkatasivaramaprasad4-Jul-06 3:41 
AnswerRe: How to block the View Source Pin
Jesse Squire4-Jul-06 4:35
Jesse Squire4-Jul-06 4:35 
Question"start the web server before proceding" Pin
ravikiranreddydharmannagari4-Jul-06 2:17
ravikiranreddydharmannagari4-Jul-06 2:17 
AnswerRe: "start the web server before proceding" Pin
Paddy Boyd4-Jul-06 2:18
Paddy Boyd4-Jul-06 2:18 
GeneralRe: "start the web server before proceding" Pin
Paddy Boyd4-Jul-06 2:19
Paddy Boyd4-Jul-06 2:19 
QuestionRe: "start the web server before proceding" Pin
ravikiranreddydharmannagari4-Jul-06 2:34
ravikiranreddydharmannagari4-Jul-06 2:34 
QuestionRe: "start the web server before proceding" Pin
ravikiranreddydharmannagari4-Jul-06 2:42
ravikiranreddydharmannagari4-Jul-06 2:42 
AnswerRe: "start the web server before proceding" Pin
Paddy Boyd4-Jul-06 5:34
Paddy Boyd4-Jul-06 5:34 
QuestionMessage Box using Java Script Pin
psmukil4-Jul-06 1:00
psmukil4-Jul-06 1:00 
AnswerRe: Message Box using Java Script Pin
Mircea Grelus4-Jul-06 1:30
Mircea Grelus4-Jul-06 1:30 
GeneralRe: Message Box using Java Script Pin
psmukil4-Jul-06 2:07
psmukil4-Jul-06 2:07 
GeneralRe: Message Box using Java Script Pin
Paddy Boyd4-Jul-06 2:22
Paddy Boyd4-Jul-06 2:22 
AnswerRe: Message Box using Java Script [modified] Pin
Guffa4-Jul-06 2:27
Guffa4-Jul-06 2:27 
GeneralRe: Message Box using Java Script Pin
Mircea Grelus4-Jul-06 2:34
Mircea Grelus4-Jul-06 2:34 
QuestionGOOGLE Pin
MHASSANF4-Jul-06 0:59
MHASSANF4-Jul-06 0:59 

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.