Help me!

  •  07-21-2009, 11:26 AM

    Help me!


    I need to implement the following function:
    1. parent window include a grid to show the article list;
    2. Client click one record(call AjaxMethod ), Pop up details window to show the record infomation.
    3. I wrote the code in AjaxMethod set the value for each controller(including the cuteEditor).
     
     
    How to refresh the cuteeditor context if I used AjaxMethod to set value.
    For Code:
     [AjaxMethod]
           

    public void SetInfo(Article article)
     {
            this.ArticleID.Text = article.ArticleID.ToString();
            this.Title.Text = article.Title;

            this.Author.Text = article.Author;
            this.RunDate.Value = article.Run_Date;

            sys_GroupTable groupObj = BusinessFacade.sys_GroupDisp(article.GroupID);
            this.U_GroupID.Text = article.GroupID.ToString();
            this.Publisher.SetValue(groupObj.G_CName);
            IList labelList = _labelService.GetLabelListByGroupID(article.GroupID);
            this.LabelStore.DataSource = labelList;
            this.LabelStore.DataBind();
            this.LabelName.SetValue(article.Label.ID);

            this.Editor1.Text = article.Context;
        }

        But the context was not showing.
     
     
     
        Why?
     
     
    Thanks!
View Complete Thread