This project has moved. For the latest updates, please go here.

SPDisplayRelatedInfo also in DispForm.aspx?

Oct 16, 2009 at 10:04 PM


am I doing something wrong, or is the SPDisplayRelatedInfo functionality not supposed to work in the DispForm.aspx?

The same code, that did work in EditForm.aspx and NewForm.aspx does now NOT work in DispForm.aspx

I think, it would be very useful, if SPDisplayRelatedInfo can also be used in the View Details, or?



Oct 17, 2009 at 2:31 AM


The SPDisplayRelatedInfo function is built to work on an entry form (NewForm.aspx or DispForm.aspx or customizations of either).  For DispForm.aspx, I would suggest just replacing the List View Web Part (LVWP) with a Data View Web Part (DVWP), or adding a DVWP below the default LVWP.  The real "magic" in the SPDisplayRelatedInfo function is that it can read from the Web Services when the dropdown selection changes.  That level of sophistication isn't really needed on a DispForm.aspx, and the way that SPDisplayRelatedInfo works with the controls on an input form would be totally different than a display form.

Make sense?