Home All Groups Group Topic Archive Search About

Regarding Server Controls

Author
10 Jun 2005 6:49 AM
anishsulakhe
I am currently a MCA Students and doing my Industry project. I have created a eCommerce Server on DOTnet in C# Language.The team member were 6, in which my contribution was creating User management.

After completing the Project, i came to know that the server controls that were provided by DOTNET, will always go to the server and perform the tasks, which might be precious and may also harm the system.

I want to know whether there is any other option to use server controls , so that it will not postback again . If i am using ispostback there it will run only once.
Please send the solution. -- anishsulakhe ------------------------------------------------------------------------ anishsulakhe's Profile: http://www.hightechtalks.com/member.php?userid=14 View this thread: http://www.hightechtalks.com/showthread.php?t=2157173

Author
10 Jun 2005 10:28 AM
John Timney (ASP.NET MVP)
you could store some form of indicator in vewstate that the page has been
posted back already, and the controls should not respond as if the page was
a new request.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmantainingstateincontrol.asp

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

Show quoteHide quote
"anishsulakhe" <anishsulakhe.1qe***@no-mx.forums.yourdomain.com.au> wrote in
message news:anishsulakhe.1qehy0@no-mx.forums.yourdomain.com.au...
>
> I am currently a MCA Students and doing my Industry project. I have
> created a eCommerce Server on DOTnet in C# Language.The team member
> were 6, in which my contribution was creating User management.
>
> After completing the Project, i came to know that the server controls
> that were provided by DOTNET, will always go to the server and perform
> the tasks, which might be precious and may also harm the system.
>
> I want to know whether there is any other option to use server controls
> , so that it will not postback again . If i am using ispostback there it
> will run only once.
> Please send the solution.
>
>
> --
> anishsulakhe
> ------------------------------------------------------------------------
> anishsulakhe's Profile: http://www.hightechtalks.com/member.php?userid=14
> View this thread: http://www.hightechtalks.com/showthread.php?t=2157173
>

Bookmark and Share