Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         PricePoliticsEditor1.DataBind();
     }
 }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (!string.IsNullOrEmpty(Request.QueryString["Id"]))
                {
                    int politicId = Convert.ToInt32(Request.QueryString["Id"]);
                    ucNotes.NoteType       = typeof(PriceCalculation);
                    ucNotes.TypeIdentifier = politicId;
                    ucNotes.DataBind();

                    PricePoliticsEditor1.PoliticId = politicId;
                    PricePoliticsEditor1.DataBind();
                }
            }
        }