Wiki

Articles tagged with "ajax", sorted by viewsX
Displaying 21-26 of 26 result(s).

Avoiding duplicate script download when using Ajax calls to render different Views

Created about a year ago by Antonio RamirezTips4 comments – viewed 10,954 times – ( +10 )
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

How to render a view in Fancybox using ajax

Created 10 months ago by rix.rix.How-tos1 comment – viewed 10,135 times – ( +5 / -1 )
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created about a year ago by Antonio RamirezTutorials2 comments – viewed 10,027 times – ( +11 / -1 )
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created about a year ago by RutgerHow-tos3 comments – viewed 9,236 times – ( +12 )
This solution requires Yii 1.1.9 or above

Open Dialog from ajax content

Created 2 months ago by TouzasHow-tos1 comment – viewed 4,127 times – ( +3 / -1 )
This tutorial will show you how to create Ajax dialog. It's very simple code.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created about a month ago by le_topTips0 comments – viewed 2,392 times – ( +4 )
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.