177 Topics

Member Avatar for
Member Avatar for nosfa

Hi. I have to do a MVC project and I don't know exactly how to do it. on the clientside I will have an input form the data (at least two codes and up to 8) will be sent to the server (best way?) then the server will access a …

Member Avatar for nosfa
0
331
Member Avatar for shany0786

This may appear as child problem but i have confusion about this When we document Root what this means?? I am creating directory strucure for framework eg this is directory structure from code tutsplus `----public Document root where public files are accessed -css -images -content -js ------ Resources -library -template …

Member Avatar for shany0786
0
381
Member Avatar for RudyM

What is the best practice for including JQuery in Codeigniter? I've tried including the following line in my controller code: $this->load->library('javascipt/jquery'); But, when the page loads, I get > Unable to load the requested class: Jquery My setup is using xampp, CodeIgniter folder "CI" is located in /htcdocs/ci/. Thanks in …

Member Avatar for RudyM
0
248
Member Avatar for strRusty_gal

Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions.

Member Avatar for pritaeas
0
352
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
306
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 …

Member Avatar for stultuske
0
1K
Member Avatar for Ventech_IT

Hi there so i was just wondering how i would go about developing some sort of page to display whether or not a module has been loaded or not, is there some simple way to do this that can scan your web app on launch and then report if a …

Member Avatar for Ventech_IT
0
205
Member Avatar for JerrimePatient
Member Avatar for JerrimePatient
0
217
Member Avatar for Mihailo_1

I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got …

Member Avatar for Mihailo_1
0
258
Member Avatar for JerrimePatient

Action link in my nav menu <li>@Html.ActionLink("Log Off", "Logout", "Account")</li> My Logout.cshtml codes. @{ ViewBag.Title = "Log Out"; Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("~/../Home/Index.cshtml"); } Why I can't access my logout form?

Member Avatar for DaveAmour
0
174
Member Avatar for erum

i have following code @model EMS1.Models.UsersViewModel @{ ViewBag.Title = "List of users"; var grid = new WebGrid(source: Model.users, canPage: true, rowsPerPage: 10); grid.Pager(WebGridPagerModes.All); } @{ ViewBag.Title = "IndexViewModel"; } <script src="@Url.Content("~/Scripts/jquery-1.6.1.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script> <h2>Grid</h2> <style type="text/css"> .table { margin: 4px; border-collapse: collapse; width: 300px; } …

Member Avatar for pritaeas
0
153
Member Avatar for JerrimePatient
Member Avatar for Vijay_18
0
177
Member Avatar for JerrimePatient

[Autorize] I want to set the page if the user is not currently login in MVC. How can I do it? I want to set it in "User/Login"

Member Avatar for JerrimePatient
0
160
Member Avatar for JerrimePatient

I want to insert from product (id, name, price). How can I insert it using mvc[c#], mssql manually.

Member Avatar for pritaeas
0
325
Member Avatar for JerrimePatient

Here's my product table. [id, name, price, description, unit] For example. I want to edit only the name and description. How can I do it in mvc?

Member Avatar for JerrimePatient
0
251
Member Avatar for erum

i have two controller customer and order in mvc Application ..I wnat to show customer in drop down list in order controller when click on order create ..or click on following url .http://localhost:1957/order/Create any help ..

Member Avatar for erum
0
136
Member Avatar for diafol

Anybody using L5 yet? Just got to grips with 4.2 and thought I had it cracked. L5 was a shock. The "simplicity" of 4.2 has disappeared IMO. The documentation sucks too. But I don't want to be a hater. Am I missing out on rolling back to 4.2? I've read …

Member Avatar for matrixdevuk
0
275
Member Avatar for romiaujla

A method in the **controller.php** file public function invoke() { if (isset($_GET['book'])) { // show the requested book $book = $this->model->getBook($_GET['book']); include 'view/viewbook.php'; } else if(isset($_GET['add_book_form'])) { $action = $_GET['add_book_form']; include 'view/add_book.php'; } else if(isset($_GET['add_book'])) { $title = $_POST['title']; $author = $_POST['author']; $description = $_POST['description']; $this->model->addBook($title, $author, $description); include("view/add_book.php"); } …

Member Avatar for charlie_3
0
597
Member Avatar for Ahmed_39

Hi i have crate an Partial view with name "_Menu" it's view items as menu and sub menu in my website _Menu Partial view Code: @model IEnumerable<MainCats> @using GoShope.Models.GoShopeDB; @{ IList<MainCats> mainList = Model.Where(id => id.IsCompany == true).ToList(); } <div class="panel-group category-products" id="accordian"> <div class="panel panel-default"> @foreach (var item in …

Member Avatar for pritaeas
0
684
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 game4tress

I'm trying to create an ASP .NET MVC WebSite that allows the user to enter the website without providing any additional information or by specifying an id or a name. Is this possible? How? I've tried the following method but it's not working public void Index() { //... ProcessClient(); } …

Member Avatar for wazz
0
288
Member Avatar for mayyubiradar

Hello All, I have searched every forum and google etc but nothing directed me in right path. Requirement: I am using a COM object which can be initialized only once. But, when I try with webapi the first run goes fine and the rest fails as the COM object does …

Member Avatar for pritaeas
0
1K
Member Avatar for wasfa

I want to show record of one row in multiple rows of webgrid. How can i achieve this. View @grid.GetHtml( tableStyle: "grid", headerStyle: "head", alternatingRowStyle: "alt", columns: grid.Columns( grid.Column("vehicleType","Type"), grid.Column("make", " Make"), grid.Column("modelType", "Model"), grid.Column("color", "Color"), grid.Column("registartion", "Registartion"), grid.Column( header: "Action", format: @<text> <a href="DeleteVehicle#" id="deleteLink" onclick="DeleteVehicle">Delete</a></text>) ) ) instead …

Member Avatar for RONAK_1
0
144
Member Avatar for morfious90

I have Book of ASP.net 4.0 2010 by kogent learning solution ........... this Book is very large to study ... i just want to know to learn important section of book.. because i have 1 to 2 month to apply for job .... this book is very big i think …

Member Avatar for hericles
0
262
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
204
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
351
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
148
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
174
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
166

The End.