//if (li_Count > 0)
//{
// //mt.ID = "Movable_Text" + Convert.ToString(li_Count);
// DragPanelExtender drag_panel = new DragPanelExtender();
// drag_panel = mt.FindControl("DPE_TextComments") as DragPanelExtender;
// drag_panel.ID = "drag_panel" + Convert.ToString(li_Count);
// System.Web.UI.WebControls.Panel panel_TextComments = new System.Web.UI.WebControls.Panel();
// panel_TextComments = mt.FindControl("panel_TextComments") as System.Web.UI.WebControls.Panel;
// panel_TextComments.ID = "panel_TextComments" + Convert.ToString(li_Count);
// System.Web.UI.WebControls.Panel PanelText = new System.Web.UI.WebControls.Panel();
// PanelText = mt.FindControl("PanelText") as System.Web.UI.WebControls.Panel;
// PanelText.ID = "PanelText" + Convert.ToString(li_Count);
// System.Web.UI.WebControls.TextBox txt_Comments = new System.Web.UI.WebControls.TextBox();
// txt_Comments = mt.FindControl("txt_Comments") as System.Web.UI.WebControls.TextBox;
// txt_Comments.ID = Convert.ToString("txt_Comments") + Convert.ToString(li_Count);
// //PanelText.Controls.Add(txt_Comments);
// ResizableControlExtender RCE_Textbox = new ResizableControlExtender();
// RCE_Textbox = mt.FindControl("RCE_Textbox") as ResizableControlExtender;
// RCE_Textbox.ID = Convert.ToString("RCE_Textbox") + Convert.ToString(li_Count);
// RCE_Textbox.TargetControlID = "PanelText" + Convert.ToString(li_Count);
// //RCE_Textbox.HandleCssClass = "handleText";
// //RCE_Textbox.OnClientResize = "OnClientResizeText";
// //RCE_Textbox.ResizableCssClass = "resizingText";
// System.Web.UI.WebControls.Image img_Drag = new System.Web.UI.WebControls.Image();
// img_Drag = mt.FindControl("img_Drag") as System.Web.UI.WebControls.Image;
// img_Drag.ID = "img_Drag" + Convert.ToString(li_Count);
// img_Drag.ImageUrl = "~/Images/Drag_Icon.gif";
// ////panel_TextComments.Controls.Add(RCE_Textbox);
// panel_TextComments.Controls.Add(img_Drag);
// this.PH_Master_Page.Controls.Add(panel_TextComments);
// drag_panel.DragHandleID = "img_Drag" + Convert.ToString(li_Count);
// drag_panel.TargetControlID = "panel_TextComments" + Convert.ToString(li_Count);
// this.PH_Master_Page.Controls.Add(mt);
// //drag_panel.ID = "DPE_TextComments" + Convert.ToString(li_Count);
// //this.PH_Master_Page.Controls.Add(drag_panel);
//}
//else
//{
// this.PH_Master_Page.Controls.Add(mt);
//}
Vivek.deshmukh, if this helps please login to Mark As Answer. | Alert Moderator