I was successful in implenting this using a button in interface. But when the clear on the top in toolbar is pressed, my selections are cleared. How can i prevent this from happening.
You can find that in the Properties --> General tab of List box. And that can be enabled only if you select a value in the list and come here
In the desktop client, you can define, or set, the Clear state. Try this from within your application:
I often use this functionality during desktop dev and testing. Haven't had to apply the functionality in a published app, but every reason to believe it will work there, too. If anyone knows otherwise, please inform this post.
its fixed. as said by rob wünderlich Rob Wunderlich it can be implemented by 'Always one seleceted' property' on a list box.
thanks all for your quick response.
have a nice day.
Thank you for your reply on this topic. Your suggestion ("Set Clear State" option) was a solution for me since I have to keep multi selections avaialble.
BTW, it works on published documents too.