Contact / Feedback webpart for Sharepoint 2007

25 July, 2009 (16:09) | MOSS - Object Model | By: G Vijai Kumar

On 12th November, 2009 I have published the Contact / Feedback webpart solution on to Codeplex

You can download the Contact / Feedback webpart from http://contact.codeplex.com/

Comments on this solution are very much appreciated :-)

Thanks for looking into this

Comments

Comment from Rahul
Time August 26, 2009 at 10:40 am

Hi,
Good post but you should add reset or refresh functionality in this web part because after sending the feedback the values remains in the textboxes in the web part.
Tell me that functionality please.

Thanks

Comment from G Vijai Kumar
Time August 26, 2009 at 10:50 am

Rahul, Thanks for looking into the post, you can set fields to reset to blank

Button oButtonReset = new Button();
oButtonReset.Text = “Reset”;
oButtonReset.CssClass = “ButtonHeightWidth”;
oButtonReset.Click += new EventHandler(oButtonReset_Click);

void oButtonReset_Click(object sender, EventArgs e)
{
oTextName.Text = “”;
oTextEMail.Text = “”;
oTextSubject.Text = “”;
oTextMessage.Text = “”;
oLabelValidMessage.Text = “”;
}
At last render the reset button in Render() method
oButtonReset.RenderControl(writer);

Write a comment