Timeline for Sharepoint 2010: Saving content of a textbox back to a variable of a visual web-part
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2013 at 10:13 | comment | added | William | sorry the code I pasted made that look like a really messy response | |
Feb 20, 2013 at 10:09 | comment | added | William | Thanks for the reply, sorry by webpart variable I was talking about the properties of the webpart ` [WebBrowsable(true), Category("Accordion Data"), Personalizable(PersonalizationScope.Shared), WebDisplayName("Section 1 Title")] public String Section01Title { get; set; } ` What I'm trying to do is when my button is clicked set the string 'Section01Title' to what is entered in a textbox. I've tried the way you mentioned (Section01Title = txtBox.Text) but unfortunately this didn't work. | |
Feb 19, 2013 at 15:13 | history | answered | Anatoly Mironov | CC BY-SA 3.0 |