GridView control adapter issue


L

Lee C.

Hello. I am trying to leverage adaptive rendering in ASP.NET 3.5. If I
create a super-simple GridView control adapter, it seems to "eat" my base
GridView's caption property/attribute.

------------------------------------------------------------
Public Class GridViewAdapter

Inherits System.Web.UI.WebControls.Adapters.WebControlAdapter

Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
MyBase.Render(writer)
End Sub
End Class

End Namespace

------------------------------------------------------------

I figured out how to put the property/attribute back in, but should it not
already be in the writer parameter?

Cordially,
Lee C.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top