DataList error - trying to amend the table infromation...
I'm using 'User Controls' to define the 'Page header' for every webpages...
In User Control - there is a DataList control to display the site-navigation-links (i.e. Home, About us, Contact us)...
In 'ascx' page of the user control -
<ItemTemplate> is used to define the links within the <asp:table> control... After DataBind() is done, i wanted to change the "Cssclass" value of "Table"...
but i'm getting below error message, what wrong with code.. ??
Basically, i'm trying to achieve making the 'tab like' structure and indicating 'Active' and 'Inactive' tabs
(project is attached - "Fixtures.aspx" implements above logic )
Thanks in adv.
Code:
Error message
System.NullReferenceException: Object reference not set to an instance of an object
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.