![]() |
Stopping post backs possible??
I would like to work in a grid, paging, calculations on a
dataset cached in viewstate, etc without posting back. Basically I would like to operate on the page without having to go back to the server for a response. I am thinking that could take out the "runat=server" declarations in HTML. WIll that work or is there a better way? Is there any way to do it? |
Re: Stopping post backs possible??
If you remove runat="server" you will just be rendering the literal text of
your controls, which the browser has no idea what to do with. If you want to do everything on the client, then you are going to have to roll your own functionality and take your actions using JavaScript instead of using the classes and events that the framework exposes. ASP.NET is VERY server-centric in its thinking, because that's where it has the most control over what happens. -- Chris Jackson Software Engineer Microsoft MVP - Windows Client Windows XP Associate Expert -- More people read the newsgroups than read my email. Reply to the newsgroup for a faster response. (Control-G using Outlook Express) -- "ALPO" <anonymous@discussions.microsoft.com> wrote in message news:05f201c3b046$5e252dc0$a001280a@phx.gbl... > I would like to work in a grid, paging, calculations on a > dataset cached in viewstate, etc without posting back. > Basically I would like to operate on the page without > having to go back to the server for a response. I am > thinking that could take out the "runat=server" > declarations in HTML. WIll that work or is there a better > way? Is there any way to do it? |
Re: Stopping post backs possible??
You can use webservices behaviours with some java coding client side to refresh
only a portion of your page. In this case, the section where you have your datagrid. Joao Cardoso (MVP dotNET) ================================================== ===== [LusoCoders]- http://groups.yahoo.com/group/lusocoders/ [PontoNetPT]- http://www.programando.net/regras.aspx jjscc@acinet.pt.n.o-s.p-a.m - www.acinet.pt ================================================== ===== |
| All times are GMT. The time now is 04:17 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.