Set textbox value inside grid
<p>Anyone know how to set value textbox inside grid when edit mode is on? 
1. i have textbox name aggregation :
2. i just want to set some value to those textbox when edit mode is on by button. so i have button :
3. i need to define those code in javascript ex setValue() :</p>

<pre><code>function setValue() {
    var grid = $('&lt;%=gvVariableConfig.ClientID%&gt;');
    ........(what i need to do is here, anyone help)
    }
-----------------------------------------------------------------------------
    &lt;asp:TemplateField HeaderText="Aggregation" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="5%" ItemStyle-Width="5%"&gt;
                            &lt;EditItemTemplate&gt;
                                &lt;asp:TextBox ID="txtAggregation" runat="server" Text='&lt;%# Bind("AGGREGATION") %&gt;' Width="91%"&gt;
                                &lt;/asp:TextBox&gt;
                                &lt;asp:Label ID="lblAggregation" runat="server" Text='&lt;%# Bind("AGGREGATION") %&gt;' Visible="false"&gt;
                                &lt;/asp:Label&gt;

                            &lt;/EditItemTemplate&gt;
                            &lt;ItemTemplate&gt;
                                &lt;asp:Label ID="lblAggregation" runat="server" Text='&lt;%# Bind("AGGREGATION") %&gt;'&gt;
                                &lt;/asp:Label&gt;
                            &lt;/ItemTemplate&gt;
                        &lt;/asp:TemplateField&gt;

----------------------------------------------------------------------------   

    &lt;button type="button" style="width: 100%;" onclick="setValue()"&gt; Assign to Aggregation&lt;/button&gt;
</code></pre>

<p>anyone can help?</p>
