Cannot add comment
-
I tried moving an answer by OP to where it belongs, but with no success. This post: http://www.codeproject.com/Questions/147339/Cell-Text-property-of-grid-is-blank-when-allowsort.aspx#Answer1[^] It alerts with this message: Oops! There seems to be a server problem, please try posting your comment later. I tried refreshing, Ctrl+F5, truncating the original (for trimming down the character count) but nothing helps. To my wonder, I was able to add comment to the question and the other answer but not this particular answer. Could you please check what's the issue. The comment to answer 1 is (in case someone could add it):
[moved from answer]
OP wrote:
Hi,
Thanks for your reply,
I am already using placeholder to add the gridview control.
i.e. placeholder.Controls.Add(grd);
Also tried to add div control in place of placeholder to add the gridview; but that didn’t work either.
It would be helpful if you can explain your solution, if you have tried my code.
Your help would be appreciated.
Thanks
Tushar..Go Green..
-
I tried moving an answer by OP to where it belongs, but with no success. This post: http://www.codeproject.com/Questions/147339/Cell-Text-property-of-grid-is-blank-when-allowsort.aspx#Answer1[^] It alerts with this message: Oops! There seems to be a server problem, please try posting your comment later. I tried refreshing, Ctrl+F5, truncating the original (for trimming down the character count) but nothing helps. To my wonder, I was able to add comment to the question and the other answer but not this particular answer. Could you please check what's the issue. The comment to answer 1 is (in case someone could add it):
[moved from answer]
OP wrote:
Hi,
Thanks for your reply,
I am already using placeholder to add the gridview control.
i.e. placeholder.Controls.Add(grd);
Also tried to add div control in place of placeholder to add the gridview; but that didn’t work either.
It would be helpful if you can explain your solution, if you have tried my code.
Your help would be appreciated.
Thanks
Tushar..Go Green..
The ' in "didn't" is actually non ASCII so was screwing up our decoding. I've corrected this and made a correction to the code for the next upload, and posted the comment.
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP
-
The ' in "didn't" is actually non ASCII so was screwing up our decoding. I've corrected this and made a correction to the code for the next upload, and posted the comment.
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP
Thanks, but you just discovered another bug (not actually a bug, but I do not have a word for it). Current Answer1 was Answer2 when I posted this message. It got voted-up and is now Answer1. So the comment should have been made to current Answer2. I am correcting it.
..Go Green..
-
The ' in "didn't" is actually non ASCII so was screwing up our decoding. I've corrected this and made a correction to the code for the next upload, and posted the comment.
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP
After seeing this behaviour I was curious how profile answer links work because answer position will always change. I just went there and saw that the answer links to the post and navigating to #AnswerNo part is done using jQuery. May I ask you how this is done? The very first thing that came to my mind was you are storing the MemberName/ID in some hidden field or something (when we are navigating to the selected answer) and check that against the answerer MemberName/ID. And then navigating to corresponding answer using jQuery. But this method seems a little complex to me. There muct be some better way. I hope I will get an answer. :)
..Go Green..