Custom Uniselector Pop-up saving custom data to UniView

Alicia Gillberg asked on March 24, 2017 19:32


I am working to build a webpart that uses a UniSelector to save custom values to the webpart. I am using a custom page as my popup, and want to send a custom value back into the uniview grid to be saved in the webpart. Finding the right method to call to save into the uniview has proven difficult, but ideally I use as much of the existing UniSelector functionality instead of creating a fully custom field. Thanks!

Recent Answers

Suneel Jhangiani answered on March 26, 2017 13:48

I've read this over a couple of times and am a little bit lost in understanding what you are trying to accomplish.

I think what you want to do is include the UniSelector in your web part, such that when someone clicks on 'Select' it opens a window to make the selection from a list. Once they make the selection the pop-up is closed and the UniSelector has the value. This is for the most part out of the box functionality in the UniSelector.

From what I gather your issue is that once that pop-up closes you need to do something in the web part with the newly updated value of the UniSelector. If this is the case you want to attach to the UniSelector OnSelectionChanged event in the code-behind of your web part. As the value is getting changed when a popup is getting closed you may also need to trigger a postback.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.