0
votes
1answer
34 views

Using JSON/Javascript to return table values to viewmodel/controller

I'm relatively new to Javascript/JSON and I've been looking really long for an example of how to do this. Currently what I have in my View is <p>Please enter your email and phone number ...
-8
votes
0answers
39 views

ASP.net Review System [closed]

I need some guidance of where to start with making my own review system. I'm working on an Ecommerce website which is built to have reviews which correspond with each product. If a user is logged ...
1
vote
1answer
16 views

Declaring the selected dropDownList text into a hiddenfield, so it can be used with JS

I need to declare the 'text string' of the dropdownlist 'dropCallbackReason' into the 'ValueHiddenField' ID of the <Asp:HiddenField> so that I can then use it as a javascript variable. The ...
0
votes
4answers
25 views

How to retrieve details from a repeater control to display in modal popup

I have a repeater control which displays an image and some basic information like DateTime and Prouct Id. On clicking an Image I need to run another query and show details in a seperate popup.I know ...
0
votes
1answer
28 views

MVC button sending parameters from JS

So I have a panel with 3 DDL, 2 TextBoxes, a Cancel button and an Apply button. I want my button work this way: When I click it, I want it to take the data from 3 DDL and 2 TextBoxes and build a ...
0
votes
1answer
24 views

Fetching data from a webpage with async post with javascript or c#

I just wanted to fetch some useful data from a webpage. This webpage is using asp.net with UpdatePanel. When I do it manually, it takes me to follow to steps to get the required data. In the first ...
0
votes
0answers
9 views

Set the min date of Telerik Datepicker on onChange event of another Telerik datepicker in javascript

I am doing project in ASP.NET MVC3 with C#. I am using telerik Datepicker. On change event of One datepicker, I want to set minDate of another datepicker. and wants to do this in javascript. I ...
0
votes
1answer
50 views

how we can fire two actions on single onclick command

I have a query, How we can fire two actions on single onclick command? I have no clue about it. If you would like I can share the code here so it will be more clear what I want to do. Please suggest ...
1
vote
2answers
21 views

Preprocessing data in HighCharts JS in C# ASP.NET

I'm creating a bar chart in ASP.NET 2.0 using HighCharts JS. here's how the chart can be do in javascript: $(function () { $('#container').highcharts({ chart: { type: 'bar' ...
1
vote
2answers
29 views

Deserialize a JavaScript object as Dictionary<string, string> via ModelBinding in Web API

I have a simple JavaScript string and object: var name = "Scarlett Johansson"; var args = { arg1: "foo", arg2: "bar" }; And I want to pass them via $.ajax to a Web API controller: public string ...
0
votes
2answers
37 views

how to fire client side and MVC validations together?

I am working in an MVC application. In my app, I have mvc property validations using data annotations. Also I have some client side validations for some fields. I need to fire both validations ...
0
votes
2answers
32 views

AutoPostBack clears my dropdownlist variable

Using javascript and asp.net. The AutoPostBack looks to be clearing the variable 'callBackReason' which I declare through javascript from the dropdownlist. Unfortunately I need the variable to be in ...
1
vote
1answer
34 views

Flot chart tooltip

I am using Flot interactive chart, the data being displayed is taken in from a datatable. When the user hover's over a point the tooltip displays "Height(cm) on 6.00 = 168", basically the "168" ...
0
votes
0answers
17 views

IIS 7.5 unable to serve javascript

I have a javascript loaded onto a server at http://a.server.com/js/script.js. When I tried to load the javascript from another location, it is unable to get a response header from the server. ...
0
votes
4answers
30 views

calling javascript function on OnClientClick event of a Submit button

In my asp.net page, i have three textboxes and one button. First two textboxes are being use to get the value from user and third one is being use to show the sum value of first two boxes. I am ...
0
votes
1answer
26 views

ASP.net Link Button PostBackUrl not working on IIS 8

I am using VS 2012 to develop a web application which uses the following code inside the PostBackUrl of Link button to redirect to a About.aspx page. <asp:LinkButton ID="LnkSelect" ...
0
votes
4answers
45 views

Fail to Call WebServices in ASP.NET in Javascript

I fail to call a webservice. What have I miss? @@ I am trying to follow this instructions here: How to call an ASP.Net Web Service in javascript And below are my codes, but fails to work. This is ...
-3
votes
1answer
35 views

Link to a store depending on location [closed]

I have a main international website! but two stores! From america and from australia. in the items feature pages I have a button "buy it now"! identifying the users location The button has to decide ...
1
vote
1answer
31 views

Image flashing on mouse over

I have an image from a map and I have several other images from few regions (which are blue) on the image map. The other images represent the blue regions that should show on mouse over. But I have a ...
0
votes
1answer
17 views

Trying to use onbeforeUnload and it is firing on every user action … Why?

I have a small code snippet here, I want this code executed only when the user tries to close the window by pressing the "X" at the top. I want to capture their login credentials The issue is that no ...
1
vote
2answers
36 views

$.ajax POST call to ServiceStack webservice, parameter not arriving

I am trying to learn how to program a web service with ServiceStack and call it via ajax in JavaScript. I did this by watching the pluralsight movies and I think I almost figured it out how to do that ...
1
vote
3answers
39 views

Save DropDownList value into a javascript variabale

I am relatively new to C#, and I have been researching this across the internet for a few days now. I need the value selected in asp.net DropDownList to be declared as a JavaScript variable. I have ...
0
votes
1answer
22 views

Adding polylines to Bing maps programmatically

I have routes names in my dropdownlist and arrays with lat/log (polylines) with correspondence by event. How to send this lat/log from code behind to javascript? <head> ...
1
vote
1answer
24 views

how to write/modify a xml file in SharePoint using a client side language(JavaScript)

Currently I'am working on a ASP.NET project and I have written a C# code to write/modify my XML document, which I'am using to structure my portal. I now have to migrate my project to SharePoint, ...
-2
votes
0answers
10 views

How to handle multipart request/response in WCF(.net) [closed]

Can anyone let me know how to handle multipart request/response in WCF. Also I want know how to add multiple files to the multipart Http request and also key-value pairs to it in C#.Net
0
votes
4answers
47 views

After clicking ok button, do page redirect

below is my WebMsgBox class. I use it to print some message. using System; using Microsoft.VisualBasic; using System.Text; using System.Collections; using System.Web; using System.Web.UI; using ...
0
votes
5answers
85 views

document.getElementById() not working when call javascript function from code behind in c#

I have a javascript function that is working fine in default.aspx when click on a link button. However, when I call this function from code behind, it cant work. Here is part of my code in ...
1
vote
2answers
25 views

Server cannot append header after HTTP headers have been sent. C# popup close

I am trying to refesh parent page of popup page using java script from popup page.But I am getting error like this: Server cannot append header after HTTP headers have been sent. my Javascript is ...
1
vote
0answers
58 views

How to close/remove menu item or tab when right click?

I'm creating tab using multiview and what I want to do is to close one of the menu tabs when I right click on it. These are part of the aspx and code behind: ASPX Page: <asp:Menu id="Menu1" ...
-1
votes
0answers
21 views

Post username and pass and email automaticaly to website (travian) and signup [closed]

On this website: http://www.travian.com.sa/index.php?server=sa14#register I want to make my program post the username, password and e-mail to sign up and register in a server in travian. Here is what ...

1 2 3 4 5 230
15 30 50 per page