Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Dear all,


My particular asp.net page not calling every time (web service method)
It only calling first time alone.

So my data or records are not displaying when I am updating/deleting.

I mean after modify the data.

How to call each and every time?

Reply me.
Posted
Updated 17-Apr-12 1:17am
v2
Comments
[no name] 17-Apr-12 7:18am    
Removed bold tags. Don't bold everything, it is very annoying and doesn't get you any positive attention to your question.
[no name] 17-Apr-12 7:19am    
Without seeing how you are doing this there is know way for anyone to know.
senguptaamlan 17-Apr-12 7:20am    
Have you tried with debugging? nd if you have it will be great if you can post the code.
bbirajdar 17-Apr-12 7:35am    
Incomplete. Please post necessary code snippets and proper explanation

1 solution

Call the same function that you call when your page loads whenever else you need to, for example when updating or deleting.
 
Share this answer
 
Comments
Mohankumar.Engain 17-Apr-12 10:18am    
that function not called at during the page load function at second time onwards...
ZurdoDev 17-Apr-12 10:21am    
What does this mean?
Mohankumar.Engain 17-Apr-12 10:50am    
I have 3 - Web Service method in pageload() function and display this details in table. this table edit button, delete button available.
Now I choose Delete one record using delete button from this page and
does not display remaining records. and display deleted records also.
Because web service not calling second time onwards in pageload() function.
This is my Question? Are u understand my question?
ZurdoDev 17-Apr-12 10:56am    
Right, you are calling a function in pageload. You will have to call that same function again after you delete.
Mohankumar.Engain 17-Apr-12 11:41am    
But method not passing web service side.

so, deleted records also display in pageload function() whenever/wherever i call this pageload function.
not affect webservice method. why

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900