Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

The field inherits from a multi part field (its for our billing code). If I place on the page:

<td class="form-control">
  <srm:BillingCodeFieldControl ID="billingCode" runat="server" ControlMode="Edit"></srm:BillingCodeFieldControl>
</td>

It does not render at all.

I have debugged it and the custom Field Control method CreateChildControls is getting called, so I am confused.

It renders just fine if I go into the list view and select "Edit Item". I'm thinking that since I have no associated List item until I submit the form, and hence no associated Field that may be the issue...

Any ideas?

share|improve this question
    
Does it render if you View the list item (not the edit view) –  Dave Wise Mar 6 '12 at 20:48
    
If I view the list item, it shows just the standard Display template that a multipart item shows, basically like a text field. If I then click edit item, the custom control template I defines shows up. –  wvalters Mar 7 '12 at 14:18
    
I also face the same situation. In display form and view form you have to use JSLink. The custom controls doesn't render. Override the JSLink in where you inherit SPFieldText If you are able to find any other solutions please let me know. –  Suhail yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.