Click here to Skip to main content
15,884,177 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: check name allready exist or not Pin
Brij5-Sep-09 2:08
mentorBrij5-Sep-09 2:08 
QuestionJavascript code for check duplicate username [modified] Pin
rummer4-Sep-09 22:31
rummer4-Sep-09 22:31 
AnswerRe: Javascript code for check duplicate username Pin
Abhijit Jana4-Sep-09 22:48
professionalAbhijit Jana4-Sep-09 22:48 
AnswerRe: Javascript code for check duplicate username Pin
Manas Bhardwaj5-Sep-09 0:41
professionalManas Bhardwaj5-Sep-09 0:41 
Questionmenuitems Pin
mylogics4-Sep-09 22:07
professionalmylogics4-Sep-09 22:07 
AnswerRe: menuitems Pin
Abhijit Jana4-Sep-09 22:16
professionalAbhijit Jana4-Sep-09 22:16 
AnswerRe: menuitems Pin
tagyurit5-Sep-09 3:55
tagyurit5-Sep-09 3:55 
QuestionQuestion About Storing Objects in the Session Variable Pin
MarkMokris4-Sep-09 12:56
MarkMokris4-Sep-09 12:56 
In an ASP.NET C# application, I have a class called "MyPanel" derived from Panel. MyPanel contains a Button with a Click event. The click event is handled in the MyPanel class.

When I store any MyPanel objects in the Session variable and retrieve them on a postback, the Click events seem to disappear. When the user clicks a Button inside the MyPanel object, a postback happens, but the click events don't get executed. I have to "relink" the click handlers when I retrieve the MyPanel objects from Session.

I am using InProc Session mode. I had though I could store even complex objects in the Session variable. But I lose the events in the objects.

Is this explainable?

Thanks,

Mark
AnswerRe: Question About Storing Objects in the Session Variable Pin
Christian Graus4-Sep-09 13:14
protectorChristian Graus4-Sep-09 13:14 
AnswerRe: Question About Storing Objects in the Session Variable Pin
tagyurit4-Sep-09 16:52
tagyurit4-Sep-09 16:52 
GeneralRe: Question About Storing Objects in the Session Variable Pin
MarkMokris5-Sep-09 2:45
MarkMokris5-Sep-09 2:45 
GeneralRe: Question About Storing Objects in the Session Variable Pin
tagyurit5-Sep-09 3:53
tagyurit5-Sep-09 3:53 
GeneralRe: Question About Storing Objects in the Session Variable Pin
MarkMokris6-Sep-09 3:36
MarkMokris6-Sep-09 3:36 
Questiongridview buttons and client side scripting Pin
compninja254-Sep-09 9:28
compninja254-Sep-09 9:28 
AnswerRe: gridview buttons and client side scripting Pin
Abhishek Sur4-Sep-09 9:48
professionalAbhishek Sur4-Sep-09 9:48 
GeneralRe: gridview buttons and client side scripting Pin
compninja254-Sep-09 9:50
compninja254-Sep-09 9:50 
GeneralRe: gridview buttons and client side scripting Pin
Abhishek Sur4-Sep-09 11:16
professionalAbhishek Sur4-Sep-09 11:16 
GeneralRe: gridview buttons and client side scripting Pin
compninja258-Sep-09 3:29
compninja258-Sep-09 3:29 
GeneralRe: gridview buttons and client side scripting Pin
Abhishek Sur8-Sep-09 10:59
professionalAbhishek Sur8-Sep-09 10:59 
GeneralRe: gridview buttons and client side scripting Pin
compninja259-Sep-09 10:19
compninja259-Sep-09 10:19 
GeneralRe: gridview buttons and client side scripting Pin
Abhishek Sur10-Sep-09 0:39
professionalAbhishek Sur10-Sep-09 0:39 
GeneralRe: gridview buttons and client side scripting Pin
compninja2510-Sep-09 2:51
compninja2510-Sep-09 2:51 
QuestionDocument elements have no IDs Pin
Lonnie Raffray4-Sep-09 8:04
Lonnie Raffray4-Sep-09 8:04 
AnswerRe: Document elements have no IDs Pin
Abhishek Sur4-Sep-09 9:35
professionalAbhishek Sur4-Sep-09 9:35 
GeneralRe: Document elements have no IDs Pin
Lonnie Raffray4-Sep-09 9:37
Lonnie Raffray4-Sep-09 9:37 

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.