Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Combining search dialog and search toolbar
12/11/2010
13:53
Avatar
knutmarius
Member
Members
Forum Posts: 5
Member Since:
12/11/2010
sp_UserOfflineSmall Offline

Hi,

I'm building an ASP.Net MVC2 application using the open-source version of the jqgrid plugin. I have used this excellent article to help me implement the server-side paging and search functionallity, but in this example he has only used the search dialog. In my application I would like to have both a search toolbar for quick "equals filtering", and in addition have the search dialog for more advanced filters.

Does anyone have experience in doing this, and could possibly give me a hint on how this best is done? As I see it, the filters from the search dialog is posted to the server in another way than the toolbar search. 

For the search dialog it uses a URL-parameter called "filter", containing all the search data, while for the toolbar it uses URL-parameters named after the columns you are filtering. (for instance "&TicketID=123"). Does anyone know the reason why it is not done in one common way? 

Are these two ways of searching actually supposed to be mutually exclusive within the same grid, so that I should have to use one of them only?

Will be thankful for all comments

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
63 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information