0
votes
1answer
23 views

Redirecting a page with javascript concatenates values to the URL instead of redirecting?

I have a dropdown that allows users to select a data feed to view. The first time a user selects one, my URL looks like this: http://localhost/DataFeeds/Viewer/1 On the second selection, it looks ...
0
votes
2answers
18 views

Bootstrap data-loading-text ONLY if client-side validation passes

I have a form with a couple data fields. Each one has a quick client-side validation check. There is then a submit button: @using (Html.BeginForm("ImportApi", "EveApi", FormMethod.Post, new { id = ...
0
votes
1answer
18 views

Bind array of complex objects in GET request - jquery.param() traditional flag

I'm trying make a jquery.ajax call to the following controller action: public ActionResult Handler(SemanticPart[] semanticParts, string first, string last) I have the following data JSON object ...
1
vote
3answers
48 views

Invalid JSON primitive While parsing JSON in MVC Controller

i am creating json string my javascript and sending it to my controller in mvc application. my code which create json string : $('#btnassign').click(function () { var arrPrice = ""; ...
0
votes
1answer
30 views

ASP.NET MVC 4 issues with including external javascript

I'm new in MVC and i got stuck with using a downloaded javascript controller in a partial view. I downloaded this treeview: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ Then I placed ...
0
votes
2answers
36 views

jquery selectors for dynamically generated html elements?

in my page, i use this block of code to generate html $.ajax({ url: '...' }).done(function (model) { for (var i = 1; i <= model.numberOfPages; i++) { html += '<a ...
0
votes
0answers
21 views

entity framework many-to-many relationship deleting objects and creating references

so im using angularJS to pass a dealer object to my controller. Each dealer object has a virtual ICollection. I use HTML multiselect to add contact objects to the contact collection in Dealer then I ...
-1
votes
4answers
63 views

How to pass textbox value to controller

I have a textbox like below @using (Html.BeginForm("checkUserType", "Place", new {type = })) { <div id="login"> <div class="userNameLabel">UserName</div> ...
0
votes
1answer
30 views

can't pass html tags in parameters in $.post()

I am using a userControl in MVC 4 that has a telerik radeditor. I want to submit the content of the radeditor the the action method but if I user editor.get_html() the code doesn't execute. the ...
0
votes
3answers
47 views

MVC4 controller post multiple json objects to controller, ajax post

is there any example to post multiple objects to a controller. How the data for the ajax post have to look like ? [HttpPost] public string Register(UserLogin userLogin, Contact contact) { } ...
1
vote
1answer
18 views

HTTPS cluster markers and custom styles

I have a secure site that is using MarketCusterer for clustering markers! When viewing the page, I was getting the view only secure bits or see them all as I understand the icons are stored on a ...
1
vote
1answer
25 views

IE10 and cookies encoding

If I create a cookie with the value 'ë' on the server, it becomes 'ë' when I read it on the client side. This only occurs with IE (10). I don't get this issue with other browsers (Chrome and ...
0
votes
1answer
31 views

pass single value from viewbag in mvc4 to javascript

` // javascript var data = new google.visualization.DataTable(); data.addColumn('string', 'Topping'); data.addColumn('number', 'Slices'); data.addRows([ ...
0
votes
1answer
31 views

Keep JavaScript on lowest layer?

I'm not quite sure how to phrase this to be exact, it's a situation I've never ran across before. I have a website with a top header that's fixed, and a footer that's fixed. On the left side of the ...
1
vote
2answers
48 views

When NOT to use MVC Bundling?

I came across a strange issue in my recent project. I was using Trent Richardson's Timepicker control to avail time picker functionality in my MVC 4 application. I had relevant JQuery file bundled ...

1 2 3 4 5 33
15 30 50 per page