The custom field type was created using the SharePoint Visual Studio
Extensions. The following code is in my CreateChildControls:
Protected Overloads Overrides Sub CreateChildControls()
MyBase.CreateChildControls()
' Add the asset picker when in edit mode.
If MyBase.ControlMode = SPControlMode.Edit Or MyBase.ControlMode
= SPControlMode.New Then
urlSelector = New AssetUrlSelector()
Me.Controls.Add(urlSelector)
End If
End Sub
Kind Regards
Haris Siakallis
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Turner
Sent: Thursday, 19 February 2009 4:56 PM
To: [email protected]
Subject: RE: Custom Column in Custom List Form
Are you looking at the ControlMode in CreateChildControls?
Regards
Paul Turner
Senior Solution Specialist
M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966
A: 66 Henley Beach Road, Mile End SA 5031
E: [email protected] W:
<https://adlex01/exchweb/bin/redir.asp?URL=http://www.sdm.com.au/>
www.sdm.com.au
_____
From: [email protected] [[email protected]] On Behalf Of Haris Siakallis
[[email protected]]
Sent: Thursday, 19 February 2009 2:42 PM
To: [email protected]
Subject: Custom Column in Custom List Form
Hello,
I have created a custom column that enables the user to browse for a
picture. The column works 100% however when I create a custom list form in
SharePoint Designer the column no longer works. ( i.e. when editing a row).
No errors occur, the page displays fine but the value is not saved in the
list after the OK button has been clicked. To make things even more
confusing the custom column works fine when creating a new row in a custom
list form.
I believe it may be a permission issue, since I am able to create the row,
but not edit it.
Kind regards,
Haris Siakallis
_____
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss
Other lists you might want to join: <http://www.codify.com/lists>
http://www.codify.com/lists
_____
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss
Other lists you might want to join: <http://www.codify.com/lists>
http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists