|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Inherit the GridViewI'm trying to make a server control wich inherits from the GridView. Here's my code so far: ----------------------------------------------------------------------- Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Text Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls <ToolboxData("<{0}:MyDataGrid runat=server></{0}:MyDataGrid>")> _ Public Class MyDataGrid Inherits GridView End Class ------------------------------------------------------------------------ I then compile the library, add the control to the toolbox, drag it to my webform bind data to it and run the project, but there's no output at all. The webpage is empty (I have remembered the call to BindData). Any idea???? ANy vb.net examples "out there" on how to make a server control that inherits from the GridView? Thanks! M O J O
Timer.Elapsed event doesn't want to fire
Working with Mac Safari Browser How do I find out the page name in ASP composite control does not fire event return parameter Using OpenFileDialog Using OpenFileDialog Re: CustomValidator control BUG How do I get a custom Control Designer to write to the HTML of my control? 403.1 Error on a Windows2003 Server |
|||||||||||||||||||||||