S
Sachin
Hi All,
I had a simple ASP.NET application with five web forms.
Each web form had one Repeater contorl, with Add, Modify, and Delete
functionality.
It was working fine without any issues.
However, for the purpose of paging funcationliaty I chageed all Repeater to
DataGrid and any associated code.
However, one problem which I am facing is that whatever action I perform
(Add, Modify, Delete etc.) are not upadated immediately.
Every time, I have to restart the web app and then only all the changes are
visible.
I put the breakpoint and verified that the DataSource property of Datagrid
is modified after each action (Add, Modify and Delete, also it is the same
code that was working...)
Also, the worst thing is that if I try to create the same enrty multiple
times, it does not even throw the exception saying primary key violation
etc...
What could be wrong. I just changed repeater to datagrid and nothing else.
Why I have to restart the application to view the changes done?
Any pointer or help.
Thanks in advance
Sachin
I had a simple ASP.NET application with five web forms.
Each web form had one Repeater contorl, with Add, Modify, and Delete
functionality.
It was working fine without any issues.
However, for the purpose of paging funcationliaty I chageed all Repeater to
DataGrid and any associated code.
However, one problem which I am facing is that whatever action I perform
(Add, Modify, Delete etc.) are not upadated immediately.
Every time, I have to restart the web app and then only all the changes are
visible.
I put the breakpoint and verified that the DataSource property of Datagrid
is modified after each action (Add, Modify and Delete, also it is the same
code that was working...)
Also, the worst thing is that if I try to create the same enrty multiple
times, it does not even throw the exception saying primary key violation
etc...
What could be wrong. I just changed repeater to datagrid and nothing else.
Why I have to restart the application to view the changes done?
Any pointer or help.
Thanks in advance
Sachin