public void UpdateObjectFromFields() { SelectedItem.CodeInBody = ""; SelectedItem.CodeInHead = ""; CommonPanel.UpdateObjectFromFields(); }
public void UpdateObjectFromFields() { var selectedItem = (FrameworkLibrary.UrlRedirectRule)SelectedItem; selectedItem.VirtualPathToRedirect = VirtualPathToRedirect.Text; if (!selectedItem.VirtualPathToRedirect.EndsWith("/")) { selectedItem.VirtualPathToRedirect = selectedItem.VirtualPathToRedirect + "/"; } selectedItem.RedirectToUrl = RedirectToUrl.Text; selectedItem.Is301Redirect = Is301Redirect.Checked; CommonPanel.UpdateObjectFromFields(); }
public void UpdateObjectFromFields() { CommonPanel.UpdateObjectFromFields(); }