Hii,
I am using able commerce7 licence version..in this tool theme are integrated and that is predefined if a am going to add any page so that theme is apply in defaut..if i dont want to apply theme on any specific page (my additional page which i have added without inheriting any master) so how it possible..
actually i want to display some string on my webpage..with coding this is displaying i havent use any HTML content or control but when i viewSource this page with this string thier HTML control is displaying..
and when i remove these all tags from my HTML(source file ) so it gives error
"Head ..theme =ablecommece" CSS=----"" something like that. becouse theme is applied on every page..
so from where i can set theme on any specific page or whole application...
Thanks And Reagrd
Atul khare
Disable Theme
Re: Disable Theme
Add the PreInIt function to your custom page and change the theme there. This will override the AbleCommerce theme. For example if you want no theme on your custom page then you can use the following code
Add the above function you your custom page
Code: Select all
<script runat="server">
protected void Page_PreInit(object sender, EventArgs e)
{
Page.Theme = string.Empty;
}
</script>
Re: Disable Theme
Thanks a lot for your proper and correct response....
Thanks And Regard
Atul Khare
Thanks And Regard
Atul Khare