Hi,
I am trying to put an update panel inside a gridview by code. Below is the sample implementation.
<asp:GridView ID="gvOutput" runat="server"
AutoGenerateColumns="true" onrowdatabound="gvOutput_RowDataBound"
></asp:GridView>
protected void gvOutput_RowDataBound (object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
foreach (TableCell c in e.Row.Cells)
{
UpdatePanel up = new UpdatePanel();
up.ChildrenAsTriggers = false;
up.UpdateMode = UpdatePanelUpdateMode.Conditional;
DropDownList ddl = new DropDownList();
ddl.DataTextField = "Text";
...
Go to the complete details ...