Rahulkilaru
09-08-2009, 04:51 PM
I have a issue while integrating .net Ajax with Spring components. Page buttons are only triggering action when the button is clicked odd number of times. when I removed this line from web.config <add verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web"/> I am getting null reference error but this error is being resolved when I lookup spring service from the application context which I don't want to do.
I figured out one thing when I set page size as 3 and click on next button odd number it calls javascript method.
__doPostBack('ctl00$ctl00$ctl00$MainContentPlaceHo lder$ChildContent2$ChildContent3$gridViewRouteDeta ils$ctl06$NextButton','')
and when it is even it calls
__doPostBack('ctl00$ctl00$ctl00$MainContentPlaceHo lder$ChildContent2$ChildContent3$gridViewRouteDeta ils$ctl13$NextButton','')
Difference is only ctl06 and ctl13.
when I clicked even number of times I get didn't get any error but it is not triggering any action. Please help me with this issue and let me know for any questions.
Thanks
Rahul
I figured out one thing when I set page size as 3 and click on next button odd number it calls javascript method.
__doPostBack('ctl00$ctl00$ctl00$MainContentPlaceHo lder$ChildContent2$ChildContent3$gridViewRouteDeta ils$ctl06$NextButton','')
and when it is even it calls
__doPostBack('ctl00$ctl00$ctl00$MainContentPlaceHo lder$ChildContent2$ChildContent3$gridViewRouteDeta ils$ctl13$NextButton','')
Difference is only ctl06 and ctl13.
when I clicked even number of times I get didn't get any error but it is not triggering any action. Please help me with this issue and let me know for any questions.
Thanks
Rahul