I am trying to implement some javascript onto the default.aspx by putting the code into the master.cs page_load but nothing seems to work. I even replace with a simple response.write but it is not working.
Tried on default.aspx.cs but nothing seems to work.
Hi Skiltz, here is my code in Root.Master.cs. No response. So i tried just putting in a response.write("Hello World!") into the page_load section and nothing happens. Same goes if i try it in my default.aspx.cs
Root.Master.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls;
using System; using System.Collections; using System.Configuration; using System.Data; using System.Globalization; using System.Text; using System.Threading; using System.Web; using System.Web.Caching; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using AjaxControlToolkit; using NopSolutions.NopCommerce.BusinessLogic; using NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings; using NopSolutions.NopCommerce.BusinessLogic.Content.NewsManagement; using NopSolutions.NopCommerce.BusinessLogic.Content.Polls; using NopSolutions.NopCommerce.Common.Utils;
Now you are right the you will never get the breakpoint in Page_Load of blog. Just do a little trick, write this and try if it does not work cut your master page_load code before