204 Topics

Member Avatar for
Member Avatar for moaz.amin.37

It is commanly said that java is architectural neutral what is the basic concept of this.I want brief answer on it and some examples of this.

Member Avatar for jwenting
0
436
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
210
Member Avatar for pwolf

I am considering learning some server side stuff with java, however I am getting mixed views and opinions when searching. I read a benchmark that claims java has superior performance than most alternatives, and I was considering taking a look at grizzly or spring, but I really don't know too …

Member Avatar for Taywin
0
352
Member Avatar for sachinst

[HttpPost] [AllowAnonymous] [ValidateAntiForgeryToken] public ActionResult Login(LoginModel model, string returnUrl) if (ModelState.IsValid && WebSecurity.Login(model.UserName, model.PasswordpersistCookie: model.RememberMe)) { return RedirectToLocal(returnUrl); } ModelState.AddModelError("", "The user name or password provided is incorrect."); return View(model); } Can I get to know a good source for unit testing this. I am new to unit testing.

Member Avatar for geniusvishal
0
150
Member Avatar for veedeoo

**Part One**: Learning the Basic Patterns **Disclaimer**: please pardon my spellogrammatico errors. I am not really a rough draft person. I type and write codes the split seconds as they crossed my mind, otherwise I will get extremely lazy and then will eventually hibernate like a tardigrade. I hope I …

Member Avatar for veedeoo
3
2K
Member Avatar for haymen.roth.3

i am picking list of names from database, according to scenario each name exists many times in database, That's ok. Now i have filled a DROPDOWNLIST with those names but in drop down list each name appears several times but i want to display each name 1 time in DROPDOWN. …

Member Avatar for sushmaja.arumalla.9
0
178
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 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
280
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
167
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
263
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
371
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
208
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
110
Member Avatar for grafic.web
Member Avatar for grafic.web
0
487
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
459
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
177
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
112
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
165
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

The End.