204 Topics

Member Avatar for
Member Avatar for iqlas

Hi Guys, I am planning to create one application that has 3 different Layers (clients) and each Layer has a same copy of an application and multiple users. any suggestions? Example : Application Client1 (has copy1 of application)(has n users) client2 (has copy2 of application)(has n users) client3 (has copy3 …

0
189
Member Avatar for grafic.web

Hi there, i need hel whit this one : i'm learning how to develop MVC but evry time that i wand to create a data base whit visual studio express 2013 i get the classic connection to DefaultConnection : Data Source=(LocalDb)\v11.0;AttachDbFilename=C:\FRANCESCO\Project\OdeToFood\OdeToFood\OdeToFood\App_Data\OdeToFoodDb.mdf;Initial Catalog=OdeToFoodDb;Integrated Security=True Ho can i set as a connection …

Member Avatar for JorgeM
0
176
Member Avatar for grafic.web
0
194
Member Avatar for MARKAND911
Member Avatar for IndyItMan

Greetings all. In my MVC app I am trying to iterate through 2 collections, which are similar to a jagged array (a collection of modules, each containing a collection of components). Module and Component each have an Index attribute where the sort order is specified through an admin tool. The …

Member Avatar for IndyItMan
0
234
Member Avatar for haymen.roth.3

i am bit confused by the nature and working of query , I tried to access database which contains each name more than once having same EMPid so when i accessed it in my DROP DOWN LIST then same repetition was in there too so i tried to remove repetition …

Member Avatar for Manish02
0
157
Member Avatar for RinzLove

Hi all, I'm having problem with building up cascading dropdown. I found tutorial on the net which were using 'Int' data. But my data to pass from database are of 'String'. How to change it? Tutorial link: http://20fingers2brains.blogspot.sg/2013/04/cascading-dropdowns-in-aspnet-mvc3.html I only requires help on certain area only. Please see code below …

Member Avatar for elsunhoty
0
139
Member Avatar for RinzLove

My error msg: <td>@Html.DropDownListFor(model => model.listVendor_Id, Model.listVendor_Id) CS1061: 'System.Collections.Generic.IEnumerable<PWIMS.ViewModel.POViewModel>' does not contain a definition for 'listVendor_Id' and no extension method 'listVendor_Id' accepting a first argument of type 'System.Collections.Generic.IEnumerable<PWIMS.ViewModel.POViewModel>' could be found (are you missing a using directive or an assembly reference?) The listVendor_Id after "Model." wasa underline in red. How …

Member Avatar for elsunhoty
0
133
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
106
Member Avatar for old_apache

for example: current url : localhost/website becoming : localhost/website/product without refreshing. Thanks in advance

Member Avatar for harsh9
0
331
Member Avatar for old_apache

Hi I have a partial view, where my partial view will be called from Menu. When i call it, do server send only the partial view, or send all view (header, menus, footer)?

Member Avatar for pitic
0
163
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 grafic.web

Hi there, in am new with Webmatrix and Visual studio 2013 and i would like to create the following : (for all user of the website) 1) a classic form contact in asp.net razor : email name subject message If is possible this message wil send an aoutomatic mail to …

Member Avatar for grafic.web
0
568
Member Avatar for DeanMSands3

Hey Daniweb! What's a good site, or maybe someone could write up a quick-and-dirty example of a desktop app showing how to use the Model View Controller pattern? I'm no slouch at google-fu and found this lovely example through Wikipedia: http://www.songho.ca/opengl/gl_mvc.html which I'll look at after class tonight. I'd still …

Member Avatar for hulkishungry
0
298
Member Avatar for dany12

Hy I want to understand what is a better approach on problem solving point of view for a php project , a framework or the mvc pattern? I would like to add that I know that both principels are quite the same but with a minor diffrence that a framework …

Member Avatar for dany12
0
368
Member Avatar for Nayyar_1

I have to consume webservice that have a method like this: SubmitUser(UserReg user, HttpPostedFileBase image) { // webservice side processing` } UserReg is a custom class on webservice side that have several properties like username,id,latitude,longitude etc.. I have to submit my data through this method and save webservice response after …

Member Avatar for geniusvishal
0
204
Member Avatar for Singlem

I have been trying to get a single model, with multiple partail views that use that model to sumbit the form correctly. @Html.Partial("_EmployerDetails", Model) <br /> @Html.Partial("_OutcomeControl", Model) When I submit the form only the firt PatailView model is posted. The second partailview values is null. I need to modulize …

Member Avatar for LastMitch
0
165
Member Avatar for Birol

I have some questions regarding design pattern (DP) usage, in particular for Java developers. i) Which DPs have you used, as far as you can remember, and how often? ii) How much have they helped your development work? iii) If you work in a project group, are there group standards …

Member Avatar for prakash.kadam.5851127
0
297
Member Avatar for jameslivsey

Hi, I have a form that has two controls; a textarea and an upload, one of which is hidden depending upon the selection of a dropdown. What I'm trying to do is alter the action of the form depending on which control is hidden. so if the textarea is visible …

Member Avatar for C#Jaap
0
137
Member Avatar for singularity~

I am trying to combine the data from two repositories in MVC4. I am using a join statement in my Action function to gather information from two tables. I am passing this this data onto my view. I am a little confused to how to correctly combine the data from …

Member Avatar for tinstaafl
0
202
Member Avatar for extjac

MVC Design Question Hello, I would like to move an web application to MVC Laravel 4 (not sure yet). The challenge is that the application is used by many customers and each customer have its own website/front-end but they all use the same backend/admin. The strucutre is something like this... …

Member Avatar for extjac
0
184
Member Avatar for sagngh8

Is it possible to create directory with permission(domain users the IIS user account)while deploying the asp.net mvc application.I need to be able to create directory for image upload with appropriate permissions(only domain users should be able to modify it) while deploying the web applications. Is this possible? Thanks, S.

Member Avatar for LastMitch
0
345
Member Avatar for divin757

When I click the login button I never get any values posted to the server. I accept a AuthViewModel but it is always null. I have tried using @html.EditorFor but have not had any luck with it. **User Controller** [HttpGet] public ActionResult Password() { UserModel user = (UserModel)Session[Constants.SessionVars.Authenticate]; //error - …

Member Avatar for BMXDad
0
608
Member Avatar for singularity~

I have jQuery, jQuery Mobile and jQuery-UI included in my MVC4 project. I am having a problem where the jQuery-UI script only loads if the page is refreshed, otherwise the jQuery-UI will not load initially. I have tried moving the include script to the bottom of the page instead of …

Member Avatar for LastMitch
0
189
Member Avatar for ryan311

I always getting this error in my dropdownlistfor: Value cannot be null. Parameter name: items View code: @Html.DropDownListFor(model => model.SiteId, new SelectList(ViewBag.ListSiteClass, "SiteId", "SiteName"), "", new { @onchange = "GetSiteid(this.value);" }) Controller Code: [HttpPost] public ActionResult Create(ServiceDTO ms, FormCollection form) { if (ModelState.IsValid) { int sid = ms.SiteId; ServiceDAO.Insert(sid); } …

Member Avatar for ryan311
0
12K
Member Avatar for ryan311

Can anyone help me. My code is not working this is cascading drop down list. It's connected to my database. Jquery Code: <script type="text/javascript"> $(document).ready(function () { $("#SiteId").change(function () { var idDept = $(this).val(); $.getJSON("Service/GetBuildingNameList", { id: idDept }, function (myData) { var select = $("#BuildingID"); select.empty(); $.each(myData, function (index, …

Member Avatar for LastMitch
0
439
Member Avatar for nccsbim071

Hi, In my website i have implemented custom session values. In which, on log on i set the session value to some object. This object is used to extract user specific data from db. now the problem is If user logs in with : test1.somesite.com and logs off and again …

Member Avatar for jhoonbey
0
809
Member Avatar for Clan Onion

And the microprocessor? I want to know exactly how this all works. Wikipedia claims that an instruction set architecture determines the data, registers, addressing modes, memory, etc. It also claims that it dictates the opcodes on a microprocessor. Wikipedia says "Microarchitecture" is the way a given ISA is implemented on …

Member Avatar for mike_2000_17
0
1K
Member Avatar for gaasha

I'm new to MVC4 programming. I want to populate a **DropDownList** from a table's field but don't know how to, although I searched for relevant material from Internet but couldn't get some workable info. There are 2 tables **Software** and **Category** (showing the type of S/w e.g. Anti-Virus or Graphics …

Member Avatar for LastMitch
0
312
Member Avatar for AARTI SHRIVAS

i am googling for mvc in php but not get proper result is there any good website from where i can learn mvc for php and, is any other framework needed for this mvc i am currently using bitnamiwamp apche server for php what framework is used for mvc can …

Member Avatar for LastMitch
0
150

The End.