0
votes
1answer
15 views

RadioButtonList vs CheckBox

I am using ASP.NET to create a web application form. Previously I was using checkboxes to accept a user input with 3 choices: add, edit, delete. Used some server side and client side code to toggle ...
0
votes
3answers
89 views

What is a clean way to clamp an angle of elevation

Given an angle relative to the horizon, and an upper and lower bound, how would you clamp the return value such that it would return the closest valid value in the range. e.g. Given an upper bound ...
3
votes
2answers
373 views

Can you mix up the language stack in windows 8 Metro?

can you do HTML/C# , or HTML/C++ , or XAML/Javascript in Windows 8 Metro? I know that i could have a HTML/JS that could include a WinRT .winMD "DLL" that happens to be C# or C++ and call it from the ...
0
votes
0answers
12 views

How do you change Pixel Error in Unity3D terrain during runtime?

How do you change the Pixel Error, Base Map Distance, Cast Shadows, Tree Distance and other settings from runtime, not in inspector using UnityScript or C#? I've tried looking in activeTerrain, an ...
1
vote
2answers
52 views

Use JavaScript / jQuery to access CSS properties

How might I iterate over / access the properties of a referenced CSS file itself? Hear me out, this may sound strange: I am currently wrapping the Google Maps API into some C# code (it outputs ...
1
vote
0answers
7 views

RGraph and IE 8 wont render graph correctly

I am trying to make a simple pie chart on a report page i am working on. My Client uses IE8 for all of their systems. RGraph provides the best available graphing in my opinion and its the graphing ...
3
votes
6answers
3k views

Separating JavaScript in cshtml razor views

I'm new to ASP.NET/MVC3 and I'm trying to figure out how to separate my JavaScript (which contains C#) from the rest of the HTML. If I put them into .JS files and insert them with a script tag then ...
1
vote
1answer
40 views

Two Listboxes with same value, I need to remove identicial value from one Listbox

I have two ASP ListBoxes. As you can see below, lbAvailable is populated on PageLoad with WebMethod and populates all cities. LbChoosen is populated depending on DropDown Value Chosen. The Dropdown ...
1
vote
1answer
54 views

Unable to validate the month and year using jscript

I'm trying to validate month and year via two dropdowns in asp.net using custom validator. But it isn't running dynamically <script language="javascript"> function validateNumber(oSrc, ...
0
votes
1answer
13 views

Coming from AOP based authentication in ASP.MVC to nodeJS

When I am in the .net world and using MVC a common pattern used when wanting to do cross cutting concerns such as logging, authentication, transaction management etc I would use DI paired with AOP to ...
1
vote
1answer
17 views

New ScriptBundle .Include not working for breeze.min.js

I am using John Papa's SPA jump start App to create my own app and for every part of his tutorial I complete I keep running into the same problem. In a new section of the tutorial I have to add ...
18
votes
3answers
5k views

Is there a standard way to encode a .NET string into JavaScript string for use in MS Ajax?

I'm trying to pass the output of a SQL Server exception to the client using the RegisterStartUpScript method of the MS ScriptManager in .NET 3.5. This works fine for some errors but when the exception ...
0
votes
1answer
33 views

Access Javascript global variables at page load

I am adding some elements to javascript array from database using code behind here is the code: protected void LoadPlaces() { try { DataTable dt = cs.ExecuteQry(@"SELECT location_coords from ...
0
votes
1answer
40 views

Opening Multiple Links In ASP.NET MVC?

I have an application that takes some user input from a view, the reports the user wants, and creates a parameter string from it in the controller, and I need to open up multiple report urls after the ...
0
votes
1answer
41 views

How to read file after uploading to server

I have set up some HTML to take in a file, and the file is sent to the server. However, I don't want the data to be on server but rather the client. How can I send the data back to the client side ...

1 2 3 4 5 490
15 30 50 per page