Click here to Skip to main content
16,012,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know how the comments updated in fraction of secs after the button is clicked. I need this concept for my project. I placed a datalist control to display the comments.

If the user entered the comment and clicked the button, the datalist does not show it currently but with after stop running and execute again only it shows the last comment.

Is there any technique behind this?

Thanks.
Posted
Updated 2-Oct-11 0:19am
v5
Comments
kwhiterosek 2-Oct-11 4:00am    
whats that??
Sander Rossel 2-Oct-11 4:07am    
Deleted your pre tags. Those are only necessary when you want to show code.
kwhiterosek 2-Oct-11 7:01am    
but i didnt include any code here.
Slacker007 2-Oct-11 6:19am    
Edit: readability.
Ankur\m/ 3-Oct-11 0:00am    
It's simple - it's AJAX along with JavaScript (better use a JavaScript library such as jQuery which will give you more flexibility - even CP uses jQuery).

1 solution

You should post this question into the Site Bugs/Suggestions forum. One of the administrators will then see it and may give you the information you are looking for. However this will depend on whether they wish to make that information public.
 
Share this answer
 
Comments
André Kraak 2-Oct-11 8:30am    
Richard, It looks like you accidentally submitted the same solution twice. Might be best to remove this one.
Richard MacCutchan 2-Oct-11 11:45am    
Thanks, not sure how that happened; I'll delete the other one so these comments remain in case of further confusion.

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