How to get celltemplate value at serverside click event

7 replies. Last post: July 1, 2014 10:41 PM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
x- rookieMember
I use webgrid with celltemplate as follows:
<Columns>
<ISWebGrid:WebGridColumn AllowGrouping="No" AllowSizing="No" AllowSorting="No" Bound="False"
                        Caption="choose" ColumnType="CheckBox" EditType="NoEdit" IsRowChecker="True" Name="sub_module_select"
                        ShowInSelectColumns="No" Width="30px">
                        <CellStyle Cursor="Hand" HorizontalAlign="Center">
                        </CellStyle>
                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        <ButtonStyle CssClass="clsButton">
                        </ButtonStyle>
                    </ISWebGrid:WebGridColumn>
<ISWebGrid:WebGridColumn Caption="edit" DataMember="f_access_flag" ColumnType="Template"
                        Width="150px">
                        <CellTemplate>
                            <asp:RadioButton ID="radAccessEdit" runat="server" Text="editable" Checked="true" GroupName="access" />
                            <asp:RadioButton ID="radAccessQuery" runat="server" Text="view only" GroupName="access" />
                        </CellTemplate>
                    </ISWebGrid:WebGridColumn>
</Columns>

I can get the each radiobutton value in InitialRow event,but how can i get these values in serverside event,
I don't want to update each row in UpdateRow event,I want to batch update in serverside click event,so how can I get these values?
All times are GMT -5. The time now is 4:58 PM.
Previous Next