hi
i am using Latest Telerik RadControls for ASP.NET AJAX Q2 2009 SP1
When I open the ImageManager managers they appear behind the RadMenu. I have adjusted the z-index on the RadMenu
.RadMenu_Dynamics_Context
{
background: none;
border:0;
z-index:8000 !important;
}
but the result is the same.
Thanks and regards
Vivekanandan.R
Hi,
We are trying to export the self hierarchical RAD grid in to an excel.The problem is, we are not able to export the detail table contents when the grid is collapsed.our requirement is , if we click the export all button all the grid details should be exported irrespective of master and detail table contents also whether it is expanded or collapsed.Also while exporting, the column header for detail tables should not be exported.
the code we have used in button click event is
RadGrid1.MasterTableView.Columns.FindByUniqueName("ClaimID").Visible = false;
RadGrid1.MasterTableView.Columns.FindByUniqueName("ExportClaimID").Visible = true;
RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.Rebind();
RadGrid1.ExportSettings.ExportOnlyData = true;
RadGrid1.MasterTableView.ExportToExcel();
please can any one tell me the solution for this issue.
Quick solution/response will be appreciated.
Regards,
Bharath
| <%@ Page Language="C#" AutoEventWireup="true" %> | |
| <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head runat="server"> | |
| <style type="text/css">HTML { font-size: 10pt; font-family: Arial; }</style> | |
| </head> | |
| <body> | |
| <form id="form1" runat="server"> | |
| <asp:ScriptManager ID="ScriptManager1" runat="server" /> | |
| <div> | |
| <telerik:RadTreeView ID="myTree" OnClientNodeChecked="NodeWasChecked" CheckBoxes="true" runat="server"> | |
| <Nodes> | |
| <telerik:RadTreeNode Text="Node A"></telerik:RadTreeNode> | |
| <telerik:RadTreeNode Text="Node B"></telerik:RadTreeNode> | |
| <telerik:RadTreeNode Text="Node C"></telerik:RadTreeNode> | |
| <telerik:RadTreeNode Text="Node D"></telerik:RadTreeNode> | |
| <telerik:RadTreeNode Text="Node E"></telerik:RadTreeNode> | |
| </Nodes> | |
| </telerik:RadTreeView> | |
| <input type="button" value="run repro" onclick="runRepro()" /> (checks every other node) | |
| <script language="javascript" type="text/javascript"> | |
| function runRepro() | |
| { | |
| var tree = $find('<%= myTree.ClientID %>'); | |
| var nodes = tree.get_nodes(); | |
| for (var i=0; i<nodes.get_count(); i++) | |
| if ((i%2)==0) { nodes.getNode(i).check(); } | |
| } | |
| function NodeWasChecked(sender, args) | |
| { | |
| var text = document.createTextNode("Function was called: NodeWasChecked() - " + (new Date()).toString()); | |
| if (ResultsDiv.childNodes.length > 0) | |
| { | |
| ResultsDiv.insertBefore(document.createElement("br"), ResultsDiv.childNodes.item(0)); | |
| ResultsDiv.insertBefore(text, ResultsDiv.childNodes.item(0)); | |
| } | |
| else | |
| { | |
| ResultsDiv.appendChild(text); | |
| } | |
| } | |
| </script> | |
| </div> | |
| <div style="border:1px solid red; margin-top: 50px;"> | |
| <b>Expected Result:</b> clicking the button will not check nodes, but not raise the OnClientNodeChecked() event. | |
| however, manually clicking the checkboxes will raise this event and | |
| <br /><br /> | |
| <b>OnClientNodeChecked() Results:</b> | |
| <div id="ResultsDiv" style="font-size:8pt;"></div> | |
| </div> | |
| </form> | |
| </body> | |
| </html> | |
