Tagged Questions
2
votes
0answers
17 views
Unexpected token illegal - Regex - MVC 3 JS
I would like to know why some times code is not in one line and what I have to do to fix it? (Problem with regex?) It is look like this:
**var PelnyOpisEdytuj = '@Model.PelnyOpis';**
Problem ...
1
vote
1answer
26 views
how to implement drag and drop between 2 tables, with all content. MVC
Is it possible to do like this exemple in JS, Jquery or another compatible thing with MVC ?
http://www.satyam.com.ar/yui/invoice.html
I have a table with id and name for an order. I want to drag the ...
0
votes
0answers
25 views
MVC 3 unterminated string literal
in my MVC 3 project, the following code throws an error in the FireBug - unterminated string literal, why ?
<a href='#' @(Model.SomeCondition ? "onclick='alert(\"lorem ...
1
vote
1answer
43 views
Generate random string and check into databse for non repetation
In MVC-3 (Razor Engine) : I want to generate random string on a button click called NextAvailable, but condition is that before generation of random string look into SQL database that it is already ...
0
votes
0answers
23 views
javascript popover content issue
I am facing a problem with popover content in javascript. In that I want to add two values for the Content of the popover,
Time Zone
location name
according to the location in the Map, it's content ...
0
votes
2answers
29 views
Remove image from view page after deleting with Ajax.ActionLink
I'm working on asp.net mvc3 application with razor view. The business logic I must implement is more complicated than my answer but as you can guess my knowledge on JS/jQuery is very poor so I take ...
0
votes
1answer
30 views
Send a model to MVC3 controller by setting src of element
I'm attempting to trigger a download of an Excel document. My controller returns the downloadable file:
public ActionResult ExportPatchSchedules([Bind(Prefix = "multiSelectDialog")] ...
0
votes
1answer
42 views
How to program drag and drop between two tables
is it possible to drag row that contains Id for a Order att drop it on anothe table and get all data with this Id on the id table on MVC?
What im trying to do is that i have table for ...
0
votes
0answers
83 views
MVC 3 Kendo UI Gridview Select hierarchy row
I am using the Kendo UI grid and am trying the get de selected row when the users clicks on the Detail Grid row. When I do this I only get Java exception when I click a row in the onRowSelect event at ...
1
vote
3answers
28 views
How to disable an EditorFor with JavaScript in ASP MVC
I want to disable any editorfor with javascript, I try this but it's not worked :
<body onload="charge()">
<div class="editor-field">
<%: Html.EditorFor(model => ...
1
vote
1answer
22 views
Microsoft JScript runtime error: Unable to get value of the property 'removeChild': object is null or undefined
I'm working on an asp.net mvc 3 application. The title tells what problem I have. I will describe how I get this error.
I'm using JavaScript to upload image from my razor view. The script is not ...
1
vote
1answer
32 views
Getting Uncaught TypeError: Object [object Object] has no method 'jqxmaskedinput'
This is part of a mvc 3 razor view. I have a few editorfor boxes on the form and wanted to add a bit of jquery to enhance the robustness of the form. However I am getting an odd error and it does not ...
0
votes
0answers
38 views
Form is submitted twice after return View() from a controller
I'm debugging this for an hour and I can't figure out what may cause the problem. I have a view that visualize a document and image gallery that allows upload/delete of image. This is implemented with ...
0
votes
0answers
21 views
ASP.NET Code generated by Ajax.ActionLink stoped working after Upgrading to JQuery 2.0.1
I have an ASP.NET MVC3 app that I have upgrade to JQuery 2.0.1, unfortunately this has had some unplesent side effects. (More info here)
Currently I have only one outstanding issue: The HTML link ...
0
votes
1answer
65 views
Get button clicked ID in “OnSuccess” function after form submit
I am Using Ajax form in mvc3.
Below is code.
<% using (Ajax.BeginForm("Method", "Conroller", new AjaxOptions
{
UpdateTargetId = "PopupBody",
HttpMethod = "post",
OnSuccess = ...