Creating a read only / disabled UltimatePicker dropdown
My site has a document type with a set of data all set programmatically. No user should never be able to edit the data for a document of this type in the backend.
This is easily accomplished for "text" fields - I've created a new datatype "textstring (uneditable)" which renders the "no edit" control.
However one of the fields is an UltimatePicker. How can I configure this field so that it isn't user editable?
I looked through the UltimatePicker source, and the OnInit() of ultimatePickerDataEditor.cs creates a DropDownList for rendering. I think all I would have to do is mark that dropdown as disabled, so that the resulting HTML got the "disabled" attribute set properly.
I don't want to write a completely new datatype for this when that would mean reimplementing everything that UltimatePicker already does.
Is there an easy way to extend the UltimatePicker source so that I could have a readonly UltimatePicker datatype?
Creating a read only / disabled UltimatePicker dropdown
My site has a document type with a set of data all set programmatically. No user should never be able to edit the data for a document of this type in the backend.
This is easily accomplished for "text" fields - I've created a new datatype "textstring (uneditable)" which renders the "no edit" control.
However one of the fields is an UltimatePicker. How can I configure this field so that it isn't user editable?
I looked through the UltimatePicker source, and the OnInit() of ultimatePickerDataEditor.cs creates a DropDownList for rendering. I think all I would have to do is mark that dropdown as disabled, so that the resulting HTML got the "disabled" attribute set properly.
I don't want to write a completely new datatype for this when that would mean reimplementing everything that UltimatePicker already does.
Is there an easy way to extend the UltimatePicker source so that I could have a readonly UltimatePicker datatype?
is working on a reply...