or
foreach
(GridViewRowInfo row
in
gridView.Rows)
{
//Write parent row data to Excel sheet
//Access each child template either with a loop or explicitly
//Step through child template's rows and write the row data to the Excel sheet
}
protected
void
rgDraft_CellEditorInitialized(
object
sender, GridViewCellEventArgs e)
{
if
(e.Column.Name ==
"Country"
)
{
RadDropDownListEditor editor = (RadDropDownListEditor)
this
.rgDraft.ActiveEditor;
RadDropDownListEditorElement editorElement = (RadDropDownListEditorElement)editor.EditorElement;
editorElement.VisualItemFormatting +=
new
VisualListItemFormattingEventHandler(
delegate
(
object
formattingsender, VisualItemFormattingEventArgs args)
{
args.VisualItem.ToolTipText = args.VisualItem.Text;
});
}
}
private RadTreeNode FindNodeWithTag(object oId)
{
DateTime start = DateTime.Now;
try
{
return rtvLassListe.Find(delegate(RadTreeNode n) { return ((n.Tag == oId) ? true : false); });
}
finally
{
ErrorLog.LogErrorMessage( (DateTime.Now - start).TotalMilliseconds.ToString() + " ms i FindNodeWithTag()" );
}
}