Tagged Questions
0
votes
1answer
41 views
how can I get the checkbox checked Item from grid using jquery
I have got two kendo ui grids (parent grid , child grid) and i have got check box column on parent grid if i click on the checkbox in row in grid, I need to get the corresponding row data and i need ...
0
votes
0answers
37 views
Strange behaviour in Knockout css binding?
Long story short: I have the following icon tag in my html:
<i data-bind="css: { 'icon-question-sign icon-white': IsHandled() == false, 'icon-ok icon-white': (IsApproved() == true && ...
0
votes
0answers
8 views
Need an open source gauge control (logarithmic)
please anyone could help me finding an open source gauge control which is logarithmic scaled (NOT linear), I need the gauge to be used in Asp.net MVC, so it either could be asp component or ...
0
votes
1answer
23 views
Stop knockout rebinding on element add
I am binding an observableArray to a list.
Whenever I am adding few elements the list is getting updated.
But after I do it for few times, a script alert is coming to stop/continue with the running ...
0
votes
0answers
58 views
jQuery $.cookie is not a function
I am trying to set a cookie using jQuery:
$.cookie("testCookie", "hello");
alert($.cookie("testCookie"));
But when I load my page, I receive the error "$.cookie is not a function". Here is what I ...
-4
votes
0answers
25 views
Internet exporer 500 internal error..! [on hold]
The following code is working fine in chrome and fire fox. but not working IE10. It showing
"500 Internal error"
function Save() {
$.ajax({
contentType: 'application/json; ...
0
votes
1answer
35 views
send a data from javascript in view to a function in mvc
i have a class that contains 1 function.
how can i send a parameter from javascript in myview to this function?
and how can i get return value .
my class :
public class CityClass {
public static ...
0
votes
1answer
28 views
How to use JavaScript variable in Razor?
I try to pass my JS variable into razor, my script fragment:
select: function (event, ui) {
var docID = ui.item.DoctorCode;
@{
string org_code = ...
-1
votes
1answer
32 views
Mixing JavaScript and Razor syntax
I was looking for how to mix razor and JavaScript together. I found something like this:
<script type="text/javascript">
var currentUser = null;
@if (User.Identity.IsAuthenticated) {
...
0
votes
1answer
39 views
DateTimePicker in modal popup no longer shows after cancel
I use the DateTimePicker plugin made by Trent Richardson in a modal popup, to select the date from which to archive items. All works fine when the modal pops up. In this modal I have two buttons: ...
0
votes
0answers
17 views
Search data from jTable use stored procedure and asp.net MVC
I made a display of data from a database table. Later I made a data mining by name or year, and everything works. But now I would like to search for data that are displayed in the JTable. I try to use ...
1
vote
0answers
25 views
Dynamic Checkbox value being posted twice
I have a table of check boxes that are in a form that I am posting to the server.
they all have a name value of item.Commissionable
When the request hits the controller I retrieve the values by
...
-1
votes
1answer
24 views
Nested collection-Form, append to nearest class
Hello i have been trying to make a dynamic collection that i can post to the server, after some struggeling i found this guide;
...
0
votes
0answers
37 views
Ajax.ActionLink in ASP.NET MVC not rendering javascript of target page
I have two divs, one containing a navigation menu and one the main body.
The navigation menu contains links that look like this:
<div class="LeftNavigationItem">@Ajax.ActionLink("Test", ...
0
votes
0answers
17 views
ListBoxFor not persisting changes to model
I have the following code:
$(function() {
$('#AddDirector').click(function() {
var dir = document.getElementById('Director').value;
if (dir !== "" && ...