Hi Utsav
Because the page is generated at the server and sent to the browser on every postback the dictionary is created newly on every postback.
What you have to do is to save the dictionary values in ViewState, end reload the dictionary from ViewState after postback. ViewState saves the values localy on the client, so the data is not lost on postback, you just have to reassign the data to the dictionary.
Amit
If this post was of any help to you,
Mark it
as Answer for the benefit of others, Thanks.

