Click here to Skip to main content
15,949,686 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem in dublicates Pin
Srigurusankar15-Jun-08 18:00
Srigurusankar15-Jun-08 18:00 
Questiontree structure Pin
ChinaTJBoy15-Jun-08 17:59
ChinaTJBoy15-Jun-08 17:59 
AnswerRe: tr Pin
JimBob SquarePants15-Jun-08 18:24
JimBob SquarePants15-Jun-08 18:24 
AnswerRe: tree structure Pin
Ravi Sant3-May-11 0:32
Ravi Sant3-May-11 0:32 
Questionupdate program variable from client side javascript Pin
JimmyRopes15-Jun-08 16:25
professionalJimmyRopes15-Jun-08 16:25 
AnswerRe: update program variable from client side javascript Pin
Christian Graus15-Jun-08 16:37
protectorChristian Graus15-Jun-08 16:37 
GeneralRe: update program variable from client side javascript Pin
JimmyRopes16-Jun-08 10:41
professionalJimmyRopes16-Jun-08 10:41 
QuestionVS2003 ASP.Net 1.1 Designer Error Pin
Crow-knee15-Jun-08 15:41
Crow-knee15-Jun-08 15:41 
Hi All,
I am having an issue with a usercontrol that inherits from a class that uses the Session reference. The error I get is :
Code generation for property 'oIncToSave' failed. Error was: 'Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive'
The code for the property in the inherited class (which also inherits a class which is derived from System.Web.UI.UserControl) is :
public IncDetail oIncToSave
		{
			get 
			{
				if (Session["IncToSave"] == null) 
					return new IncDetail();
				else
					return (IncDetail)Session["IncToSave"];
			}
			set 
			{
				Session["IncToSave"] = value;
			}
		}

The error appears each time I make a change to the file (code behind or HTML) and save and/or compile. I can still compile and run the program, but must do it twice (once that gets the error and once to debug), so I would like to know how to get around this. I have other pages that use the same classes without the error.
Thanks for any advice.
Steele.
QuestionTreeView control - Tree Node data bindings are empty!! Pin
Member 340288615-Jun-08 9:27
Member 340288615-Jun-08 9:27 
AnswerRe: TreeView control - Tree Node data bindings are empty!! Pin
Christian Graus15-Jun-08 9:49
protectorChristian Graus15-Jun-08 9:49 
QuestionERROR [42S22] [Microsoft][ODBC Visual FoxPro Driver]SQL: Column 'columnname' is not found. Pin
amistry_petlad15-Jun-08 6:09
amistry_petlad15-Jun-08 6:09 
Questionproblem in refreshing the page with time interval Pin
vijaylumar15-Jun-08 2:39
vijaylumar15-Jun-08 2:39 
AnswerRe: problem in refreshing the page with time interval Pin
Christian Graus15-Jun-08 2:40
protectorChristian Graus15-Jun-08 2:40 
Questionprint ing in asp.net 2.0 Pin
vijaylumar15-Jun-08 2:13
vijaylumar15-Jun-08 2:13 
Answer[Duplicate]Re: print ing in asp.net 2.0 Pin
Scott Dorman15-Jun-08 2:20
professionalScott Dorman15-Jun-08 2:20 
Questionprinting in asp.net 2.0 Pin
vijaylumar15-Jun-08 2:11
vijaylumar15-Jun-08 2:11 
AnswerRe: printing in asp.net 2.0 Pin
Scott Dorman15-Jun-08 2:22
professionalScott Dorman15-Jun-08 2:22 
Questioncode in c# for pageindexchanged in detailsview Pin
senpriya15-Jun-08 0:29
senpriya15-Jun-08 0:29 
AnswerRe: code in c# for pageindexchanged in detailsview Pin
Parwej Ahamad15-Jun-08 0:51
professionalParwej Ahamad15-Jun-08 0:51 
QuestionWeb.config problem Pin
jason_mf14-Jun-08 21:00
jason_mf14-Jun-08 21:00 
QuestionValidate email duplication during membership registration Pin
Albert8314-Jun-08 19:59
Albert8314-Jun-08 19:59 
AnswerRe: Validate email duplication during membership registration Pin
Gayani Devapriya15-Jun-08 18:10
Gayani Devapriya15-Jun-08 18:10 
GeneralRe: Validate email duplication during membership registration Pin
Albert8315-Jun-08 20:30
Albert8315-Jun-08 20:30 
Questionhow to search multiple string in database Pin
ph4ufree14-Jun-08 7:13
ph4ufree14-Jun-08 7:13 
AnswerRe: how to search multiple string in database Pin
Christian Graus14-Jun-08 8:40
protectorChristian Graus14-Jun-08 8:40 

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.