Wiki

Articles tagged with "ajax"X
Displaying 11-20 of 27 result(s).

Using loginRequiredAjaxResponse to solve ajax session timeout

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

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

Created about a year ago by Antonio RamirezTips4 comments – viewed 11,398 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

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created about a year ago by Antonio RamirezTutorials2 comments – viewed 10,441 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.

How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)

Created about a year ago by RusAlexHow-tos8 comments – viewed 24,641 times – ( +16 )
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

Update/delete model with CJuiDialog (works in CGridView)

Created about a year ago by ifdatticTutorials6 comments – viewed 32,244 times – ( +14 )
This is based on this article.

Using CJuiDialog to edit rows in a CGridView

Created 2 years ago by Russell EnglandTips7 comments – viewed 19,345 times – ( +2 / -1 )
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

CListView AJAX filtering

Created 2 years ago by DragaTutorials14 comments – viewed 29,451 times – ( +14 )
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Updating fields on a form with Ajax and Json

Created 2 years ago by Russell EnglandHow-tos4 comments – viewed 31,939 times – ( +12 / -1 )
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 2 years ago by xrxHow-tos13 comments – viewed 22,963 times – ( +20 )
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

CGridView and AjaxForm Connect

Created 2 years ago by PinkBrainPlanHow-tos2 comments – viewed 14,333 times – ( +1 )
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView