| protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| CheckBoxList chkLst = null; // add checkboxlist only in edit item |
| if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode)) |
| { |
| chkLst = new CheckBoxList(); |
| chkLst.ID = "MyCheckLst"; |
| lst = new ListItem("Item1", "1"); |
| chkLst.Items.Add(lst); |
| lst = new ListItem("Item2", "2"); |
| chkLst.Items.Add(lst); // Add checkboxlist to CheckBox (every checkbox have a checkboxlist) (GridEditableItem)e.Item["MyCheck" ].Controls.Add(chkLst);
|
| } |
| protected void RadGrid1_ItemUpdated(object source,Telerik.Web.UI.GridUpdatedEventArgs e) |
| { |
| CheckBoxList cbl = (CheckBoxList)e.Item["MyCheckLst"].Controls[0]; |
| } |
1.
http://demos.telerik.com/aspnet-ajax/tooltip/examples/loadondemand/defaultcs.aspx
While the content is being loaded, the right border is invisible.
2.
If a delay occurs while the content is being loaded, and the user move the mouse to another product, the load image doesnt appears.
You can reproduce it by doing something like this:
protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
UpdateToolTip(args.UpdatePanel);
}
private void UpdateToolTip(UpdatePanel updatePanel)
{
Label label = new Label();
label.Text = "aaaaa";
System.Threading.Thread.Sleep(3000);
updatePanel.ContentTemplateContainer.Controls.Add(label);
}
PS: How can I use the format code block?