Skip to main content

All Questions

Tagged with
1 vote
1 answer
31 views

JQuery: How to select a sub-collection and send to an MVC action

I have a C# MVC web form with a fairly complex hierarchy of data. I need to select a portion of that data, a sub-collection of objects, and send it to an Action where I can manipulate the collection ...
Chris Holmes's user avatar
  • 11.5k
-3 votes
1 answer
792 views

Dynamic Menu Bar with Child Relation In MVC Ajax Call

Hi i am student working on a Project in MVC i am Creating Dynamic Menu bar i retrieve Main Menu successfully but all child menus are shown in Contact Us Dropdown menu --------------------------- ...
Alpha Tech's user avatar
0 votes
1 answer
66 views

Missing display data in jqGrid

As you can see below I have 3 pictures. (5, 10 and 20 data per page). I don't know the reason why in the 10 and 20 per page the data is missing as picture provided. Code public JsonResult GetDPS(...
KiRa's user avatar
  • 924
2 votes
0 answers
57 views

Uploading picture can't detect .Change in button

I got this code below for uploading a picture. I got a problem. Scenarios When I upload a picture then its finish the button change it's not hitting The second is exact reverse of the #1 when ...
KiRa's user avatar
  • 924
0 votes
0 answers
398 views

MVC3 .net issue to show loading image when page loads

I'm pretty new to the MVC3 .net programming & recently in one of my internal projects I'm trying to implement a functinality where to display a loading image while the page is being loaded. (using ...
S.D.'s user avatar
  • 1,161
-1 votes
1 answer
278 views

Not able to render label tag on a view dynamically

I have below piece of code in .cshtml file. <div class="row"> <input type="text" placeholder="Enter POR ID" id="porID" class="col-md-2 input-sm" name="porTextBox"> ...
G.S Abhaypal's user avatar
0 votes
1 answer
90 views

Passing a JSON object to a controller

I'm new to MVC and JavaScript, and while this may be an obvious answer for some I've been struggling for a while now (after looking at many examples)! When debugging through the Index.cshtml view, ...
Nick's user avatar
  • 37
2 votes
0 answers
635 views

Profile Picture change Navigation menu MVC

I have users' login system on my website. When user Login Profile change picture login user Picture. I have Navigation menu Right of Site Top corner Profile picture change options there until not ...
thenna papertie's user avatar
3 votes
3 answers
16k views

How to upload files using ajax to asp.net mvc controller action

I have this submit code, $('#form').on('submit',function (e) { e.preventDefault(); //var file = $("#productImg"); var fileUpload = $("#productImg").get(0); var files = fileUpload....
Anonymous Duck's user avatar
0 votes
1 answer
117 views

Clear Button Name Parameter in ASP.net

Hi Im new to ASP and MVC3 and my question is how can i clear the button name parameter in my Post because everytime I refreshes my page after clicking the button with the button parameter , the Value ...
Enrique Gil's user avatar
1 vote
0 answers
1k views

Escaping special characters in json

I built Data table in mvc this data table in rendering page i send to it 100 rows after that you can get data by AJAX (see more) in rendering i send data in json string Code in httpget action ...
Eng Sabreen Saber's user avatar
0 votes
0 answers
63 views

Return to redirect, then call JS function

Displaying a Jquery DataTable on screen. Row is selected, new Trial date is selected for that row. Button pressed and necessary row is updated in the controller POST. if (Request.HttpMethod == "POST")...
John's user avatar
  • 3,877
0 votes
1 answer
678 views

How to receive associative array data with 'FormCollection' in ASP.NET MVC3

I have following data to send ajax call to the controller action: var data = { "PersonalInfo": [ { "FirstName": "Leonel", "LastName": "Messi" }, ...
Khalid Hussain's user avatar
-1 votes
1 answer
939 views

event change for enumdropdownlist

In view @Html.EnumDropDownListFor(model => model.Field) Model public Fields Field { get; set; } public enum Fields { First = 1, Second } These my markup <select id="Field" name="...
Kevin's user avatar
  • 67
0 votes
0 answers
1k views

Removing or Replacing # (hash) in URL using Regex

I'm new to regex and I'm using it in jquery to remove/replace the url but when i triggered an anchortag with href="#" the url will add a # and I'm not able to replace it with my current regex fix to ...
Enrique Gil's user avatar

15 30 50 per page
1
2 3 4 5
35