C
Constandinos
Hi
I have a very weird problem and very difficult to solve. There is a solution that I already know, but that is too time consuming and I need a quick answer if there is one
I have a big asp.net project that until earlier today was working fine and it was ready for Monday’s release. I did some minor changes to make it look nicer, some small changes here and there and suddenly I notice that the JavaScript function __doPostBack which I used a lot (mixed quite a lot of JavaScript and asp.net) stopped triggering any events. What I have done in the project is that I have a list where you can select something and a popup comes up and when the processing is finished, if the item on the list is changed I use the __doPostBack function to call a hidden linkbutton's click method and reload the list.
Similar functionality occurs in many places of the project and what happened is that it seems the __dopostback cannot find the methods any more. So, if I have this line __doPostBack('LinkButton1',''); the LinkButton1_Click method will not trigger! I have tried a lot of things like create a new project with all pages, controls, etc, but the problems still exists. Also what I have tried is adding new linkbuttons and call them like __doPostBack('newLinkButton1',''); and the newLinkButton1_Click method will trigger! That is my only possible solution, but that is a lot of work in a big project. I understand that if someone did not run into this kind of problem is highly unlikely to know the answer to it, but may be there are some people who can answer this question
I know that the problem is my code somewhere, but I have no idea where to look into! Any help will be appreciated
Thanks in advance
Constandino
I have a very weird problem and very difficult to solve. There is a solution that I already know, but that is too time consuming and I need a quick answer if there is one
I have a big asp.net project that until earlier today was working fine and it was ready for Monday’s release. I did some minor changes to make it look nicer, some small changes here and there and suddenly I notice that the JavaScript function __doPostBack which I used a lot (mixed quite a lot of JavaScript and asp.net) stopped triggering any events. What I have done in the project is that I have a list where you can select something and a popup comes up and when the processing is finished, if the item on the list is changed I use the __doPostBack function to call a hidden linkbutton's click method and reload the list.
Similar functionality occurs in many places of the project and what happened is that it seems the __dopostback cannot find the methods any more. So, if I have this line __doPostBack('LinkButton1',''); the LinkButton1_Click method will not trigger! I have tried a lot of things like create a new project with all pages, controls, etc, but the problems still exists. Also what I have tried is adding new linkbuttons and call them like __doPostBack('newLinkButton1',''); and the newLinkButton1_Click method will trigger! That is my only possible solution, but that is a lot of work in a big project. I understand that if someone did not run into this kind of problem is highly unlikely to know the answer to it, but may be there are some people who can answer this question
I know that the problem is my code somewhere, but I have no idea where to look into! Any help will be appreciated
Thanks in advance
Constandino