View Single Post
  #1 (permalink)  
Old August 4th, 2010, 05:20 AM
oguchi oguchi is offline
Registered User
 
Join Date: Aug 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Panel Control on FormView ASP.NET 4 Webforms

I tried to enclose part of a Formview in a Panel but it does not work.

First, I tried "spanning the tags" over the desired fields in Markup/Source, but there was an error message about Panel unable to span templates (never mind that it was just the InsertItem Template alone in use).

Then, I went to edit templates => InsertItems, and there, drew a box around the desired fields. It seemed to take, but when I inserted a Checkbox to control the Panel, and went to write the code, "Panel1" could not be found by intellisense, so I could not successfully complete the process.

Question: Can Panel Control live on Formview configured to hide just part of the form? If so, how?

Thanks in advance.
Oguchi
Reply With Quote