Tagged Questions
0
votes
1answer
9 views
jquery select2 work with dropdownlist asp.net server control
I am trying to use it with asp.net server run dropdownlist.
When asp.net control is rendered on the page it has different id something such as: "ctl00_ContentPlaceHolder1_ddlAgentName" although the ...
0
votes
0answers
50 views
I have to escape % but all online example does not
For some reason in my Visual Studio 2012 when I try to get an server tag using jquery I have to escape the % like this and it causes my code to not work.
$('#<\%= myInput.ClientID ...
-2
votes
1answer
29 views
Data stores in JavaScript or Jquery?
I am developing a site which retrieve few lists (like country, product, industry) from share point using a soap call, and load the drop-downs. Later there are few filtration and reload of country ...
1
vote
1answer
46 views
Disable parent window when child popup window is open
I have an aspx page that pops up in a child window. Is there a way to make the parent window non-accessible until the popup child window is closed?
For the record, I'm using the following jQuery code ...
0
votes
0answers
13 views
jQuery / MVC - Limit scope of .ajaxStop()?
I have a couple of AJAX calls that get fired in a full view, but one of them is in a partial view.
Previously to this setup, the full view only had a single AJAX call, making .ajaxStop() a breeze to ...
0
votes
1answer
30 views
jQuery datepicker not working in IE8
Why is the following giving me an error in IE8? It works fine in Chrome:
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/smoothness/jquery-ui.css" />
<script ...
4
votes
0answers
23 views
Can't post data via AJAX calls in IE10 in pages present inside iframe
I have an index page default.aspx at following URL say http://myappdomain/
With the following code:
<html>
<body>
<form id="form1">
...
0
votes
0answers
25 views
jquery for slide effect in update panel
i have 4 items displayed at a time inside my update panel. on click on left and right button i want to load next set of data but with slider effect. how can i achieve this animation without using ...
0
votes
2answers
19 views
Disable Table in jquery or javascript.Table contains ASP.net controls ,Telerik controls
MY TABLE:
<table id="DispalyTable" border="4px" style="width: 100%;" >
<tr>
<td style="width: 137px; height: 137px;" ...
0
votes
0answers
25 views
Youtube iFrame api JavaScript / jQuery events are not firing in WinForms Webbrowser control
I'm developing Kiosk application. I need to create a Windows application to load the web page/site (with some functionality) which is hosted locally.
Web page need to play videos continuously ...
0
votes
2answers
37 views
mouseenter in jquery is causing abnormal behaviour
I am trying to make the mouseenter and leave event in jquery work but there nothing seems to work. mouseenter works if I drag the mouse on an image without traversing other area on browser. The entire ...
0
votes
2answers
37 views
ASP.NET MVC disable dropdownlist on page load
I'm using ASP.NET MVC 4 and jQuery to achieve this.
What I'm trying to do is to disable or enable a dropdownlist based on if a checkbox is checked or not.
I can get this working, however I can't ...
-1
votes
2answers
37 views
send email with web service
I want to ask if any one know how to send email with web service?
I mean, I have a App, and I will ask the user for one mail and a message, and I will resend that message to the email that the user ...
0
votes
2answers
40 views
use javascript to copy input values to another input
I have a asp.net form, which is using two Person usercontrols, one named 'BillingInfo' and one named 'ShippingInfo'. The person usercontrol has a "Address" input field that has the class set to ...
0
votes
1answer
31 views
Jquery to get value from Server Tag data bind
Hi I am using jquery to get the values from my server tag in ASP.NET. All that javascript are on the same page. I have tried this
<asp:TextBox ID="LastNameTextBox" runat="server" Text='<%# ...
0
votes
2answers
30 views
MVC / jQuery - Action not being hit when called via $.ajax()?
I'm trying to do the simplest of things in MVC using jQuery: submit a form.
Here's my code that calls to the action:
var url = "@Url.Action("Save", "Material")";
$.ajax({
url: url,
data: ...
0
votes
1answer
33 views
jQuery Ajax: Parse Error Getting Result to Alert Box
I have a very simple ajax call to my handler from jquery which is failing to retrive data and it gives me parsererror when i try to show the result in alert box.
ASP.NET Handler code:
public void ...
0
votes
1answer
48 views
What are the reasons for using AJAX over client-side jQuery?
In contemplating my next asp.net site, where I am going to be dynamically generating href-laden html to display, I am unsure as to which approach to take -- I don't know yet wheter I will use AJAX and ...
0
votes
0answers
46 views
jquery mouseenter is not working
I am trying to achieve hover effect I tried this code but not working
$('.real').parent().on('mouseenter',function() {
var href = $(this).attr('href');
var top = ...
0
votes
0answers
17 views
WebMethod error response as application/json on Development but text/html on Production
On DEV the error(catch) returns application/json, but on LIVE it's text/html:
[WebMethod]
public static string UpdateCategoryProductDisplayOrder(int parentCategoryId, int productId, int ...
0
votes
1answer
48 views
converting dates in jquery
I have a date in an h3 tag which I am trying to grab and convert to another date using some functionality from my code behind files. How do I accomplish this in jquery?
HTML
<div ...
1
vote
2answers
51 views
hover effect creates flickering
I am trying to display options on an image on hover but when I hover the displayed options keeps flickering
$('a').hover(function(event) {
var href = $(this).attr('href');
var ...
0
votes
0answers
16 views
DataTable JQuery RowGrouping Get Rid of the Empty Group Cell
I need some help. I am adding rowGrouping but when the grid is rendered, I get an empty group label, which is labeled "-". I think it has to do with how my asp.net gridview is marked up. Originally, ...
0
votes
1answer
18 views
bootstrap typeahead in asp.net webforms
I am looking for good example how I can implement bootstrap typeahead with asp.net web forms application.
The application is using bootstrap theme already and various plugins. Now I want the user to ...
1
vote
1answer
49 views
OnClick function using jquery tabs in asp.net
I am using jquery tabs and trying to use the onclick function but it seems it is not firing. When user clicks the tab and i want to change the detailview mode into readonly mode. Here is my code in ...
1
vote
2answers
31 views
JQuery AJAX call to WebMethod multi threaded
I have a JQuery AJAX call for ASP.NET WebMethod.
I understand the async: true that allows the WebPage not to be locked until the function returns and therefore i set it to 'true'.
The problem that i ...
-5
votes
0answers
30 views
Accordion is not working with table [closed]
Accordion is not working in the given code
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script ...
0
votes
3answers
60 views
Response.Redirect does not change url c#
i am building asp .net website using jQuery and jQueryMobile framework. after succesfull login i am able to see contents of next page but the URL remains the same i.e. /Login.aspx
When i press F5 ...
-1
votes
1answer
51 views
how to stop a image from hovering by clicking on a <a> tag
I want to stop image from hovering when clicking on the <a> tag,at first it had the undefined $ or jquery error in firebug but after adding
<script ...
0
votes
1answer
24 views
Edit value then tab change or leave page show message
I am trying to show popup message when user edit any value , i want to give popup prompt. I am following this site for the help. Its calling only when i am trying to move to some other page. ii have ...
0
votes
2answers
20 views
Binding Jquery click onto injected html
Sorry if this has been asked before but I have already spent some time searching the web and cannot find a solution.
I am using ASP.NET and JQuery.
Basically I return some HTML icons from server ...
0
votes
4answers
31 views
Jquery datepicker should get server date,
Is it possible that JQuery datepicker should follow the server date rather than client date ?
0
votes
2answers
40 views
I want to Bind data and display values on checkedlistbox using Jquery/JSON in asp.net with dropdown control
My code is following but it is not working.
var dropdownProgramType = $('#<%=programtypeid.ClientID %>');
dropdownProgramType.change(function () {
var item = dropdownProgramType.val();
...
0
votes
2answers
36 views
Get the id of the html table column
How could I get the Column id of and specific row cell index?
html Table design : My Table
this code handles and ajax request when a cell content of the table is dropped to another cell:
...
0
votes
1answer
32 views
Tips for designing pages for third world countries with slow internet
I'll be developing a site in .Net where much of the site's exposure will come from the Middle East. However, it will get most of its exposure from America.
I want to develop a responsive website, ...
0
votes
0answers
20 views
How to load usercontrol and a function in it, using jquery ajax? (Description inside)
I'm using c# code behind to load the usercontrol based on condition, which takes too much time, I need to load these using jquery or ajax, but i'm not good with that. Somebody please help me how to ...
0
votes
1answer
55 views
AJAX form only submitting when unobtrusive AJAX is NOT loaded
I have two identical AJAX forms in my website (the only difference is the way they are included). One form only works when I include unobtrusive AJAX in my template. The other form only works when I ...
8
votes
6answers
244 views
Error when using form.submit()
We are using extjs and webapi(C#) for our application. My form has a fileupload control. When we use form.sumbit() in extjs, it is not going to the success function.
WebApi code:
bool ...
2
votes
1answer
63 views
Restrict controller action from web site only
Is it possible to restrict controller action access for my action methods to AJAX-only requests?
I mean that a non-Ajax request to action it will be redirected to 404 or error thrown. Action will ...
0
votes
0answers
117 views
Connecting to TFS via ASP.NET, jQuery and Phonegap
I want to develop a mobile application that would allow the user the ability to run a suite of automated test cases housed in TFS. This is something I thought of this morning so it's all still very ...
7
votes
4answers
3k views
How to include jQuery in ASP.net page?
i have an ASP.net UserControl that requires the containing page to include a reference to jquery.
In the olden days, i would simply have included a reference to jQuery in the containing page:
...
0
votes
1answer
1k views
Error in Update,delete,Edit operation in JTable in ASP.net Application, while selection works perfectly
I am having following errors in the ASP.net page . I am using a plugin called jTable( Reference jTable.org). This plugin is used to bind JSON with the HTML UI.
I am using following model
...
0
votes
1answer
1k views
Problem occured in IE8 Compatibility view?
I am using the Jquery and asp.net pages in my web application. In IE8 compatibility some of control width not getting render properly : dialog open with some auto width but the dialog title width not ...
2
votes
3answers
2k views
Delete link with jquery confirm in Asp.Net MVC 2 application
I have a table with records that has delete links. Basically I followed the NerdDinner tutorial for that part in MVC. But I don't want to have the confirm view, I'd rather have a confirm dialog, and ...
2
votes
2answers
4k views
jquery datatables add checkbox with ajax server side response
I am using C# ASP .NET MVC and ajax calls. I am able to get the display of the table along with all features.
But, I don't understand how do I add a checkbox and button. I have tried dom-checkbox as ...
26
votes
6answers
45k views
pass multiple parameters to jquery ajax call
I have the following jquery code to call a webmethod in an aspx page
$.ajax({
type: "POST",
url: "popup.aspx/GetJewellerAssets",
contentType: "application/json; charset=utf-8",
data: ...
1
vote
3answers
5k views
ASP.NET MVC + jQuery + IIS6: Multiple Ajax requests
I'm not sure where the problem is...
I have an ajax request that checks the tracking information for a package on a page with a list of packages:
$(".fedex_status").each(function() {
var item = ...
26
votes
12answers
48k views
How to use JQuery with Master Pages?
I can get simple examples to work fine as long as there's no master page involved. All I want to do is click a button and have it say "hello world" with the javascript in a .js file, using a master ...
90
votes
7answers
90k views
JQuery validate: How to add a rule for regular expression validation?
I am new to JQuery and am using the JQuery validation plugin. Great stuff!
I want to migrate my existing ASP.NET solution to use JQuery instead of the ASP.NET validators. I am missing a replacement ...
734
votes
30answers
214k views
How to format a JSON date?
I'm taking my first crack at Ajax with jQuery. I'm getting my data onto my page, but I'm having some trouble with the JSON data that is returned for Date data types. Basically, I'm getting a string ...