Help me!

Last post 07-22-2009, 8:09 AM by GeoffreyRen. 2 replies.
Sort Posts: Previous Next
  •  07-21-2009, 11:26 AM 54173

    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!
  •  07-22-2009, 4:50 AM 54188 in reply to 54173

    Re: Help me!

    Hi GeoffreyRen,
     
    Please create an example can reproduce this issue and send it to me.
     
     
    Regards,
     
    ken
  •  07-22-2009, 8:09 AM 54193 in reply to 54188

    Re: Help me!

    thanks, I had resolved.
     
    thanks very much!
View as RSS news feed in XML