Click here to Skip to main content
15,861,168 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionchat application Pin
anishkannan9-Nov-09 6:36
anishkannan9-Nov-09 6:36 
AnswerRe: chat application Pin
Abhishek Sur9-Nov-09 7:14
professionalAbhishek Sur9-Nov-09 7:14 
GeneralRe: chat application Pin
N a v a n e e t h9-Nov-09 15:53
N a v a n e e t h9-Nov-09 15:53 
GeneralRe: chat application Pin
Abhishek Sur9-Nov-09 21:17
professionalAbhishek Sur9-Nov-09 21:17 
AnswerRe: chat application Pin
The Man from U.N.C.L.E.9-Nov-09 7:14
The Man from U.N.C.L.E.9-Nov-09 7:14 
QuestionASP.NET AJAX Postback Not Updating DOM? Pin
Shawn Souto9-Nov-09 5:55
Shawn Souto9-Nov-09 5:55 
GeneralCould this be a "typo"`? Pin
student_rhr9-Nov-09 12:49
student_rhr9-Nov-09 12:49 
GeneralRe: Could this be a "typo"`? [modified] Pin
Shawn Souto9-Nov-09 13:38
Shawn Souto9-Nov-09 13:38 
Hi Student Smile | :)
Thank you for the fast reply, alas I just 'shortcuted' the text to make it more readable, yes the button_Click method is actually btnSubmit_Click. I was just trying to follow the guidelines and make the code as small as possible.

The update panel is set to conditional, and at the very end of the event handler you will notice I called updateComments.Update();.

I am using tinyMCE inside the update panel (<uc1:xmsRichEditor ID="xmsRichEditor1" runat="server" UseFullEditor="false" />) and in order to reset the textbox with the value inside tinyMCE I need to do the following before posting back to the server:
<br />
document.getElementById("aspnetForm").elements["<%= xmsRichEditor1.UniqueID %>"].value = tinyMCE.get('<%= xmsRichEditor1.ClientID %>').getContent(); //this code works perfectly fine, has been for a while<br />


If you want to see this page in its live environment you can see it here: http://blabberjax.com/singlePage.aspx?id=3[^]

The thing is that If I add one comment, the AJAX postback works, and the new comment is added in a new div inside of divComments (divComments.Controls.Add(divComment);). But after posting one comment, if I try to post another one the Response I receive from the server (using firebug to inspect it) has the new divComment in the response html, but the html is never actually injected into the DOM.
To make sure that there was not some unhandled exception, I debugged the code. It works identically both times, and the Response from the server is identical each time (except the second time it includes a new div with the second comment) though the html in the update is not refreshed on the second postback.

modified on Monday, November 9, 2009 7:45 PM

GeneralRe: Could this be a "typo"`? Pin
student_rhr10-Nov-09 5:37
student_rhr10-Nov-09 5:37 
GeneralRe: Could this be a "typo"`? Pin
Shawn Souto10-Nov-09 8:42
Shawn Souto10-Nov-09 8:42 
QuestionHow can I modify rows(xx) displayed in MultiLine Textbox datagridtemplate-itemtemplate dynamically Pin
rickqu9-Nov-09 4:58
rickqu9-Nov-09 4:58 
QuestionNotificate by sending an email automatically Pin
Member 47041439-Nov-09 3:56
Member 47041439-Nov-09 3:56 
AnswerRe: Notificate by sending an email automatically Pin
Gamzun9-Nov-09 4:03
Gamzun9-Nov-09 4:03 
AnswerRe: Notificate by sending an email automatically Pin
Parwej Ahamad9-Nov-09 4:03
professionalParwej Ahamad9-Nov-09 4:03 
GeneralRe: Notificate by sending an email automatically Pin
Member 47041439-Nov-09 4:32
Member 47041439-Nov-09 4:32 
GeneralRe: Notificate by sending an email automatically Pin
Parwej Ahamad9-Nov-09 4:51
professionalParwej Ahamad9-Nov-09 4:51 
GeneralRe: Notificate by sending an email automatically Pin
N a v a n e e t h9-Nov-09 5:36
N a v a n e e t h9-Nov-09 5:36 
AnswerRe: Notificate by sending an email automatically Pin
RyanEK9-Nov-09 13:49
RyanEK9-Nov-09 13:49 
QuestionHow to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 3:52
bruze9-Nov-09 3:52 
AnswerRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 3:56
mveRichard MacCutchan9-Nov-09 3:56 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:07
bruze9-Nov-09 4:07 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 4:16
mveRichard MacCutchan9-Nov-09 4:16 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:26
bruze9-Nov-09 4:26 
Questionhow Assemblies load after publish of code [modified] Pin
gangisetti.sarath9-Nov-09 2:12
gangisetti.sarath9-Nov-09 2:12 
QuestionForce logout. Pin
gerrybrennan9-Nov-09 1:57
gerrybrennan9-Nov-09 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.