G
Guest
i have a GridView and a hidden field :
<asp:TemplateField Visible=false >
<ItemTemplate >
<asp:HiddenField Value="<%#Eval("isActive")%>"
id="hidIsActive" runat=server />
</ItemTemplate>
</asp:TemplateField>
1)when i check the sorce of html i dont see the hidden field - why is that?
2)on RowDataBound event, when i check the rows i want to check thr above
field value,and to do something on certin conditions.
the thing is that its value is set in a "Value" property while i try to
access using :
e.Row.Cells(5).Text
i wont get anything beacuse i access the wrong properrty
what can i do?
thnaks in advance
Peleg
<asp:TemplateField Visible=false >
<ItemTemplate >
<asp:HiddenField Value="<%#Eval("isActive")%>"
id="hidIsActive" runat=server />
</ItemTemplate>
</asp:TemplateField>
1)when i check the sorce of html i dont see the hidden field - why is that?
2)on RowDataBound event, when i check the rows i want to check thr above
field value,and to do something on certin conditions.
the thing is that its value is set in a "Value" property while i try to
access using :
e.Row.Cells(5).Text
i wont get anything beacuse i access the wrong properrty
what can i do?
thnaks in advance
Peleg