// Adding Context-Menu to Control
$(function () {
var txt1 = "#" + "<%= **myCal**.ClientID %>";
// Linking Context-Menu to Control
$(txt1).contextMenu(ctxtMenu, { theme: 'vista' });
});
Code behind
TextBox lbl = new TextBox ();
lbl.BorderColor = System.Drawing.Color.Black;
lbl.BorderStyle = BorderStyle.Double;
lbl.BackColor = System.Drawing.Color.BlanchedAlmond;
lbl.Text = eventname + "<br/>" + dt + "" + dt1;
e.Cell.Controls.Add(lbl);
How can I replace the myCal with a dynamically created asp.net TextBox?
Any suggestions or help would be greatly appreciated.