38 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for erum

i write certain piece of code using mvc 4 and jquery and jtable ,but data is not visible in grid ,only blank grid is present , (No data available!) although i have updated all references of jquery in vs 2012 , action method is showing 3 records at quick watch …

0
166
Member Avatar for erum

can any one help me how to pass model object from view to controller using ajax .i have below code but not working.i am getting null in EmpAddType .even i selected any thing from drop downlist <script> function GetFilter() { var employeeAddress = { "EmpAddType": $("#drop1 option:selected").text() } alert($("#drop1 option:selected").text()); …

0
193
Member Avatar for khaled_jawaher

I am declaring in my model the following: import DS from 'ember-data'; export default DS.Model.extend({ name: DS.attr('string'), age: DS.attr('number') }); My server is returning the following json: {"name":"ali","age":33} When i extend the JSONserializer that expects this form must I override any method like extractArray since I am calling findAll in …

0
177
Member Avatar for JerrimePatient

I want to save an image from my computer to my project. c:\\image1.jpg to MyWebProject image folder. how can I do it?

0
162
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

0
307
Member Avatar for denmarkstan

I am new to vs2012.I am trying to run MVC3 tutorial to experience the working of vs2012. I have ran thesame tutorial on vs2010 successfully and inserted new record. Now I want to run thesame tutorial on vs2012. On both cases, i am using sqlserver management studio and entity framework(dotnet …

0
96
Member Avatar for Brent_1

Microsoft ASP.NET MVC is arguably one of the most flexible frameworks for building modern web applications. One of the things that I've noticed over the last couple of years is that with many AJAX applications using Restful web service, many MVC controllers are now almost redundant. Using the default MVC …

1
205
Member Avatar for abey ella

hi there while I was developing asp.net mvc application for ma company which has a log in page https://ella.abeycld.com/Management/Tab#Lead/Detail/20356 when I copy and past the above login page on Firefox and google chrome browsers it automatically redirect and take me to http://localhost:10099/Login/Login?ReturnUrl=%2fManagement%2fTab#Lead/Detail/20356 but while I use safari browser and past …

0
167
Member Avatar for grafic.web

Hi, i created a Menu controller and inside my views folder i create a page Menu.cshtml with the list of my menus and submenus, now, i would love to show this page in my _Layout.cshtml, this is the code : @model IEnumerable<Menu3.Models.Menu> <!-- If the Model isn't null --> @if …

0
166
Member Avatar for grafic.web

Hi, i did create the following class in my Models folder and i create the Styles controller, everuthing is fine... but muy problem is the following. When i clicK on the link style i got my list of styles and when i click in one style i got the idin …

0
109
Member Avatar for grafic.web

O would like to understand how to manage my website with Multilingual option for exapmple if the user is cominf form the domain .fr or .it or co.uk ect... how can i do this??? Thanks a lot for your help

0
161
Member Avatar for grafic.web

Hi, i woul like to get the following routing example in MVC : mysite . com /NAME/NAMECATEGORY/ID i have a list of items in name and each item has a category... when i choose and item i would like to show the category as well and not only the id …

0
122
Member Avatar for grafic.web

HI, ho can i do a select list from my table with MVC? Example database = mydatabase table = styles ID NOM show my select <selct name=aaaaa> <option value=ID>NOM</option> Thanks

0
99
Member Avatar for grafic.web

Hi there, i just copy the css of the YETY layout and everything works fine but i have a proble to apply the dropdown menu on my MVC link.... i have the following link : @Html.ActionLink("Collection Hair", "Index", "Styles", null, new { @class = "navbar-brand" }) and i would love …

0
108
Member Avatar for HunainHafeez

getting this error: > The best overloaded method match for 'System.Web.Helpers.WebGrid.WebGrid(System.Collections.Generic.IEnumerable<object>, System.Collections.Generic.IEnumerable<string>, string, int, bool, bool, string, string, string, string, string, string, string)' has some invalid arguments i am trying this code public ActionResult Generated_PaySlip(int? emplID, String month) { var PaySlip = DataContext.GetMonthlyReport(emplID, month).SingleOrDefault(); return View(PaySlip); } VIEW: @using EmployeeAttendance_app.Models …

0
86
Member Avatar for grafic.web
0
194
Member Avatar for MARKAND911
0
104
Member Avatar for IndyItMan

am confident this has been asked before, but I am preparing to reorganize my existing application in the structure referenced here: http://lostechies.com/jimmybogard/2009/12/09/organizing-asp-net-mvc-solutions/ and was wondering what kind of "gotcha"s I need to avoid. The app is growing beyond my early expectations due to new business requirements. It looks like I …

0
105
Member Avatar for grafic.web

Hi there, this is the code of my contactcontroller.cs : using ContactMvc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ContactMvc.Controllers { public class ContactController : Controller { // // GET: /Contact/ [HttpGet] public ActionResult Index() { return View(new ContactMessage()); } [HttpPost] [ValidateAntiForgeryToken] public ActionResult Index(ContactMessage post) …

0
158
Member Avatar for sagngh8

Hi All, I should be able to create a default directory inside project's root directory when the application_start method(inside global.asax)is called for my asp.net web application. As IIS users dont have full rights to webroot directory(for directory create) i get access denied error message while trying to create the directory.Also …

0
147
Member Avatar for sagngh8

Does the Application_Start in global.asax called when the new published code is kept in IIS web root for the project, Thanks S.

0
101
Member Avatar for Jesi523

I am trying to write an MVC application. I am rather new to MVC and I am taking the project over from someone else whom started writing it. This is what I am trying to do. I have some html documents that are located within my application. When a user …

0
98
Member Avatar for al41007

Hey! As part of a work came to me the following question: the libopenmetaverse is more directed to any of the components of the MVC (model, view, controller) or apply to any of them? someone can help me with this? thanks

0
69
Member Avatar for domingo

sry guys but i am new to MVC i just want to ask if it is possible to assign a connection string to a particular user from a database (Example) i want to restrict user from selecting a table, which can be done by using SQL Managment studio. This is …

0
83
Member Avatar for EdsonF

Hi guys I would like to ask your opinion on the following: What 's the best platform to create Web Business Applications ? ASP. net MVC 3??? I really want to get expert insight on this subject. Regards Edson

0
179
Member Avatar for php_noob

As I understand VIEWS - is where the HTML. CONTROLLERS - are the methods controlling views. MODELS - is where the "querying" (SQL) that controllers used? Can I ask for a simple example on how to use this M-V-C? actually the example available didn't help much, just more questions. How …

0
88
Member Avatar for Voldemort2

I am trying to add a data(string) to a url in javascript and pass to java controller. In server side i am using spring mvc. The javascript code below redirects to the save.htm with the data concatenated. I couldnt figure out how to catch. Is there any way to pass …

0
118
Member Avatar for vpgrmer

I am having a time trying to figuring out the routing procedure in MVC 3. I have tried the route.add and even copied the routes.MapRoute given to me by the global.asax.cs page. I get the theory of the following; routes.MapRoute("simple", "("controllername", "action", and "id")"); I have a link on one …

0
77
Member Avatar for bevssi

Hi, I need to have VB ASP.NET MVC controller action that receives the pk from the current record, looks up the spouse id and redirects to that record. I'm very inexperienced with MVC so please excuse if this is totally wrong. Any help, comments or suggestions are greatly appreciated. [CODE] …

0
65
Member Avatar for Nitin Daphale

Hi all, We have created websites before in [B]asp.net[/B], but now we are going to create A CRM System (Contacts,Messages,Tasks,Payrolls,Employee Management,Dashboards) using [B]MVC3[/B]. My main concern is customization of screens according to User and flexibility in the sense in future if I want to adopt third party Mail component or …

0
109

The End.