prayaanam Posted April 12, 2013 Report Posted April 12, 2013 Kotta project antha MVC paina... Konni doubts vunnayi....NET lo info dorakatledu complete ga...atleast i don't understand it clearly... please help
losser Posted April 12, 2013 Report Posted April 12, 2013 mvc antey full form anna eyyara babuuuuuuuuuuuu
prayaanam Posted April 12, 2013 Author Report Posted April 12, 2013 [quote name='@Shadow@' timestamp='1365781574' post='1303591546'] whats your question? post here.... [/quote] I am new to MVC but have good exp on asp.net. Konni basic structural questions vunnayi...
karna11 Posted April 12, 2013 Report Posted April 12, 2013 [quote name='prayaanam' timestamp='1365781727' post='1303591580'] I am new to MVC but have good exp on asp.net. Konni basic structural questions vunnayi... [/quote] questions adugu baaa mundhuuu sodi veyyakundaa 1
prayaanam Posted April 12, 2013 Author Report Posted April 12, 2013 [quote name='karna11' timestamp='1365781643' post='1303591563'] cheppu ? enti [/quote] Lemme know if i can call you...if yes, please lemme know the time also..
prayaanam Posted April 12, 2013 Author Report Posted April 12, 2013 [quote name='Ukkumanishi' timestamp='1365781800' post='1303591591'] Bolo bhayya [/quote] [quote name='prayaanam' timestamp='1365781804' post='1303591592'] Lemme know if i can call you...if yes, please lemme know the time also.. [/quote] Here you go... 1.button click / dropdown change oka action method ni call cheyyalantey ...daaniki em cheyyali..?
paampachak Posted April 12, 2013 Report Posted April 12, 2013 [quote name='prayaanam' timestamp='1365781804' post='1303591592'] Lemme know if i can call you...if yes, please lemme know the time also.. [/quote] Neeku time gaani unte MVCMusicStore ani tutorial untundi adi best.
prayaanam Posted April 12, 2013 Author Report Posted April 12, 2013 2. View lo oka dropdown list inkoka dropdown list ni update cheyyalantey how we do it..? Ikkada event handling vundadu kada...?
prayaanam Posted April 12, 2013 Author Report Posted April 12, 2013 3. View change chesinappudu modal kooda update avvalantey em cheyyali..?
@Shadow@ Posted April 12, 2013 Report Posted April 12, 2013 try this http://www.pluralsight.com/training/Courses/TableOfContents/mvc4
paampachak Posted April 12, 2013 Report Posted April 12, 2013 [quote name='prayaanam' timestamp='1365781879' post='1303591601'] Here you go... 1.button click / dropdown change oka action method ni call cheyyalantey ...daaniki em cheyyali..? [/quote] Razor tho cheste - @using (Html.BeginForm("Create", "Details", FormMethod.Post, new { id = "createForm" })) find how to create Form ni submit chesetappudu DetailsController lo Create ane Post method ni call cheyyali .. the following function will save the model into Database [HttpPost] public ActionResult Create(Details model) { if (ModelState.IsValid) { model.IDate = DateTime.Now; db.Assets.Add(model); db.SaveChanges(); IModel iModel = new IModel(); iModel.IssueDate = DateTime.Now; iModel.SerialNumber = model.SerialNumber; iModel.UserName = model.AssetHolderName; iModel.CreateName = "Admin"; iModel.Status = "Created"; iModel.AssetType = model.AssetType; idb.IssueLogs.Add(iModel); idb.SaveChanges(); }
paampachak Posted April 12, 2013 Report Posted April 12, 2013 [quote name='prayaanam' timestamp='1365782051' post='1303591629'] 3. View change chesinappudu modal kooda update avvalantey em cheyyali..? [/quote] When you navigate between views, aa view ki related lo controller untundi. Every view can support one model (if you don't use partial views) so aa new view lo new model icchuko.
Recommended Posts