Finding a function

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 yıl önce
I'm searching my socks off to find where the function SaveInfo() is located. It is called from / administration / modules / ProductTemplateDetails.ascx.cs

ctrlProductTemplateInfo.SaveInfo()



protected void SaveButton_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                try
                {
                    
                    ProductTemplate productTemplate = ctrlProductTemplateInfo.SaveInfo();
                    Response.Redirect("ProductTemplateDetails.aspx?PrroductTemplateID=" + productTemplate.ProductTemplateID.ToString());
                }
                catch (Exception exc)
                {
                    ProcessException(exc);
                }
            }
        }




If someone can enlighten me its much appreciated!
14 yıl önce
USRFobiwan wrote:
I'm searching my socks off to find where the function SaveInfo() is located. It is called from / administration / modules / ProductTemplateDetails.ascx.cs

ctrlProductTemplateInfo.SaveInfo()



protected void SaveButton_Click(object sender, EventArgs e)
        {
            if (Page.IsValid)
            {
                try
                {
                    
                    ProductTemplate productTemplate = ctrlProductTemplateInfo.SaveInfo();
                    Response.Redirect("ProductTemplateDetails.aspx?PrroductTemplateID=" + productTemplate.ProductTemplateID.ToString());
                }
                catch (Exception exc)
                {
                    ProcessException(exc);
                }
            }
        }

If someone can enlighten me its much appreciated!


Hi,

Well, if you right click and choose "Go to definition" on the SaveInfo() method then you'll end up in ProductTemplateInfoControl.ascx.cs
14 yıl önce
I forgot about that handy feature damn! thanx for the enlightenment
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.