| private void bCancel_Click(object sender, ImageClickEventArgs e) |
| { |
| if (_ParentForm != null) |
| { |
| _ParentForm.ShowReleasesList(_ProductNoderef); |
| } |
| GridEditableItem editedItem = Parent.NamingContainer as GridEditableItem; |
| if (editedItem != null) |
| { |
| editedItem.Edit = false; |
| editedItem.OwnerTableView.ClearEditItems(); |
| editedItem.OwnerTableView.OwnerGrid.PrepareRowsRecursive(editedItem.OwnerTableView); |
| editedItem.OwnerTableView.OwnerGrid.PrepareRowsVisibilityRecursive(editedItem.OwnerTableView); |
| } |
| } |
| private void UpdateGrid(GridEditableItem editedItem) |
| { |
| WorkPackage wp = WorkPackage.GetByHandle(ValDataSet, _WorkPackNoderef); |
| IEnumerable<WorkPackDetails> previousWorkPacks = (IEnumerable<WorkPackDetails>)editedItem.OwnerTableView.OwnerGrid.DataSource; |
| WorkPackDetails details = editedItem.DataItem as WorkPackDetails; |
| if (details != null) |
| { |
| // in Update Mode update the workpack details |
| details.FillAttributes(wp); |
| details.FillReleasesDetails(wp, ValDataSet); |
| List<WorkPackDetails> updatedWorkpacks = new List<WorkPackDetails>(previousWorkPacks); |
| editedItem.OwnerTableView.OwnerGrid.DataSource = updatedWorkpacks; |
| } |
| else |
| { |
| // In Insert Mode add a new workpack |
| details = WorkPackDetails.GetDetailsFromWorkPack(wp, ValDataSet); |
| List<WorkPackDetails> updatedWorkpacks = new List<WorkPackDetails>(previousWorkPacks); |
| updatedWorkpacks.Add(details); |
| editedItem.OwnerTableView.OwnerGrid.DataSource = updatedWorkpacks; |
| } |
| //editedItem.Edit = false; |
| editedItem.OwnerTableView.ClearEditItems(); |
| editedItem.OwnerTableView.OwnerGrid.Rebind(); |
| } |

<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="ProvaColorPicker.aspx.cs" Inherits="Prove_ProvaColorPicker" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" >
<
head runat="server">
<title>Test ColorPicker</title>
<script type="text/javascript">
function colorChange(sender, eventArgs)
{
var myDiv = document.getElementById("myDiv");
myDiv.innerHTML =
'Color changed from ' + eventArgs.get_oldColor()
+
" to " + sender.get_selectedColor();
return;
}
</script>
</
head>
<
body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<script type="text/javascript" src="../Library/scriptaculous/scriptaculous-js-1.8.2/lib/prototype.js" ></script>
<div>
<telerik:RadColorPicker ID="RadColorPicker1" runat="server" Columns="16" Preset="web216"
OnClientColorChange
="colorChange" ShowIcon="true">
</telerik:RadColorPicker>
<div id="myDiv"></div>
</div>
</form>
</
body>
</
html>
<!
DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" >
This is needed for functionality as we are building hierarchical HTML table.
If i try to put AjaxPanel, it page is getting hanged.
Please let me know if there is any alternative option for getting the ajax panel work?
regards,
Parimal

Hello all,
First off let me say I am using IE7 and version 2008.3 1125
I am currently working on a project with a lot of thumnails. Currently, live, we are using the RadWidnow to popup the full image into a modal window. We really would like to use a mouseover with the Radtooltip (using tooltipmanager), but are running into one major drawback. We want the tooltip to wrap the image perfectly so there is no scrollbars or empty space. If we do not set the Height/Width of the tooltip manager this works great, except that it appears the tooltip no longer can sense the screen boundaries. Images that anywhere near the top, bottom, left, or right will simply overflow off the screen. You see this same result in the following demo:
http://demos.telerik.com/aspnet-ajax/ToolTip/Examples/Default/DefaultCS.aspx
Just scroll down the page a little and hover over a product....it goes right through the top of the screen. If you set the Height and Width property then the tooltip stays within the page but then you must live with either the scrollbars or empty white space since not all the images are the same deminisions.
Is there anything that I can do to work around this? Although not ideal, maybe some sort of javascript resize on the ClientShow?
Thanks,
Chad