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
Dhilipkumar r
NA
100
4.7k
Disable a GridView, but enable a template field column
Mar 11 2017 2:14 PM
Hi,
Is it possible to disable a gridview and enable a templatefield inside a column?
grdEmployee.Enabled=
false
;
and which contains a template field of linkbuttons
<
asp:TemplateField
HeaderText
=
"Branch"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"txtBranch"
runat
=
"server"
Text
=
'<% Bind("Branch") %>'
/>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkBranch"
runat
=
"server"
Text
=
'<% Bind("Branch") %>'
OnClientClick
=
"openPopupWindow()"
/>
</ItemTemplate>
</asp:TemplateField>
But whenever I disable the gridview, the linkbutton disappears and the column appears as plain text. I want to disable the gridview but not the linkbutton template field column
Thanks in advance
Reply
Answers (
1
)
I'm getting this error while running in asp.net
I have website configured in IIS 7.5 i want to edit some of