you can use <asp:panel, it will become <div> after rendering.
Try thisskinfile.skin inside App_Themes/Theme1 folder
yourpage.aspx
<%@ Page Language="C#" AutoEventWireup="true" Theme="Theme1" ...
<asp:Panel ID="test" SkinID="panelSkinned" runat="server" >
hello hai........ :)
</asp:Panel>
html after rendering(yourpage.aspx) :
============================
<div id="test" style="background-color:Red;">
hello hai........ :)
</div>
Hope this may help
No comments:
Post a Comment