Click here to Skip to main content
15,851,387 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem in dublicates Pin
Srigurusankar15-Jun-08 19:00
Srigurusankar15-Jun-08 19:00 
Questiontree structure Pin
ChinaTJBoy15-Jun-08 18:59
ChinaTJBoy15-Jun-08 18:59 
AnswerRe: tr Pin
JimBob SquarePants15-Jun-08 19:24
JimBob SquarePants15-Jun-08 19:24 
AnswerRe: tree structure Pin
Ravi Sant3-May-11 1:32
Ravi Sant3-May-11 1:32 
Questionupdate program variable from client side javascript Pin
JimmyRopes15-Jun-08 17:25
professionalJimmyRopes15-Jun-08 17:25 
AnswerRe: update program variable from client side javascript Pin
Christian Graus15-Jun-08 17:37
protectorChristian Graus15-Jun-08 17:37 
GeneralRe: update program variable from client side javascript Pin
JimmyRopes16-Jun-08 11:41
professionalJimmyRopes16-Jun-08 11:41 
QuestionVS2003 ASP.Net 1.1 Designer Error Pin
Crow-knee15-Jun-08 16:41
Crow-knee15-Jun-08 16: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 10:27
Member 340288615-Jun-08 10:27 
AnswerRe: TreeView control - Tree Node data bindings are empty!! Pin
Christian Graus15-Jun-08 10:49
protectorChristian Graus15-Jun-08 10:49 
QuestionERROR [42S22] [Microsoft][ODBC Visual FoxPro Driver]SQL: Column 'columnname' is not found. Pin
amistry_petlad15-Jun-08 7:09
amistry_petlad15-Jun-08 7:09 
Questionproblem in refreshing the page with time interval Pin
vijaylumar15-Jun-08 3:39
vijaylumar15-Jun-08 3:39 
AnswerRe: problem in refreshing the page with time interval Pin
Christian Graus15-Jun-08 3:40
protectorChristian Graus15-Jun-08 3:40 
Questionprint ing in asp.net 2.0 Pin
vijaylumar15-Jun-08 3:13
vijaylumar15-Jun-08 3:13 
Answer[Duplicate]Re: print ing in asp.net 2.0 Pin
Scott Dorman15-Jun-08 3:20
professionalScott Dorman15-Jun-08 3:20 
Questionprinting in asp.net 2.0 Pin
vijaylumar15-Jun-08 3:11
vijaylumar15-Jun-08 3:11 
AnswerRe: printing in asp.net 2.0 Pin
Scott Dorman15-Jun-08 3:22
professionalScott Dorman15-Jun-08 3:22 
Questioncode in c# for pageindexchanged in detailsview Pin
senpriya15-Jun-08 1:29
senpriya15-Jun-08 1:29 
AnswerRe: code in c# for pageindexchanged in detailsview Pin
Parwej Ahamad15-Jun-08 1:51
professionalParwej Ahamad15-Jun-08 1:51 
QuestionWeb.config problem Pin
jason_mf14-Jun-08 22:00
jason_mf14-Jun-08 22:00 
QuestionValidate email duplication during membership registration Pin
Albert8314-Jun-08 20:59
Albert8314-Jun-08 20:59 
AnswerRe: Validate email duplication during membership registration Pin
Gayani Devapriya15-Jun-08 19:10
Gayani Devapriya15-Jun-08 19:10 
GeneralRe: Validate email duplication during membership registration Pin
Albert8315-Jun-08 21:30
Albert8315-Jun-08 21:30 
Questionhow to search multiple string in database Pin
ph4ufree14-Jun-08 8:13
ph4ufree14-Jun-08 8:13 
AnswerRe: how to search multiple string in database Pin
Christian Graus14-Jun-08 9:40
protectorChristian Graus14-Jun-08 9: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.