Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GridView caption not rendering

Status
Not open for further replies.

JScannell

Programmer
Jan 9, 2001
306
US
I have a real tough problem. I have an asp.net web page with a couple of gridviews on it. I have caption values set. The caption shows when you are in the designer. When the page is executed there is no caption shown. If I do a "View Page Source", I can see the caption. I have even gone so far as to copy out the entire <div> set from and pasted it into its own .html page and guess what? I can see the caption!

Of course, there are no styles when I do that so I went so far as to modify my markup to not have any styles at all on the gridviews and still no captions.

I am at a loss. I've created a PDF document that shows everything so maybe someone can look at it and provide an idea of what to do.

Thanks in advance,
Jerry

Jerry Scannell
 
 http://files.engineering.com/getfile.aspx?folder=9f8de6ba-551d-4033-bb5b-f7315d8440c9&file=TekTips_Document.pdf
I looked at your document and as you state, the HTML shows the caption and if you take the HTML and just put it in a standard HTML page you see the caption.
So, I would think you have some CSS that is positioning the grid or something above it over the caption. You should use some browser tools (I use FireBug in FireFox) to inspect the elements on your page. You will see the caption in the raw HTML. From there I would check your CSS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top