TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Paul Rajs
NA
641
146.6k
Enable Disable Button in GridView based on condition in ASP.Net
Oct 3 2020 5:09 AM
Hi Friends,
In the below code if status is A means enable otherwise disable ... but I want Enable status if A or B otherwise disable the button ...
How can i make do it ... if anyone know kinldy suggest me
Thanks & regards
Paul.S
Enabled='<%#Eval("Status").ToString().Equals("A")%>'
<asp:Button ID="btnupdate" class="btn btn-primary" runat="server" OnClick="btnUpdate_Click" Text="Update VRN" ToolTip="Click to Update" Enabled='<%#Eval("Status").ToString().Equals("RCBook not yet Upload")%>'/>
Reply
Answers (
3
)
add assembly reference
How to integrate google classroom in asp.net core