Finding a function

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 14 ans
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!
Il y a 14 ans
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
Il y a 14 ans
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.