>>
>>This goes back to a topic I had discussed with you earlier about a grid and timing the events right to use the business object for inserts before the grid adds a row and presents it to the user for editing without all the default values. What I ended up doing is adding my own button that causes a postback (inside an update panel) to add a row to
>
>You can put this code pretty much anywhere in your code-behind. In your case, I'd put it right after you've added the new row. Assuming your EditAfterNew() function is always available, you just inject a call to this function with the grid ID.
>
>
>string script = string.Format("EditAfterNew('{0}');", this.grdTrucks.ClientID);
>Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "JustNameOfScript", script, true);
>
Great Paul Thanks. I will try that out.
What is "JustNameOfScript" for ?
Timothy Bryan