0
votes
1answer
15 views

How do I make a custom pop up for when I click on an asp table element?

I have a table I've dynamically created, and I want to make it so that I see a pop up with a custom image, along with some text taken straight from the table element.
0
votes
1answer
7 views

asp.net gridview in javascript modal won't persist on changing index

I have an asp.net gridview in a javascript modal. If there are multiple pages in the gridview and I click on the next page (lets say 2 pages), the modal disappears. I want it to persist while the user ...
-1
votes
0answers
24 views

How to use a for loop javascript to get the coordinate of google geocode service

Hi I am having a problem to populate a database with latitudes and longitudes for a given address. The idea is to pass an array of addresses as a parameter in the function codeAddress(), run in a ...
0
votes
1answer
9 views

“Error executing child request for handler 'System.Web.UI.Page'.” while adding user control using JQuery

I am loading ASP.NET user control dynamically using JQuery: function OnSuccess(response) { var xmlDoc = $.parseXML(response.d); var xml = $(xmlDoc); pageCount = ...
-1
votes
2answers
48 views

Need to be able to update url in one location [on hold]

I am new to programming and I need to update a large list of links and will need to do so every so often. I was instructed to put the links in one spot so that they would be easier to update next ...
0
votes
2answers
14 views

Multiplying a textbox with a cell in a dynamically created table with JQuery

I have a dynamically created table with id called "editTable" that looks as follows: <tbody> @{var i = 0;} @foreach (var item in Model) { <tr> ...
0
votes
0answers
6 views

Getting a snapshot image of a video using opentok

What is the parent DIV for the img? The tutorial on their website doesn't really explain anything about this code so I'm wondering how it actually works. var imgData = publisher.getImgData(); var img ...
1
vote
2answers
26 views

Removing Script Error Popups

I am working on a security program that amongst other things tries to manipulate webpages to test them for possible Javascript Injections, Cross-Site Scripting etc. To do so I have the program crawl ...
1
vote
2answers
26 views

fire javascript function after partial view is rendered in C# MVC

I have an MVC view that after the client click a button a partial view is rendered. I want to use: window.scrollTo(0, document.body.scrollHeight); after the partial view is fully rendered, so the ...
0
votes
4answers
30 views

jQueryUI Calendar cells in C#.

I am trying to implement a calendar control and using jquery calendar for it. I want to make some date clickable. By default all dates in the UI are click able. I only want to make those dates click ...
0
votes
2answers
26 views

Download pushed file using JavaScript

Probably, the question sounds like already answered and googleable, but I didn't manage to find an answer. I have an WebApi installed as windows service with SignalR support. After some operations, I ...
0
votes
2answers
34 views

How to parse data in javascript file through .net?

How to parse data in a java script file through .net . I have an url like this : http://..../xml/en/file_1.js The data in my .js file is like this : getdate(20140802,'','','',10,5); ...
0
votes
4answers
38 views

Event on other page not being fired and gives server error

This is How I load an aspx page in a div <script type="text/javascript"> $(function () { setInterval(function () { $('#div1').load('frmChatRequest.aspx', function () { ...
1
vote
2answers
49 views

Javascript function to select/deselect check all check box in radgrid header template

Please some one provide me the java script function to select/deselect check all check box which is in the header template, when i checked a check box in item template in template column of rad grid. ...
0
votes
0answers
23 views

Json.Net Parse json of different format

A Chat Room sample program created with NodeJs. Node.js server will response 3 different format of Json. I have created a Winform program to accept Json from Websocket. I use Json.NET JsonMessage ...
0
votes
1answer
24 views

To get the JSON in required format from Web Service

Below is the JSON data that I am getting, [{-------------- This should be common opening braces "legend":[{"layout":"vertical", "floating":"true", "bgColour":"#FFFFFF", "align":"right", ...
0
votes
1answer
23 views

How to reload Iframe content at a time interval so that it does not flicker

I have kept Iframe inside update panel but then also it flickers every time it reload. I think I can use javascript to load my content of Iframe in order to make it flicker free.Is this way correct? ...
0
votes
2answers
45 views

ASP.NET Webpage - Displaying image/text dictated by predefined date and time using scripts

My goal is to display a string or image on a ASP.NET webpage only during a predefined date and time (Monday through Friday, 9:00AM-5:00PM). Keep in mind, I will be relying on fixed server time, PST. ...
0
votes
1answer
28 views

Unity3D + Leap Motion: Gesture replay and recognition from web

He there, I'm currently working on a serious game for a school project. In short, this game is supposed to help people with differtent types of hand arthritis (and related diseases). The general idea ...
1
vote
1answer
24 views

Bug on amcharts shows 100.00% in every column when i use [[percents]]

I have this strange bug in my code. When I use amcharts and I'm trying to show the percentage on each column, every column is 100.00 percent. AmCharts.ready(function () { $.ajax({ url: ...
0
votes
2answers
29 views

To trim the unrequired characters from JSON format

My code is as below, var obj2 = new { layout, floating, bgColour, align, vertical_Align, ...
0
votes
1answer
38 views

Javascript alert is not working in Update Panel in asp.net

I am working on asp.net web application. I have one UpdatePanel and there is table inside table which has data in some TextBoxes. I have one save button too inside this UpdatePanel So I want to save ...
0
votes
1answer
31 views

TextBox Custom Web Control and JavaScript Client Validation

I have created custom web control textbox which is working fine and its code is as below: public class ReqTextBox : TextBox { private RequiredFieldValidator req; public string ErrMsg { get; ...
0
votes
1answer
42 views

why listbox selected index changed is not firing?

I have written a javascript method to sortlistbox items and it works well in a sense that the item that I type in text box gets highlighted. But when I click on the highlighted item it dosen't gets ...
0
votes
0answers
25 views

text change event in modalpopupextender

I'm writing textchange event using modalpopupextender, text change event is working properly but modalpopup extender is hiding for every textchange event. I want to fetch username with database ...
1
vote
0answers
31 views

How to load Iframe content so that it does not flicker

I have kept Iframe inside updtae panel but then also it flickers every time it reload. I think I can use javascript to load my content of Iframe in order to make it flicker free.Is this way correct? ...
0
votes
1answer
41 views

How can I change icon of google maps marker in c# by some condition?

Hi I want to change marker icon by some condition in c#. Now I can change marker icon like this <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> ...
1
vote
0answers
118 views

What are the major differences between Dart and Java 8 / C#? [on hold]

I am a Java developer and recently I started reading about the language Dart and the more I read, the more I have a feeling it's very similar to Java 8. For this question not to sound completely ...
0
votes
1answer
31 views

User-controls are evaluated first while loading content on scroll

I am using code HERE to load my user-control on page scroll. This user control takes EVAL data from repeater. But I am getting following output: The user controls are being loaded on top and then ...
0
votes
1answer
16 views

Call WebForm on window.onbeforeunload

I want to Call the "WebForm.aspx" on java script; <script type="text/javascript"> window.onbeforeunload = function (e) { var msg = 'Are you sure?'; e = e || window.event; ...
0
votes
1answer
31 views

Dummies guide to making dropzone.js work?

I'm trying to implement a drag-n-drop fileupload to my website and found a piece of java called Dropzone.js, it holds everything i need . . . i just have no idea of how to use it! So far I've been ...
1
vote
1answer
45 views

Asp .NET Button - OnClientClick=“return function()” vs OnClientClick=“function()”

In an asp.net user control I have a button: <asp:Button ID="addButton" runat="server" Text="Add" OnClientClick="return function()". I had written jquery code to hide a control( ...
0
votes
3answers
47 views

how to get value from textbox to alert

I'm trying to get the value of the textbox txtID to show on alert message. I'm using this code for the alert: Response.Write("<script language='JavaScript' >alert('Record successfully ...
0
votes
1answer
36 views

Return JsonResult Data With MVC View in View Model

I currently use Knockout to dynamically load data once a page has loaded. I'm using Controller methods, like: public JsonResult GetData(int paramId) { return Json(new { Field1: true }); } This ...
0
votes
2answers
31 views

How to stop Javascript function being defined twice in ASP.NET User Control

I have a User Control in ASP.NET. It contains a script block, which defines a function for use on the client. If I include two of the controls on the same page, the function will be defined twice (I ...
-2
votes
2answers
100 views

Dynamically How to create table in html and Add asp.net controls in html table like textbox,label,dropdown with autocomplete from database [on hold]

I need to add, delete rows only checked items using checkbox, and autocomplete like in the below picture? and how to save html values in to sql server database !** How to do this in ASP.NET? Can ...
3
votes
1answer
76 views

how to save javascript values to use in server code?

I have a label that shows the price depend on 2 other DropDownLists via javascript. I want to use this label value in my server code when submit button in hitted. how can I figure it out? .aspx.cs ...
0
votes
1answer
35 views

Require field if shown in javascript

I have a form where if someone clicks a link it opens an input for them to fill in their credit card number. I am trying to make it so that if this form is shown and they click add it will tell them ...
0
votes
0answers
38 views

Is there a known bug report for Selenium doing SendKeys() to the wrong input box?

Problem: I ran into what appears to be a bug in Selenium itself where it is doing a SendKeys() to the previous element I sent keys to, rather than a new one. Screenshot: ...
0
votes
1answer
14 views

access asp calendar from javascript?

I have a mix of js and asp charts on a web page. I would like the js charts to update when on the post back of the calendar. is there a way to get the selected date from the calendar using js?
0
votes
3answers
60 views

Why javascript function calls doesn't work after changing visibility from code behind

I have image with this two JS functions: <div id="myDiv" runat="server" visible="false"> <asp:Image ID="myImage" runat="server" ImageUrl="~/....png" ...
0
votes
1answer
43 views

Finding list item from javascript generated html

Here is all the code I am using for this multiselect box which I found at multiselect page HTML: <link href="jquery-ui.css" rel="stylesheet" /> <link href="ui.multiselect.css" ...
0
votes
1answer
23 views

Get EverCookie value from ASP.NET Codebehind

I have a Reason to use the Evercookie, It works fine in HTML pages but i am unable to get its value from codebehind after a postback. I have found a workaround by using a hidden field however it's ...
0
votes
0answers
33 views

C# - Any library to read javascript file

Is any library to parse the functions and variables names and bodies from a javascript file ? as I searched all results is for web programming, I just want to parse all members of a javascript file ...
0
votes
3answers
59 views

How to do a C# code before onsubmit() javascript function

I want to execute first a C# code before a form redirects to another page. How will i do that?
0
votes
1answer
36 views

JSON Ajax data issue

I have found the issue however my solution does not work. The variables d0 and d1 get populated but after the code creates and splices the array storelocations. Therefore, I get an error that d0 and ...
0
votes
2answers
35 views

Durandal 2.0.1, load all files initially

I am using Durandal 2.0.1 there I am having a log-in page, and after successful log-in, a splash screen comes with a loading bar and download all the required files for SPA. I trying to modify its ...
1
vote
2answers
52 views

Call server side sub after javascript timer is done

The countdown timer in the online exam is implemented using JavaScript. If the countdown reaches 0:0:00, it alerts the user and it proceeds to the next web page (shown below): function ...
1
vote
2answers
30 views

How to do an MVC Edit with a dynamic javascript dropdown

How do I properly make my dropdown have the correct information from the model when I'm doing an MVC Edit? My edit is using a dynamic dropdown populated by a jquery $.ajax call. Here's my dropdown on ...
1
vote
1answer
35 views

MVC $.ajax call never executes controller action on Edit but works on Add

I am using MVC5 and calling $.ajax to populate my "Subdivision" dropdown based on the Customer selection (certain subdivisions belong to certain customers). When I go to my Add view, the following ...

15 30 50 per page