Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!Page.IsPostBack)
                {
                    linkNewKey.NavigateUrl = EditUrl();

                    ClientRegistrationKeyController ctrl = new ClientRegistrationKeyController();
                    gridRegistrations.DataSource = ctrl.GetItems(0);
                    gridRegistrations.DataBind();
                }
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }