Gridview item template refresh
Posted
by morsanu
on Stack Overflow
See other posts from Stack Overflow
or by morsanu
Published on 2010-05-13T12:10:36Z
Indexed on
2010/05/13
12:14 UTC
Read the original article
Hit count: 197
<asp:TemplateField HeaderText="Quantity" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left">
<ItemTemplate>
<%#GetQuantityRemaining((int) Eval("Id")) %>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Left"></HeaderStyle>
<ItemStyle HorizontalAlign="Left"></ItemStyle>
</asp:TemplateField>
Every time the user clicks on some buttons or modifies some fields, I need to update this field, calling the GetQuantityRemaining method again. Is there a way to do that?
© Stack Overflow or respective owner