16,004,602 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11114915 - Tanvi (Top 14 by date)
Member 11114915 - Tanvi
28-Sep-16 14:50pm
View
thanks Richard...will surely try to implement the same....:)
Member 11114915 - Tanvi
28-Sep-16 14:49pm
View
thanks David...i hv sorted this in different manner..by using elementat()...thank you for the solution....:)
Member 11114915 - Tanvi
28-Sep-16 0:58am
View
Hey.. TempData["Usr"] contains data which is same as of 'Res'
Member 11114915 - Tanvi
1-Sep-16 0:06am
View
I have updated the solution and added the query to get the characters between "=" and ";" irrespective of a length. Kindly try that one.
Member 11114915 - Tanvi
10-Aug-16 12:54pm
View
Instead of using return View("_Details", qry) , kindly use return View(qry); and also add below on Index view.
<fieldset>
tblCustomer
<div class="display-label">
@Html.DisplayNameFor(model => model.FirstName)
</div>
<div class="display-field">
@Html.TextBoxFor(model => model.FirstName)
</div>
<div class="display-label">
@Html.DisplayNameFor(model => model.LastName)
</div>
<div class="display-field">
@Html.TextBoxFor(model => model.LastName)
</div>
<div class="display-label">
@Html.DisplayNameFor(model => model.Address)
</div>
<div class="display-field">
@Html.TextBoxFor(model => model.Address)
</div>
</fieldset>
Member 11114915 - Tanvi
10-Aug-16 0:35am
View
Sure..thanks
Member 11114915 - Tanvi
10-Aug-16 0:14am
View
Thank you so much Karthik...Appreciate your efforts here...nw I am able to disable/enable the textbox on checkbox click event..:)
Member 11114915 - Tanvi
9-Aug-16 12:45pm
View
sure no issues..thanks in advance..:)
Member 11114915 - Tanvi
9-Aug-16 12:36pm
View
angular preferably but js can also work
Member 11114915 - Tanvi
9-Aug-16 10:00am
View
Could u pls share ur implementation..
Member 11114915 - Tanvi
9-Aug-16 9:59am
View
Nopz..
Member 11114915 - Tanvi
9-Aug-16 9:31am
View
Thank you Karthik for the reverts. Above is working only for top row and also disables the textbox when checkbox is checked..it should be other way around...kindly help here
Member 11114915 - Tanvi
9-Aug-16 7:58am
View
MVC controller
Member 11114915 - Tanvi
9-Aug-16 7:04am
View
Thanks Karthik for the suggestion. Here I have few fields populating from database and passed through controller . A foreach loop is used in view to get the data row wise and checkbox and textbox enabling disabling feature is required row wise. But suggested implementation is working for only first checkbox not for others. Kindly suggest here...
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.itemname)
</td>
<td>
<img src="@Url.Content(item.ImgLocation)" alt="IMAGES" />
</td>
<td>
<input type="checkbox" ng-click="flag1=!flag1"/>
<input type="text" ng-disabled="!flag1">
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
</td>
</tr>
}
Show More