Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Literal content is not allowed within skin file

leave a comment »

We have following errors in our project

Literal content (‘<gv:TwoHeadedGridView SkinID="gv"  EmptyDataText="No Record(s) Found."  AllowPaging="true" PageSize="10" CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt">  </gv:TwoHeadedGridView>’) is not allowed within a ‘skin file’.

The problem here is, we missed runat=server attribute. Simple 🙂

[tweetmeme only_single=”false”]

Written by Manish

October 5, 2010 at 2:45 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: