177 Topics

Member Avatar for
Member Avatar for CrankyMero

So here is the thing its been days since im trying to solve this, i'm debuggin a project from the company i work, its a web system, and here is the thing i have a javascript file which im going to call 'docart.js' and a core file which i will …

Member Avatar for M.Waqas Aslam
0
274
Member Avatar for haymen.roth.3

i am told t use old traditional way of SQL in MVC so created login register page but now problem is that i can't return data to VIEW from dataset. Model public ConnectionStatus Login_db(String email, String pwd, String conStr) { String hashedpwd_login = FormsAuthentication.HashPasswordForStoringInConfigFile(pwd, "SHA1"); using (SqlConnection sqlCon = new …

Member Avatar for khimmy2000
0
2K
Member Avatar for grafic.web

Hi there, ho can i check in MVC if the users of my website are coming from my domain .it , .fr or .co.uk etc? Thanks

Member Avatar for Ajay Gokhale
0
98
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 HunainHafeez

i can view anybody record and then can edit it if i click edit button below record, after clicking it takes you to another page whihc shows textboxes and dropdown, checkboxes to edit and all textboxes contains values for that EmpID but problem is that i want pre selected value …

Member Avatar for cxzei
0
258
Member Avatar for Teezy7

i would like to know which is better to program with asp.net or mvc? what are the differences between the two?

Member Avatar for deceptikon
0
370
Member Avatar for grafic.web

Hi, i was wondering how is working with MVC to put my website on the webserver!! I mean, my fear is about the database... if i make some change on my code and i wnat to put the project on the server, will i lose my data on the database …

Member Avatar for JorgeM
0
207
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
Member Avatar for grafic.web
0
485
Member Avatar for grafic.web

I am learning MVC and i would love to do my web site with different languages... if the site come from my domain mysite.fr i wanna show french, if comes from mysite.it i wanna show italian.. etc etc So, i did all what the e tutorial asked me to do …

Member Avatar for grafic.web
0
457
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, how can i apply a simple text editor to my textbox "SUBTITLE" and a full text editor to my textbox "BODY" in MVC? Thanks

Member Avatar for pritaeas
0
137
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 grafic.web

Hi, i am looking for a full tutorial for MVC4!!! I need a complete tutorial where i can manage user registration and one list of articles with relative reviews!! Can anybody help me with this??? If you can tell me some links where i can find something like this (because …

Member Avatar for grafic.web
0
175
Member Avatar for thiemebr

What would be the best approach to have multiple Admins create its own users in asp.net mvc? Using Role? Thanks

Member Avatar for mmoenhiukla
0
120
Member Avatar for HunainHafeez

i am calling store procedure from MVC, which returns single record only. SP contains: PROCEDURE [dbo].[GetMonthlyReport] @emplID INT = NULL, @month VARCHAR(50) = NULL AS BEGIN IF (@emplID IS NOT NULL AND @month IS NOT NULL) --If Block begins BEGIN SELECT * FROM MonthlyRecord WHERE Month = @month AND EmplID …

Member Avatar for HunainHafeez
0
111
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 dbalas

Hi all! I am sorry if im asking same thing for the nth time but i can not find the answer to my question... I have problem adding partial views... I have One-to-Many relation in the database tables. My Model is: using System; using System.Collections.Generic; public partial class Job { …

Member Avatar for PoorRogue
0
545
Member Avatar for haymen.roth.3

i am receiving Emplid in this action, public ActionResult showDDL(int? EmplID = null) { ViewBag.EmplID = EmplID; if (EmplID == null) { IEnumerable<GetAtdRecord_SpResult> EmployeeAtd_2 = DataContext.GetAtdRecord_Sp(0).ToList(); return View(EmployeeAtd_2); } else if (EmplID != null) { IEnumerable<GetAtdRecord_SpResult> EmployeeAtd_2 = DataContext.GetAtdRecord_Sp(EmplID).ToList(); return View(EmployeeAtd_2); } return View(); } View: @{ var grid = …

Member Avatar for PoorRogue
0
169
Member Avatar for grafic.web

Hi there, Once i done my project whit MVC how should i make it working on line? I mean, i would love to put on line via FTP but the project seems too big for this... which filese shoult i upload? and how?? Thanks

Member Avatar for JorgeM
0
164
Member Avatar for haymen.roth.3

In if else structure when null arguments are passed to two string variables then it always hit the condition when i have set Var1 != "" && Var2 != "" why ? since nulls are passed to both then why it hits this condition ? code: public ActionResult ShowCalTextBox(String DateFrom, …

Member Avatar for JorgeM
0
125
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
0
104
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
233
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
138
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

The End.