I’m beginner for ASP.NET MVC , so I need to functioning create and edit using one user control (may use 2 views)
How can I do this.
Ex : Create new Product details and Edit product details
Thz....
I would use Templates. The followings are the great blog post series by Brad Wilson:
http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-1-introduction.html
http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-2-modelmetadata.html
http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-3-default-templates.html
http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-4-custom-object-templates.html
http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-5-master-page-templates.html
Good luck!
Related
HI,
i have large project which is created in asp.net webforms
I want to start using asp.net mvc withing the project.
How can i set it up? Have you some steps, helps guide pls?
thnx
Solved.
I have to convert existing website to web application. I have followed this guide
http://gurustop.net/blog/2008/08/03/converting-vs-2008-website-to-web-application/
Darin,
thank you for you info and it helped, as it gave me the right idea of approach.
You may take a look at the following blog post about how you could mix classic WebForms with ASP.NET MVC within the same application.
I'm building a .NET MVC application. This is mobile web and i cannot use jQuery.
In my application every process is a 3 step action witch leads me to a 3 aspx per process.
My processes can be categorized so i'd like to code my controllers like: ProcessTypeAController, ProcessTypeBController.
My Views should be like: \ProcessTypeA\Process1\1.aspx, \Views\ProcessTypeA\Process1\2.aspx and \Views\ProcessTypeA\Process1\3.aspx.
By convention this not work because the Controllers dont have the same "location" than Views.
Please Help in this question!
Thank U ALL.
You could specify the location of a view:
return View("~/Views/ProcessTypeA/Process1/1.aspx");
As an alternative you could write a custom view engine in order to modify the default view location conventions. Scott Hanselman wrote an excellent blog post about how this could be achieved.
Hi I'm developing a CMS with zend now My problem is how can I have two or more blog in this CMS I can make module with separate layout but which code I must add to my layout two show blogname or else ... maybe is another way?
You may just add another parameter to the action: module/controller/action/..../whichblog/second/ and create the controller plugin switching the layout and the logic.
You may be interested in creating blog service instead blog module.
I've seen there are questions here about how to integrate scripts in ZF. There are also some questions about FCKEditor. But I have found nothing about both ZF and FCKEditor.
Does anyone use FCKEditor with ZF?
Alternatively...is there an RTE which can integrate well with ZF?
Thank you
Hi there is a some pages that may be usefull:
http://blog.ekini.net/2007/11/28/using-fckeditor-with-zend-framework-file-browser-enabled/
http://www.leftcolumn.net/2009/03/10/zend-framework-how-to-add-fckeditor-to-a-zend_form/
http://vnwds.com/threads/20-Build-FCKeditor-in-your-Zend-Project-with-Zend_View_Helper
You should probably want to create zend form elements and a zend view helper. It would enable seamless zend framwork integration and can be reused to reduce any code duplication.
Here's an article explaining how:
FCKeditor Zend Form Integration
I'm trying to use Zend_ProgressBar in my project (made using MVC in Zend Framework).
Unfortunately, I cannot find any full example on how to use it. Zend Programmer's Reference Guide has only some code snippets, which are not enough for me. Basically, I don't know how incorporate Zend_ProgressBar with some action in a controller and associated views.
Does anyone know of the simples example or tutorial of zend application that uses Zend_ProgressBar?
I have created some demos for the case that the documentation may not be sufficient:
http://framework.zend.com/svn/framework/standard/trunk/demos/Zend/ProgressBar/