Question: I am dynamically creating dragrids in different rows of an existing datagrid in asp.NET

My generated datagrids have a column which is TemplateColumn (a CheckBox Column).

In my parent datagrid, I have a template column with checkboxes. when I check or uncheck the value of the check box, the check\_change method is called (autopostback is set to true), the dynamically generated datagrids lose the checked checkboxes (the checkboxes are all unchecked again). However, if i check any of the checkboxes of the child (dynamically generated) grids and press F5, it refreshes the page but still I have my checked checkboxes.

What's happening ?? how is post-back different from refresh F5??? understanding this might help me fix my problem here :[DataGrid not being altered!](https://stackoverflow.com/questions/3307878/datagrid-tree-two-levels-dynamically-generated-grids-cannot-be-altered)

Answer: 
A "Refresh" simply calls the last request made for a page. So, if
you just browsed to a page then hit refresh, it simply asks for that page
again.

A Postback is essentially an action on the page that sends
information back to the server.
Ideally it is a PostBack but it will depend on your Browser Settings if you have set it to Request page from Server for every visit or it picks from the Local Histroy Cache.

Hitting the Refresh button will make a new request to the page from the server ,
and it will not change the status of the `Http Method(Get , Post)` , I mean it will not change the `IsPostBack` status for the page.

However submitting the form(posting the form) will set the `IsPostBack` property to true 
and about `page_load` it will be called for both of the cases