c# - SharePoint 2007 Custom Webpart, saving data to the properties -
how can go creating custom web part has custom ui editing. when page in edit mode have special button show "edit" , when user clicks on it posts page. catch , want display custom ui can edit web part properties. need able have rich text fields, , text fields editable , post can save them properties.
i'm struggling creating richtextfield, or textbox can grab data in post back. know how if outputted raw html page, use http.context, what's c# way it?
thanks!
you can check in web part if page in edit mode or display mode , render controls accordingly.
how tell if page in edit mode on non-publishing site
on postback, can fetch values , assign web part properties. since handing custom, need set dirty flag:
Comments
Post a Comment