Wiki

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

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 3 years ago by xrxHow-tos17 comments – viewed 34,139 times – ( +23 ) – version 1.1
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.

Elementary introduction to using jQuery ajax and the yii framework

Created 2 years ago by dhimesHow-tos4 comments – viewed 29,083 times – ( +7 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

Using CJuiDialog to edit rows in a CGridView

Created 3 years ago by Russell EnglandTips8 comments – viewed 28,237 times – ( +4 / -1 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

Upload image and content using AJAX and Store it in different table

Created 11 months ago by SelvakumarHow-tos1 comment – viewed 26,671 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

Simple Ajax popup

Created about a year ago by Rajith RTutorials1 comment – viewed 23,841 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

Render a form in a Modal Popup using ajax

Created 8 months ago by thiagoc7How-tos11 comments – viewed 23,277 times – ( +8 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

Take more control of CGridview and model searching (related model or another controller)

Created about a year ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 20,078 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 2 years ago by RutgerHow-tos3 comments – viewed 19,840 times – ( +12 ) – version 1.1
This solution requires Yii 1.1.9 or above

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

Created 3 years ago by Antonio RamirezTips6 comments – viewed 19,076 times – ( +13 / -1 ) – version 1.1
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

Open bootstrap modal and load content via Ajax

Created 9 months ago by JbalTeroHow-tos1 comment – viewed 19,020 times – ( +3 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.