204 Topics

Member Avatar for
Member Avatar for cored0mp

I was thinking that one way that a coding team could work would be that coders would be rotated through several roles. This would prevent people from getting too comfortable towards the goal of preventing problem areas (code quality wise) from developing in the department. * Architecture * Production Coding …

Member Avatar for chuckc
1
111
Member Avatar for dimitrilc

## Introduction ## In Android development, UseCases are classes that encapsulate business logic that are often used in ViewModel classes. UseCases belong to the optional Domain layer in Android apps, so they are not required, but can reduce your ViewModel’s complexity and make your application easier to test. In this …

2
477
Member Avatar for sushmaja.arumalla.9

I have a tab structured view which consists of 5 different tabs. the content in all the 5 tabs were same, So i have reused the code and rendered the same code multiple times using knockout js. the problem here is that I have a datepicker control too. As the …

Member Avatar for rproffitt
0
23
Member Avatar for 21303359

Hi. im developing a loan processing system using mvc c# asp.net. One of the requirements of the system is to perform a credit history check on the customer applying for a loan. so this is how it works: -the customer applies for a loan. the customers id number gets stored …

Member Avatar for Purvi_1
0
441
Member Avatar for erum

i have below code and i need to addd close button (x) on popover for each three popovers ,can any one help me how to do this <div class="row"> @*<div class="col-lg-1 popper" title="Note" data_toggle="popover">sdsda*@ <div class="col-lg-1"> <i class="ShowToolTip popper fa fa-eye LabTaskClass28 LabTaskClassforShowHideCol77" title="No task result for note" data_toggle="popover" style="/*! …

Member Avatar for ayoub_8
0
389
Member Avatar for aldeene

I need help.. someone please provide some suggestions where to start.. I'm trying so hard to become a Fullstack .Net developer.. I'm currently learning MVC using C#

Member Avatar for dojo
0
291
Member Avatar for DaveAmour

I've been studying TDD for a few years and read quite a few books but none that good to be honest. Can anyone recomend any good ones. I'm not interested in BDD but am keen on anything that tackles the many problems of mocking intrinsic MVC objects.

Member Avatar for dkalpesh1992
2
468
Member Avatar for overwraith

I have a bootstrap view which I am trying to get a modal working for. Unfortunately the modal is displaying as part of the page, not invisable. So it is displaying with it's content as part of the page. Here is my code: <!-- Placing excel upload modal here... --> …

Member Avatar for overwraith
0
586
Member Avatar for jmvazq

I am currently experiencing something strange with one of my routes' responses and haven't been able to find any information elsewhere. So, let's say I make a call to a route in my controller with JQuery, like this. It's a POST action and I expect JSON data. // Send the …

Member Avatar for pty
1
405
Member Avatar for man.chester.581

Im working on a one huge project that is combination of many sub projects which is talking to eachothers and they all use apart from data base whice responsible to manage user's account i dont want to work with one database so i have to isolate each project's database and …

Member Avatar for misabah
0
379
Member Avatar for ChrisHunter

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of `<script>debugger;</script>` tags in the db. Dispite my best efforts, the strings I've encoded to stop the debugger getting hit (to prevent an XSS attack), are still getting hit in developer tools. Is …

Member Avatar for ChrisHunter
0
834
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
167
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
194
Member Avatar for overwraith

Is it possible to make a web page that takes up responsibility for backing up a web applications tables(Oracle DB, and perhaps SQL server I am trying to be multi db supportive)? Essentially I want to create a database backup script that is kicked off by pressing a button on …

Member Avatar for overwraith
0
455
Member Avatar for RainaAnja

I am developing a website that gives statistics for soccer games,and i want to convert the schedule of the match depending on the time zone. I created this function but it seems not to be working. public static DateTime UtcToLocalTimeZone(DateTime argDateTime,TimeZoneInfo argTimeZoneInfo) { try { return TimeZoneInfo.ConvertTimeFromUtc(argDateTime, argTimeZoneInfo); } catch …

Member Avatar for JamesCherrill
0
1K
Member Avatar for erum

<pre> hi every one I am working on vs 2012 and mvc 4 ,just small project , i need to apply theme( http://all-free-download.com/free-website-templates/download/magic_city_template_2087.html ) and remove default one ,can any one help me how to do this ?? </pre>

Member Avatar for mooine
-1
381
Member Avatar for RainaAnja

<div class="list-group"> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","DayilyProposials")" > <span class="badge" style="font-size:10px;color:#fff" id="DailyPropNumber">0</span> <span style="font-size:10px;font-weight: 900;font-weight: 900;">Daily Proposals</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("HotG","home")"> <span class="badge" style="font-size:10px;color:#fff" id="HotGamesNumber">0</span> <span style="font-size:10px;font-weight: 900;">@index.Index.hotgames</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge"style="font-size:10px;color:#fff" id="TodayNumber">0</span> <span style="font-size:10px;font-weight: 900;">Today</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge" style="font-size:10px;color:#fff" id="ByTimeNumber">0</span> <span style="font-size:10px;font-weight: …

Member Avatar for diafol
0
377
Member Avatar for berserk

So here is my problem laid out as simple as I can put it. I cant combine multiple entities together that have related data but are different (one database table has id number that is shared by database table 2 and table 2 has employee number which is shared with …

Member Avatar for berserk
0
472
Member Avatar for Himanshu Chawla

using (MySqlCommand cmd = new MySqlCommand("SELECT EmpId, Emp_Name, Salary , Start_date , End_date , CASE WHEN (Employees.End_Date is null) THEN DATEDIFF(DATE_ADD(Start_Date, INTERVAL 30 DAY), Start_Date) * Salary/30 ELSE DATEDIFF(End_Date, Start_Date) * Salary/30 END AS Total_Salary From Employees;")) { using (MySqlDataAdapter sda = new MySqlDataAdapter()) { cmd.Connection = con; sda.SelectCommand = …

Member Avatar for rproffitt
0
470
Member Avatar for Krunal_3

Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both …

Member Avatar for KushMishra
0
288
Member Avatar for Stat_1

@model Stattips.Models.MatchesList <br /> <div class="col-sm-8 container-fluid"> <table class="table table-striped "> <tr rowspan="3"><ul class="breadcrumb"> <li><a href="#">Soccer</a></li> <li><a href="#">Albania</a></li> <li class="active">Kategoria Superiore</li> </ul></tr> <tr> <th>Matches</th> <th>Country</th> <th>Odds</th> </tr> @using (Html.BeginForm("AddMatches", "Matches")) { for (int i = 0; i < Model.Matches.Count(); i++) { <tr> <td> @Html.CheckBoxFor(m => Model.Matches[i].IsCheck) @Model.Matches[i].HomeTeam-@Model.Matches[i].AwayTeam @Html.HiddenFor(m => Model.Matches[i].HomeTeam) …

Member Avatar for rproffitt
0
339
Member Avatar for Violet_82

Hi guys, as I'm looking into the MVC pattern, I thought I'd create a small application to understand a bit more. Let's look at the code: //model package model; public class StudentModel { private String name; private String surname; private int number; public String getName() { return name; } public …

Member Avatar for JamesCherrill
0
1K
Member Avatar for lithium112

I have a SPA which uses an AngularJS front end and C# back end. The issue I'm having is when I navigate to the login page, it is using @Html.Partial("_LoginPartial"). The url then becomes .../Account/Login. When I click on say the "About" tab, this uses an AngularJS route which in …

Member Avatar for vsmash
0
223
Member Avatar for spud91

Im working on a small website and im a little confused on one step. I'm following a very simple mvc pattern, ive currently got one controller that creates a session array that holds all the posted data IF the form has been submitted, This data is coming from several different …

Member Avatar for spud91
0
330
Member Avatar for spud91

SEEMS AS IF MY ARTICLE HAS BEEN SUBMITTED TWICE. I DO APOLOGISE FOR THAT Hi guys, I'm working on a small website and I'm currently stuck on a small issue. Ive got a set of dropdown boxes created and populated in HTML, for example: <select name="heatingType" id="heatingType" required> <option value="" …

Member Avatar for spud91
0
259
Member Avatar for ryan311

public IList<Labour> Labours { get; set; } public class Labour { public string WorkDates { get; set; } public string WorkHour { get; set; } } I have this code above on my class. How can i add this to my Create View Razor? can anyone tell me please. Also …

Member Avatar for Sebastián
0
897
Member Avatar for veedeoo

This is a continuation of our basic tutorial on MVC Framework. In this section, we will be creating the template files for both the TBS and the Smarty template engines. **The recap** In [part one](http://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics), we have created application controllers, models, and the one and only lone View class. Once …

Member Avatar for Geetha_1
3
8K
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
179
Member Avatar for necrovore

Hi, I am working of a PDF to image converstion. I found ghostscriptsharp which is a c# wrapper written for ghostscript. I used it and developed my application. Most thing if not all worked fine when i was testing with my console application. After I integrated it into the webapp …

Member Avatar for necrovore
0
273
Member Avatar for jkon

Hello , first of all I need to make clear that although I understand , and have done projects modifying code that is already there (and created my own minions) , in the core of C and C++ I wouldn't consider to know those a bit, I have just a …

Member Avatar for jkon
0
279

The End.