Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 28 results for
textboxfor
- Page 1
Is this considered scaffolding?
Programming
Web Development
9 Years Ago
by ShadyTyrant
…LabelFor(model => model.FirstName, "First Name") @Html.
TextBoxFor
(model => model.FirstName) @Html.ValidationMessageFor(model => model.…(model => model.LastName, "Last Name") @Html.
TextBoxFor
(model => model.LastName) </div> <div …
How to insert data to multiple entity in same time
Programming
Web Development
7 Years Ago
by _1_14
… (Html.BeginForm()) { <div> Name:@Html.
TextBoxFor
(a=>a.Name) <br /> Salary:@Html…gt; a.Salary) <br /> Email:@Html.
TextBoxFor
(a => a.Email) <br />…
ASP.NET MVC model not passed to view
Programming
Software Development
4 Years Ago
by MagnusTheRed90
…; <div class="col-md-8"> @Html.
TextBoxFor
(model => model.SiteName, new { @class = "form-control&…; <div class="col-md-8"> @Html.
TextBoxFor
(model => model.LoginUrl, new { @class = "form-control&…
Using httppost
Programming
Web Development
11 Years Ago
by Duki
….LabelFor(model => model.Score, "New Score "); @Html.
TextBoxFor
(model => model.Score, new { maxlength = 10, style = "width…
Re: Using httppost
Programming
Web Development
11 Years Ago
by Duki
….LabelFor(model => model.Score, "New Score "); @Html.
TextBoxFor
(model => model.Score, new { maxlength = 10, style = "width…
MVC Model not posting
Programming
Web Development
11 Years Ago
by divin757
…> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div>@Html.
TextBoxFor
(m => m.Password,new{placeholder="Password",type…
Banking Project
Programming
Software Development
10 Years Ago
by Blogboy2
…/09/22/asp-net-mvc-16-html-textbox-and-html-
textboxfor
-helper-methods/ } [HttpPost] public ActionResult Transfer(int amount) { if (ModelState…
need help creating HTML Helper
Programming
Web Development
9 Years Ago
by Taras20
…="control-label">blabla</label> @Html.
TextBoxFor
(m => m.DataTitle.blabla, new { @class = "form-control…
file upload control-- input files && input files 0 not working in ie9
Programming
Web Development
9 Years Ago
by sushmaja.arumalla.9
… upload control in MVC. My DOM element looks like @Html.
TextBoxFor
(m => m.logo, new { id = "logoUpload", type…
Re: Not getting model from view post
Programming
Web Development
11 Years Ago
by LastMitch
…;% using (Html.BeginForm()) { %> <%: Html.
TextBoxFor
(x => x.employeeId) %> <%: Html.
TextBoxFor
(x => x.employeeName) %> <%: Html… => x.bundleDescription) %> <%: Html.
TextBoxFor
(x => x.packageId) %> <%: Html.
TextBoxFor
(x => x.packageContents) %> <input…
Re: ASP.NET MVC 3 RAZOR ILIST
Programming
Web Development
11 Years Ago
by LastMitch
…","ControllerName", FormMethod.Post)) { @html.
TextBoxFor
(m => m.WorkDate) @html.
TextBoxFor
(m => m.WorkHour) <input type="…;ControllerName", FormMethod.Post)){ @html.
TextBoxFor
(m => m.WorkDate) @html.
TextBoxFor
(m => m.WorkHour) @html.
TextBoxFor
(m => m.PhoneNumber1) @html…
Re: ASP.NET MVC 3 RAZOR ILIST
Programming
Web Development
11 Years Ago
by ryan311
@html.
TextBoxFor
(m => m.WorkDate) @html.
TextBoxFor
(m => m.WorkHour) This is one mitch. How long have you learn ASP.net? newbie :( i've started last month. So i'm still learning on it.
Re: ASP.NET MVC 3 RAZOR ILIST
Programming
Web Development
11 Years Ago
by LastMitch
…","ControllerName", FormMethod.Post)) { @html.
TextBoxFor
(m => m.WorkDate) @html.
TextBoxFor
(m => m.WorkHour) <input type="…
Re: ASP.NET MVC 3 RAZOR ILIST
Programming
Web Development
11 Years Ago
by ryan311
Hi mitch how to add another @html.
TextBoxFor
(m => m.WorkDate) @html.
TextBoxFor
(m => m.WorkHour)?
Re: C#.NET MVC
Programming
Web Development
13 Years Ago
by judithSampathwa
…; <div class="editor-field"> <%= Html.
TextBoxFor
(model => model.Id) %> <%= Html.ValidationMessageFor(model =>…
Re: Little bit confused about which language to choose after PHP
Programming
Web Development
9 Years Ago
by veedeoo
…> <div class="editor-field"> @Html.
TextBoxFor
(Function(m) m.UserName) @Html.ValidationMessageFor(Function(m) m.UserName…
Re: Auth cookie doesn't work
Programming
Software Development
6 Years Ago
by overwraith
…="col-sm-9 form-control-static"> @Html.
TextBoxFor
(login => login.EmailAddress, new { @class = "form-control"…
Re: Is this considered scaffolding?
Programming
Web Development
9 Years Ago
by ShadyTyrant
I appologize for the noob post again. I do believe this counts as using ASP.net scaffolding and have changed my source code. Thank you.
Re: Is this considered scaffolding?
Programming
Web Development
9 Years Ago
by PoorRogue
Scaffolding is using the development environment to generate an initial layout which you can then customize. The code example you provided uses helper functions to generate the HTML code for the page. If the activity was to hand code using only HTML then the use of helper functions might not have been appropriate. If the objective was not to auto-…
Re: How to insert data to multiple entity in same time
Programming
Web Development
7 Years Ago
by rubberman
So, what exactly is your problem? Have you considered writing a stored procedure in the database that can take the relevant data and do those inserts within the scope of a single transaction? That is a LOT safer than doing the inserts directly in your web code.
Re: How to insert data to multiple entity in same time
Programming
Web Development
7 Years Ago
by _1_14
I need to use linq to entity becuase it can to work in any database(oracle,sql) only write command in interface one time can you help me to add data to tables above using linq to entity
Re: ASP.NET MVC model not passed to view
Programming
Software Development
4 Years Ago
by MagnusTheRed90
Sorry, the problem is that the code is not posting the model on reply. It is not filling the text box when I click the generate password button. The model does not post.
Re: MVC Model not posting
Programming
Web Development
11 Years Ago
by BMXDad
Try FormCollection in your controller and see if anything is coming through that way.
Re: MVC Model not posting
Programming
Web Development
11 Years Ago
by divin757
That works but how could I make it work with a model? I have another page that is almost identical and it passes back a model like I would expect.
Re: MVC Model not posting
Programming
Web Development
11 Years Ago
by BMXDad
If your doing any async postbacks prior to the submit, then the model will be emptied after the postback, unless you re-popluate it on each ajax call.
Re: MVC Model not posting
Programming
Web Development
11 Years Ago
by divin757
There is no ajax on the page. All I want is that one textbox to send me the result and then I will redirect to somewhere else.
Re: MVC Model not posting
Programming
Web Development
11 Years Ago
by divin757
I managed to get it to submit the password by changing the parameter name on the controller... I have no idea why that would that make a difference.
Re: MVC Model not posting
Programming
Web Development
10 Years Ago
by BMXDad
They match now, right? Case sensitivy?
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC