W
wildman
I've coded a gridview that has used bound data to determine if I
should show a button on a particular gridview row as follows:
<asp:TemplateField>
<ItemTemplate>
<asp:Button ID="Submit" Text="Test" CommandArgument='<
%#Eval("CNumber") %>' CommandName="Submit" Enabled='<%#
Test(Eval("ProcessId")) %>' runat="server" />
</ItemTemplate>
</asp:TemplateField>
Question is, how can I do the samething, but based on the value of
other columns that are yet to posted?
For example say I have a textbox column and dropdown column in the
grid. I only want the button to be visible if something has been
entered into the textbox and something has been selected on that row.
Thanks for any help or information!
should show a button on a particular gridview row as follows:
<asp:TemplateField>
<ItemTemplate>
<asp:Button ID="Submit" Text="Test" CommandArgument='<
%#Eval("CNumber") %>' CommandName="Submit" Enabled='<%#
Test(Eval("ProcessId")) %>' runat="server" />
</ItemTemplate>
</asp:TemplateField>
Question is, how can I do the samething, but based on the value of
other columns that are yet to posted?
For example say I have a textbox column and dropdown column in the
grid. I only want the button to be visible if something has been
entered into the textbox and something has been selected on that row.
Thanks for any help or information!