On Jun 5, 2008, at 9:34 AM, Chatchai Neanudorn wrote:
> themplatetag + django session (or caching), you can maintain state of > variable. > > I have a change to look at ASP.NET. For my understanding, it > automatically > generate > Javascript for developer, good if dont want to deal with javascript, > for me > it is bad idea. > > ViewState, it keep state data in memory (or somewhere) to maintain > the data to maintain the data. > > For your question, Why don't you try opensource javascript > framework and > use > django session. > > Django session http://www.djangoproject.com/documentation/sessions/ > For Javascript, see above. The jQuery Grid View plugin may help if you go this route: http://plugins.jquery.com/project/jqGridView > Regards, > > For Django, you can do wantever you want, with your way. > > Regards > > Chatchai > 2008/6/5 Brian Victor <[EMAIL PROTECTED]>: > >> >> Ian wrote: >>> I have started looking at Django and was wondering if there is a >>> widget equivalent to ASP.Net's GridView in terms of richness of >>> functionality. >> >> I haven't seen anything like this implemented in django, and >> presumably >> the reason for that is django lacks anything like ASP.NET<http://asp.net/ >> >'s >> ViewState. >> It's easy enough to make a table with templates, but it's not easy to >> make a "control" within a page maintain its state like you can in >> ASP.NET <http://asp.net/>. >> >> In my experience, though, you don't *really* need it that often. The >> ViewState trick is neat for what it is, but it's rare that I have so >> many controls on a page that it's unreasonable to persist their >> state in >> the query string. Doing it that way has the added benefit of >> allowing >> the user to copy the URL and get back to the same view. >> >> It would probably even be possible to get most of the functionality >> you >> want (using the query string) encapsulated in a template tag. I've >> thought a couple of times about trying to do that, but haven't had >> enough of a need to actually do it. >> >> -- >> Brian -- cs http://iamzed.com/ http://hailtheale.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---