205 Topics
| |
[CODE] RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php/$1 [/CODE] my url = localhost/mvc/ i work on windows in xampp i have a problem when i go to my url /404 i thinks i am on localhost/ so it redirects me to localhost/xampp/splash.php but it … | |
Here is a snippet from my _layout.cshtml file from one of the projects I am involved with... [CODE]<link href="@Url.Content("~/Content/themes/ohl/jquery.ui.all.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.ui.selectmenu.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery-ui-1.8.16.custom.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.checkbox.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.safari-checkbox.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.autocomplete.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/PagedList.css")" rel="stylesheet" … | |
Hey guys, what the best practice for session check without duplicate code. I mean when check the session in some controller I have to duplicate the code to other controller, and that is not a good idea. <?php [CODE]class Ctrl extends Controller { private function _ses_check() {...} } class Second_ctrl … | |
From what I understand, ALU is exclusively for mathematical operations. For simple tasks like reading a web page, saving a text file, copying data etc., are arithmetic operations used or can the processor do it without using that? I don't have much knowledge about computer architecture, but it seems to … | |
Hi :) i am creating a game in C# the game contain a lot of windows and views i heard about mvvm & mvc design pattern but when i search for them i get only things that relative to asp & wpf... and those are (if i dont get it … | |
Hi guys I would like to ask your opinion on the following: What 's the best platform to create Web Business Applications ? ASP. net MVC 3??? I really want to get expert insight on this subject. Regards Edson | |
Hello, I would like to know how can I put a binary number such as 110 in a register in MIPS? Thanks, | |
I need a little help architecting a process that is a little beyond my skill set so if I could get a little help in how to approach this, I would appreciate it. Basically: BigBox Corporation has 15,000 employees in multiple countries. They want to build a communications system consisting … | |
I would like to know what kind of CPU architecture I should choose for creating my first operating system. I personally would like to give it a go with trying out a RISC type CPU, but if it's better to try it out on an x86 or some other type … | |
I am having trouble completing This hangman project. It mmost be done using model view controller pattern. Here is what i have so far //Header file declarations import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.FileInputStream; import java.io.IOException; import java.util.Scanner; //Class declaration class HangmanModel extends JFrame implements ActionListener { … | |
Does websites done in MVC 3 is fully compatible with IIS7? | |
As I understand VIEWS - is where the HTML. CONTROLLERS - are the methods controlling views. MODELS - is where the "querying" (SQL) that controllers used? Can I ask for a simple example on how to use this M-V-C? actually the example available didn't help much, just more questions. How … | |
I am trying to add a data(string) to a url in javascript and pass to java controller. In server side i am using spring mvc. The javascript code below redirects to the save.htm with the data concatenated. I couldnt figure out how to catch. Is there any way to pass … | |
Hi, I want to write ACL. The access groups and access tasks are arbitrary. That means that any group can be given any access and initially accesses and groups are unknown. Creating groups is easy but I have hit a wall on how do I create/Implement limiting the tasks. Example: … | |
I am having a time trying to figuring out the routing procedure in MVC 3. I have tried the route.add and even copied the routes.MapRoute given to me by the global.asax.cs page. I get the theory of the following; routes.MapRoute("simple", "("controllername", "action", and "id")"); I have a link on one … | |
Since I decided to reinvert the wheel and write a growing MVC, I though having a template class will be cool. Now I have never done any complex templating apart from simple include kind of templating. Now I wrote this base class and here is my concept is explained below. … | |
Hi, I need to have VB ASP.NET MVC controller action that receives the pk from the current record, looks up the spouse id and redirects to that record. I'm very inexperienced with MVC so please excuse if this is totally wrong. Any help, comments or suggestions are greatly appreciated. [CODE] … | |
| I am new to ASP.NET MVC. I love and heavily used ASP.NET Web Form's User Controls. But I couldn't find anything to help me in developing MVC User Contols. Please tell me about User Controls in ASP.NET MVC. |
Hi all, We have created websites before in [B]asp.net[/B], but now we are going to create A CRM System (Contacts,Messages,Tasks,Payrolls,Employee Management,Dashboards) using [B]MVC3[/B]. My main concern is customization of screens according to User and flexibility in the sense in future if I want to adopt third party Mail component or … | |
I'm making personal MVC framework skeleton I plan to build all sites on it (reserve your question pls on why not CI or CakePHP et al). Now Thinking of session security, one option is database. I was wondering whether storing session data in root_app/tmp/sessions/ would be better as/more than database! … | |
Hi there everyone, I really hope someone can help me, I am working with Visual C++ with QT libraries and using... well... something that represents MVC (long story)... now I need to pass a const QString& from my 1 controller class to the model of another class... When doing so … | |
Hi, I'm making an MVC pattern based app and I though I would learn the principles first. I have reached a stage I need to connect the three elements. When Controller receives user action It calls right model. Now I need to register callback function so that when Model is … | |
Hi, I'm really stuck on hooking into the clientside events of the validationsummary. It is showing correctly when form fields are invalid but I would like to do something fancy like fade the summary in on form submission and fade it out again after a few seconds. This should be … | |
Hi folks, I'm looking for examples on MVC where I can compare table/records/fields side by side A sort of database explorer. I could do this in web forms using the 'old' style post backs and click events but I'm unsure how to approach this from an MVC starting point. So … | |
I have been learning PHP MVC pattern and it is pretty cool. have almost finished app and I can see how mess you can make a code without good design. Now can MCV be applied to C++ apps? Where does Plugin manager/Plugins go if that is even possible?In model or … | |
Hi guys, I was requested to makes a 3D house plan, which a user can be able to move about in, using the keyboard or mouse. Like in games. I'm relatively good in Carrara, VB and C++ but I'm new to game programming. :S I need your help on how … | |
Hi, Suppose i have a model with a validation [CODE]public class LoginModel { [Required(ErrorMessage="ID not entered")] [StringLength(5,ErrorMessage = "Length should be 5")] public string Id { get; set; } }[/CODE] In the view page i have a text box. When the validation fails. The controller returns to the view page … | |
I have a Telerik MVC Grid where I have a column as " select " , " edit" forwhich I have used Format Property to show Links to my ActionMethods . Now I want to show the selected Row text in Bold when someone clicks on " Select" / " … | |
This past Summer, Microsoft announced the beta of a new product called WebMatrix. Two weeks ago, the third beta came out. But before I talk about it, I have to ask: Is this a new product? Or am I having déjà vu?[ATTACH]18093[/ATTACH]WebMatrix (one word) is, in fact, a brand new … |
The End.