Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Detecting supported browsers in ASP.NET MVC (Server side vs. Client side)

I want to check client's browser version, and if it's too old, display a message that the user should update their browser in order to use the website. The website is built using ASP.NET MVC. I have ...
Hooman Bahreini's user avatar
3 votes
0 answers
2k views

AJAX shopping cart with quantity +/- buttons

I'm a junior developer (couple years into it) and very new to AJAX. I'm writing an internal inventory application built on MVC and right now I'm dealing with adding and removing items to/from a cart. ...
Davide Vitali's user avatar
4 votes
2 answers
8k views

Handing "Others" option in dropdown in ASP.Net MVC 5

Business Logic I have a company referral form, and in that form I have dropdown to select from a company list. But when a company is not found in the dropdown, the user can select option as "others", ...
Unbreakable's user avatar
3 votes
2 answers
2k views

Using Alertify to show messages

I use a JavaScript library called Alertify to show simple, pretty messages, like "note created", or whatever. Often I want to send the user to a new page and then show an Alertify message. I'm ...
Sinjai's user avatar
  • 317
2 votes
1 answer
104 views

Add colour tags on click

I have implemented some extra functionality for the tag-it JavaScript plugin, where I need an option where availableTags are displayed in one box, and the user can ...
Bassie's user avatar
  • 559
0 votes
1 answer
2k views

Redirection with params - No query string

I have a products page with a search box. When a search is submitted there's a redirection to a search results page. If another search is submitted then the ...
Yoav's user avatar
  • 319
2 votes
1 answer
227 views

AngularJS: Http API Service - any improvements / remarks?

Could you please review the below AngularJS service. What it does is centralize all (relevant) HTTP action calls. Do you see any chances for improvement?: ...
kbd's user avatar
  • 143
1 vote
1 answer
2k views

Adding a link on page with current URL (including hash) in a querystring

I'm trying to add a link to a page. The link should contain the current URL in a querystring (to be used as a ReturnUrl) and it can contain a hash. Middle-...
thomius's user avatar
  • 113
2 votes
2 answers
1k views

ASP.NET MVC website that display blogs from the database by AJAX

The problem is, I have to limit the results to only 10 by default and add a "Load More" button to display 10 more results each time when user click the button. But I'm worried about users having their ...
Anonymous's user avatar
  • 123
3 votes
0 answers
1k views

Wrapper for jQuery Ajax to ensure redirects occur on clientside - Round 2

A while back I posted Wrapper for jquery ajax to ensure redirects occur on clientside on handling ajax and redirects when a server side error occurs. Since that post I've been using this module ...
dreza's user avatar
  • 6,527
2 votes
1 answer
110 views

Client-side API design

I'm working on a client-side API for my ASP.net MVC application and I'm not quite sure I've got the code right. This API allows me to call server-side action methods via Ajax and I've designed it to ...
TugboatCaptain's user avatar
3 votes
1 answer
5k views

Send parameter to server and reload page

My first ASP.NET MVC 6 / jQuery web site - the site header has a "Change Language" selector (named LanguagePicker) - this is actually placed in a _Layout view, a ...
marin's user avatar
  • 163
3 votes
1 answer
35k views

JQGrid with dynamic columns and server-side functionality

I have a requirement where I need to build a grid with dynamic columns. I am dealing with a large dataset so I would like to use server-side paging, sorting, filtering logic so that I render only a ...
StudentForever's user avatar