I want to know the difference between view state and control state.Also I need some demos for the following:
----composite controls and templated controls
----creating and managing cookies
---cached items dependency
and many more.Kindly help me on the above topics.Any help is welcome.
A new instance of the Web page class is created each time the page is posted to the server. In traditional Web programming, this would typically mean that all information associated with the page and the controls on the page would be lost with each round trip. For example, if a ...State Management How to???
hallo friends, i am developing an Online Test application -- in which each student logins and the page will be redirected to exam page...there will be question and 5 options..when the answer is selected and clicks next button next question will come..(If question is attempted the questionID and Option will be added to a AnswerString in DataBase)but if because of some reason that session is closed and then the candidate logs in he/she should start the exam frm the last attempted question...hw can i achieve that????each time the student attempts the question whether i have to updat...what is state management?
give me answer
how to use it?
which is mainly used to store the values of controls or varaibles in a web page.
you must look google for these types of questions.
msdn.microsoft.com/en-us/library/y5y3c2c5(VS.71).aspxGive a man a fish and you feed him for a day. Teach a man to fish and you feed him forever.
You can use below link for state management.
If this post helps you, please mark it as Answer.Gnana Prakash...how to manage states
one of my aspx page has calender controller and a gridview. when i select particular period on that calender my grid view data change. And there is a hyperlink fields in grid view. when i click on it it redirect to other page to edit that entry.
After edit that entry i want to return to my original page. and grid view's data and calender selection should remain same when i return to it.
i think this can be done by viewstate. if any one know pls let me know how to do this.
Thanks and regards
I have been trying (however unsuccessfully) to implement viewstate when
Hi I am learner, i need syntax of View State, session,query string and cookie. Please help me out in this. I am happy if you can provide the links of good tutorials of statemanagement.Thanks
Best Resource http://msdn.microsoft.com/en-us/library/75x4ha6s.aspx
Best Practices http://msdn.microsoft.com/en-us/library/z1hkazw7.aspx*** If this post helps you, then Mark this post as Answer ***
Here are the link to study all about Session state and session objects...
These link is for cookies...
I want to know is there any way to manage states (session and Applecation state) in WebServices...As we know If we create any class, for differet Object we can have different memory allocation so we can have multiple values in multiple objects.
Is this also true with web service ?
Because i always dispose of web services after ive finished with the method call i end up with unique records in the web service application state rather than in the session state as the session ends when i dispose of the web service.
Aside from that i believe (but would like someone to clarify) that th...State Management; .Net Profiler
Here is the situation with the customized profiler.
I got a profiler class called SSOProfileProvider inheriting from ProfileProvider. I've implemented the Initilization, GetPropertyValues and SetPropertyValues.
The Get... and Set.. are making a call to the database to store profile into the database.
This class has been stored in the separate DLL called "Security.DLL" and there is a web site that is using this dll. The web.Config for this website is as follow:<profile enabled="true" inherits="AppProfileBase" defaultProvider="SSO" automat...State Management
I thinking of using the portal to replace an existing application created using webclasses which was created in vb 6 but one of the issues the current application has is state managment. After reading the current documentation on state management for .NET I think that having state stored on the sql server would be best for our organization but I would like to know if anyone has used the portal for a large number of user.
Our intended user community is growinig from hundreds to the thousands who will be using the given application continously throughout the day and we are worried about ...What is state management?
What is state management?Ashok kumar
check this Microsoft Documentation: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspstatemanagement.aspcheers,erikErik van Ballegoij, The Netherlands
HTTP is a stateless protocol so to do what you do in a Windows application you have to use Session state andthere are several ways of doing it. If you write C# take a look at Coding Strategies of the Asp.net team by Rob Howard et al ,the people who runs this site and Programming .NET by Jeff Prosise. Try these links for more info. Hope this he...State Management
I'm reading about state management for controls, and how you can retain state by implementing code in the LoadControlState and SaveControlState methods. I was wondering if this functionality is superceding the IStateManager interface's functionality for controls? Or if different, what will be the difference in 2.0?
BrianBrian"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
The control-state is different from view-state in the control. Ho...State Management
viewSecs = (secsRemain < 10) ? viewSecs = "0" + secsRemain : viewSecs = secsRemain;
viewMins = (minsRemain < 10) ? viewMins = "0" + minsRemain : viewMins = minsRemain;
viewHrs = (hrsRemain < 10) ? viewHrs = "0" + hrsRemain : viewHrs = hrsRemain;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
problem here = viewTime
<form id="Form1" method="post" runat="server">
&...What is managed and un managed code in .net 2.0
what is the differnce between Managed and un Managed code in .net 2.0
can any body suggest me the article regarding use of Interfaces in .net 2.0
Rameezwaheedlife is name of learning!Mark as an answer if it helps
Check out this link
Thanks,santosh_maharajaPlease mark as answer if you got expected solution.
Hi, The code can be executed by .net CLR is Managed Code, code which can't be are unmanaged code Refer...Managed / UnManage...Managing Users over .NET Management Website on different PCs
Hi,we are using Wed Developer Express 2005 on one PC to develop our website. The user and role management we are doing over the .NET website.No we hae installed Web Developer Express 2008 on another PC and also the other user should be able to manage the users and roles. But we always get a connection error to the Rsa provider.Can you please give me an idea what to do? Greetz, Chris
You dont tell us how you are running the site is it on a local iis or a hosted server and the same with the sql database?
I take it that each machine has the website loaded in vwd and then you are u...rogue process management management
call for thoughts & opinions about pros/cons of using rpm as a
'whitelist' to allow only authorized apps as opposed to a 'blacklist'
to snuff undesirables....
seems the whitelist way would be manageable. and desirable as you
don't have to worry about missing bad apps or adding the new ones that
crawl out from under rocks and get onto your network?
we are a k12 school system and i reckon we could fairly easily build
up that whitelist to the point where we only occasionally add apps as
but sounds like most folks go the other way and maintain a bl...