Click here to Skip to main content
15,894,825 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionretrieving data through session id's? Pin
shankbond19-Jun-09 19:17
shankbond19-Jun-09 19:17 
AnswerRe: retrieving data through session id's? Pin
Christian Graus19-Jun-09 19:48
protectorChristian Graus19-Jun-09 19:48 
GeneralRe: retrieving data through session id's? Pin
shankbond20-Jun-09 1:55
shankbond20-Jun-09 1:55 
GeneralRe: retrieving data through session id's? Pin
Christian Graus20-Jun-09 12:44
protectorChristian Graus20-Jun-09 12:44 
GeneralRe: retrieving data through session id's? Pin
shankbond20-Jun-09 22:50
shankbond20-Jun-09 22:50 
QuestionDynamic Control Postback Issue Pin
Tyrone Watt19-Jun-09 9:04
Tyrone Watt19-Jun-09 9:04 
AnswerRe: Dynamic Control Postback Issue Pin
Christian Graus19-Jun-09 11:14
protectorChristian Graus19-Jun-09 11:14 
GeneralRe: Dynamic Control Postback Issue Pin
Tyrone Watt20-Jun-09 2:10
Tyrone Watt20-Jun-09 2:10 
Hi
Thanks for that.
I have no problem creating the controls in PageInit instead but either way that doesnt seem to be the case.

The click event fires correctly after the page load, and the viewstate is set correctly in the "onclick" event, but it is not set in the page_load. So somewhere between the page_load and the onclick the viewstate is set back. Problem is I need to do things based on that viewstate before the click event or regardless of whether a click event occurred at all.

With the second question, maybe i didnt phrase it correctly. What I need to know is which particular control fired the postback in the page_load. So if i have 6 user controls on a page and control 3 fired the postback. On the page_load for the page and all 6 controls is there a way to tell that it was control 3 that did the postback, or is a javascript hack with a hidden field the only way.

As the event fires in the correct control, surely the must be some means of knowing which control fired the postback rather than just knowing that a postback occurred from one of the 6 controls.

Thanks
GeneralRe: Dynamic Control Postback Issue Pin
Christian Graus20-Jun-09 12:46
protectorChristian Graus20-Jun-09 12:46 
GeneralRe: Dynamic Control Postback Issue Pin
Tyrone Watt21-Jun-09 21:22
Tyrone Watt21-Jun-09 21:22 
QuestionConvert datetime to date Pin
mahichandu19-Jun-09 8:56
mahichandu19-Jun-09 8:56 
AnswerRe: Convert datetime to date [modified] Pin
Manas Bhardwaj19-Jun-09 9:44
professionalManas Bhardwaj19-Jun-09 9:44 
QuestionRe: Convert datetime to date Pin
mahichandu22-Jun-09 11:49
mahichandu22-Jun-09 11:49 
QuestionGridview AJAX hovermenu problem Pin
Ridge Howison19-Jun-09 7:00
Ridge Howison19-Jun-09 7:00 
QuestionIIS wont serve up web pages Pin
dwolver19-Jun-09 5:26
dwolver19-Jun-09 5:26 
AnswerRe: IIS wont serve up web pages Pin
Abhijit Jana19-Jun-09 8:52
professionalAbhijit Jana19-Jun-09 8:52 
GeneralRe: IIS wont serve up web pages Pin
dwolver19-Jun-09 11:43
dwolver19-Jun-09 11:43 
QuestionASP.NET session synch with Legacy ASP 3.0 problem Pin
dew219-Jun-09 4:56
dew219-Jun-09 4:56 
AnswerRe: ASP.NET session synch with Legacy ASP 3.0 problem Pin
DoctorMick19-Jun-09 5:34
DoctorMick19-Jun-09 5:34 
GeneralRe: ASP.NET session synch with Legacy ASP 3.0 problem Pin
dew222-Jun-09 8:53
dew222-Jun-09 8:53 
QuestionCreate a page instance with controls? Pin
Lukaspojk19-Jun-09 4:27
Lukaspojk19-Jun-09 4:27 
AnswerRe: Create a page instance with controls? Pin
Abhishek Sur19-Jun-09 6:12
professionalAbhishek Sur19-Jun-09 6:12 
GeneralRe: Create a page instance with controls? Pin
Lukaspojk19-Jun-09 21:32
Lukaspojk19-Jun-09 21:32 
QuestionHow to get a selected Listbox Item? Pin
bnonym081519-Jun-09 2:56
bnonym081519-Jun-09 2:56 
AnswerRe: How to get a selected Listbox Item? Pin
5fingers19-Jun-09 3:02
5fingers19-Jun-09 3:02 

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.