No fields in FormView
- From: "Uriah Piddle" <stephenprescott@xxxxxxx>
- Date: Tue, 3 Oct 2006 16:16:05 -0500
Hi,
I have a FormView where nothing gets rendered past the opening
<ItemTemplate> tag. The FormView Header renders but nothing else. If I put
garbage in an Eval statement, no errors are raised and the page loads but,
of course, with no data in the FormView. If I put a div inside the
ItemTemplate, it does not render.
In Design view, my FormView shows up just as a grey form and says:
'Right-click or choose the Edit Templates . . .". I have noticed that with
FormView controls that work properly in the sample code I have looked at,
they appear, in design view, showing the bound fields and it says 'Data
Bound'. When I opened the control in design view, each of fields said 'data
bound' in the properties window but they don't act that way.
I set the DataSourceID to an ObjectDataSource that works fine with a
DetailsView control.
Thanks for any ideas.
Steve
.
- Follow-Ups:
- Figured It Out
- From: Uriah Piddle
- Figured It Out
- Prev by Date: Re: Can't create simple login page using asp:login control
- Next by Date: Re: Referencing a LinkButton in javascript
- Previous by thread: Can't create simple login page using asp:login control
- Next by thread: Figured It Out
- Index(es):