Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
267 views
Hi Telerik Team

I'm upgrade from Q3 2008 to Q3 2009 and faces some problem in the rad dock

1- the command buttons disappeared , in Q3 2008 I used the folllowing style to display the command

 

 

.RadDockCloseCommand

 

{

 

 

width: 25px;

 

 

 

height:25px;

 

 

 

cursor:pointer;

 

 

 

cursor:hand;

 

 

 

background:url(../common/Image/portal/close.gif) transparent !important;

 

}

and the same for RadDockExpandCommand,RadDockCollapeCommand
2- there is a space [nearly 5 to 10 pixels] between the dock and the inner control [left and right sides] which was not in the earlier versions.
3- the rad scheduler in rad dock overflow the container dock 

you can have a look at this image to the the bugs  visually
http://www.4shared.com/photo/oT1PeWR8/Portal.html

many thanks for telerik support team


Tools
  • asp.net 3.5
  • IE 8
  • Rad controls for asp.net ajax
  • windows 7 operating system
Moustafa
Top achievements
Rank 1
 answered on 03 Jul 2010
2 answers
109 views
I am trying to convert my declarative RadConfirm template over to a class and have followed the steps outlined here (twice):
http://www.telerik.com/help/aspnet-ajax/window_dialogschangingthedialogtemplates.html
but it's not working.

When putting the code into the page_load event I get an error on this line:
Me.RadWindowManager1.ConfirmTemplate = New ConfirmTemplate(Me.Page)
The error is:
Error   5   Type 'ConfirmTemplate' is not defined. 

My class file is (ascx):
<%@ Control Language="VB" ClassName="ConfirmTemplate" %> 
<div class="rw_Confirm_Wrapper"
    <div class="rw_ConfirmText"
        {1} 
    </div> 
    <div class="rw_ConfirmButtonsWrapper"
        <div class="rw_ConfirmButtons" style="float: left;" onclick="$find('{0}').close(false);"
            Cancel</div> 
        <div class="rw_ConfirmButtons" style="float: right;" onclick="$find('{0}').close(true);"
            Proceed</div> 
    </div> 
</div> 
 

and (ascx.vb):
Class ConfirmTemplate 
    Implements ITemplate 
    Private _page As Page 
    Public Sub New(ByVal page As Page) 
        Me._page = page 
    End Sub 
    Sub InstantiateIn(ByVal owner As Control) Implements ITemplate.InstantiateIn 
        Dim ctrl As Control = _page.LoadControl("ConfirmTemplate.ascx") 
        owner.Controls.Add(ctrl) 
    End Sub 
End Class 

I have followed the example exactly also (using c#) with an AlertTemplate and got the same error.

I would welcome any assistance with this - thanks.

GlenB
Top achievements
Rank 1
 answered on 02 Jul 2010
3 answers
174 views
Hello, I have a problem with datagrid and EditMode="InPlace", I'm using code behind for update, so when the data pass to the method, the row to update is the correct, but, the new data don't, the data is old. I attached the code.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"     EnablePageHeadUpdate="false"
                                                <AjaxSettings> 
                                                    <telerik:AjaxSetting AjaxControlID="rgSocios"
                                                        <UpdatedControls> 
                                                            <telerik:AjaxUpdatedControl ControlID="rgSocios" /> 
                                                            <telerik:AjaxUpdatedControl ControlID="Label1" /> 
                                                        </UpdatedControls> 
                                                    </telerik:AjaxSetting> 
                                                </AjaxSettings> 
                                            </telerik:RadAjaxManager> 
 
                                            <telerik:RadGrid ID="rgSocios" runat="server" ShowStatusBar="True" 
                                                Skin="Windows7" Visible="False" AllowAutomaticUpdates="True" AutoGenerateEditColumn="False" 
                                                GridLines="None" PageSize="7" AllowPaging="true" EnableViewState="true" 
                                                OnDataBound="rgSocios_DataBound" OnLoad="rgSocios_OnLoad" OnUpdateCommand="rgSocios_UpdatedCommand"
                                                <MasterTableView NoMasterRecordsText="No se encontraron socios para este agente" 
                                                    CommandItemDisplay="Top" AutoGenerateColumns="False" AllowSorting="True" EditMode="InPlace" DataKeyNames="numIdSocio"
 
                                                    <AlternatingItemStyle BackColor="#E0E0E0" /> 
 
                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" /> 
                                                        <CommandItemSettings 
                                                            ShowExportToWordButton="true" 
                                                            ShowExportToExcelButton="true" 
                                                            ShowExportToCsvButton="true" 
                                                            ShowExportToPdfButton="true" 
                                                            ShowAddNewRecordButton="false" 
                                                            ExportToCsvText="Exportar a CSV" 
                                                            ExportToExcelText="Exportar a Excel" ExportToPdfText="Exportar a PDF" 
                                                            ExportToWordText="Exportar a Word" RefreshText="Refrescar" 
                                                        /> 
 
                                                    <Columns> 
                                                        <telerik:GridBoundColumn DataField="codigoCompania" UniqueName="idCompania" HeaderText="Compañía" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="fechaActualizacion" UniqueName="fechaActualizacion" HeaderText="Fecha Actualizaci&oacute;n" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="numIdIntermediario" UniqueName="numIdIntermediario" HeaderText="N&uacute;mero Identificaci&oacute;n Intermediario" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="nombreSocio" UniqueName="nombreSocio" HeaderText="Nombre Socio" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="numIdSocio" UniqueName="numIdSocio" HeaderText="Numero Identificaci&oacute;n Socio" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
                                                    </Columns> 
 
                                                    <RowIndicatorColumn><HeaderStyle Width="20px" /></RowIndicatorColumn> 
                                                    <ExpandCollapseColumn><HeaderStyle Width="20px" /></ExpandCollapseColumn> 
                                                </MasterTableView> 
 
                                                <ClientSettings> 
                                                    <ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick" OnGridCreated="GridCreated" OnCommand="GridCommand" /> 
                                                </ClientSettings> 
                                            </telerik:RadGrid> 

Babu Puchakayala
Top achievements
Rank 1
 answered on 02 Jul 2010
2 answers
104 views
Hoping I can get some ideas on how to overcome an issue we are experiencing.

I have a Rad Grid that is hidden (visible = false) that returns an Excel export of the output. When the grid is set to visible = false the Excel export looses its column headings.

Any ideas on how to fix this? I would like the column headers to display in the Excel output regardless of the grid being visible or not.

Thanks
Daniel
Telerik team
 answered on 02 Jul 2010
1 answer
187 views
Hi,

I am using rowcontextmenu in radgrid. I did this using demos that provided by telerik. When i right click on radgrid row I am getting error like Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object. I dont what causing this error. can anyone help me to fix this error.

Thanks

My code

<script> 
            function RowContextMenu(sender, eventArgs) { 
                var menu = $find("<%=RadMenu1.ClientID %>"); 
                var evt = eventArgs.get_domEvent(); 
 
                if (evt.target.tagName == "INPUT" || evt.target.tagName == "A") { 
                    return; 
                } 
 
                var index = eventArgs.get_itemIndexHierarchical(); 
                document.getElementById("radGridClickedRowIndex").value = index
 
                sender.get_masterTableView().selectItem(sender.get_masterTableView().get_dataItems()[index].get_element(), true); 
 
                menu.show(evt); 
 
                evt.cancelBubble = true
                evt.returnValue = false
 
                if (evt.stopPropagation) { 
                    evt.stopPropagation(); 
                    evt.preventDefault(); 
                } 
            } 
</script> 
 
 
telerik:RadScriptManager ID="RadScriptManager1" runat="server"
                    </telerik:RadScriptManager> 
                    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                        <ClientEvents OnRequestStart="onRequestStart" /> 
                        <AjaxSettings> 
                            <telerik:AjaxSetting AjaxControlID="rg200"
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="rg200" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                    <telerik:AjaxUpdatedControl ControlID="RadMenu1" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                            <telerik:AjaxSetting AjaxControlID="RadMenu1"
                                <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="rg200" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                    <telerik:AjaxUpdatedControl ControlID="RadMenu1" /> 
                                </UpdatedControls> 
                            </telerik:AjaxSetting> 
                        </AjaxSettings> 
                    </telerik:RadAjaxManager> 
                    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"
                    </telerik:RadAjaxLoadingPanel> 
                    <telerik:RadGrid ID="rg200" runat="server" AutoGenerateColumns="False" PageSize="30" 
                        Height="550px" OnNeedDataSource="rg200_NeedDataSource" Width="100%" AllowPaging="True" 
                        AllowSorting="True" AllowMultiRowSelection="True" EnableHeaderContextMenu="True" 
                        GridLines="None" EnableHeaderContextFilterMenu="True" AllowMultiRowEdit="True" 
                        AllowFilteringByColumn="True" OnPreRender="rg200_PreRender" OnItemCreated="rg200_ItemCreated" 
                        EnableViewState="False" OnUpdateCommand="rg200_UpdateCommand" AllowAutomaticDeletes="true" 
                        AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
                        <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White" 
                            HorizontalAlign="Center" BorderColor="White" BorderWidth="1px" /> 
                        <ExportSettings IgnorePaging="true" ExportOnlyData="true"
                            <Pdf AllowModify="false" AllowPrinting="true" PageBottomMargin="" PageFooterMargin="" 
                                PageHeaderMargin="" PageHeight="11in" PageLeftMargin="" PageRightMargin="" PageTopMargin="" 
                                PageWidth="14in" /> 
                        </ExportSettings> 
                        <MasterTableView GridLines="None" DataKeyNames="orderId" CommandItemDisplay="Top" 
                            EditMode="InPlace"
                            <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true" 
                                ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowAddNewRecordButton="false" /> 
                            <Columns> 
                                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="3%" 
                                    ItemStyle-Width="3%"
                                    <HeaderStyle Width="3%"></HeaderStyle> 
                                    <ItemStyle Width="3%"></ItemStyle> 
                                </telerik:GridClientSelectColumn> 
                                <telerik:GridBoundColumn UniqueName="sId" HeaderText="sId" DataField="sId" ReadOnly="true" 
                                    Visible="false"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="orderId" HeaderText="orderId" ReadOnly="true" 
                                    Visible="false" DataField="orderId"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Customer Name" HeaderText="Customer Name" DataField="Customer Name" 
                                    ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Market Name" HeaderText="Market Name" DataField="Market Name" 
                                    ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="LOB" HeaderText="LOB" DataField="LOB" ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Headend Name" HeaderText="Headend Name" DataField="Headend Name" 
                                    ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Project Name" HeaderText="Project Name" DataField="Project Name" 
                                    ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Site Name" HeaderText="Site Name" DataField="Site Name" 
                                    ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Task Status" HeaderText="Task Status" DataField="Task Status" 
                                    ReadOnly="true"
                                </telerik:GridBoundColumn> 
                                <%--<telerik:GridTemplateColumn UniqueName="Clarify Account Nbr" HeaderText="Clarify Account Nbr" 
                                    DataField="Clarify Account Nbr"
                                    <ItemTemplate> 
                                        <asp:Label ID="lblClarifyAccountNbr" Text='<%# Eval("Clarify Account Nbr") %>' runat="server"></asp:Label> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <asp:TextBox ID="txtClarifyAccountNbr" Text='<%# Eval("Clarify Account Nbr") %>' 
                                            runat="server"></asp:TextBox> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn>--%> 
                                <telerik:GridBoundColumn UniqueName="Clarify Account Nbr" HeaderText="Clarify Account Nbr" 
                                    DataField="Clarify Account Nbr"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Site ID" HeaderText="Site ID" DataField="Site ID"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn UniqueName="Quote ID" HeaderText="Quote ID" DataField="Quote ID"
                                </telerik:GridBoundColumn> 
                                <telerik:GridCheckBoxColumn UniqueName="EDP Created?" HeaderText="EDP Created?" DataField="EDP Created?"
                                </telerik:GridCheckBoxColumn> 
                                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" Visible="false"
                                </telerik:GridEditCommandColumn> 
                            </Columns> 
                        </MasterTableView> 
                        <ClientSettings EnableRowHoverStyle="true" ReorderColumnsOnClient="false" AllowDragToGroup="false" 
                            AllowColumnsReorder="True"
                            <Scrolling AllowScroll="true" EnableVirtualScrollPaging="false" UseStaticHeaders="true" /> 
                            <Selecting AllowRowSelect="True"></Selecting> 
                            <Resizing AllowRowResize="true" AllowColumnResize="True" EnableRealTimeResize="True" 
                                ResizeGridOnColumnResize="False"></Resizing> 
                            <ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents> 
                        </ClientSettings> 
                        <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle> 
                    </telerik:RadGrid> 
                    <telerik:RadContextMenu ID="RadMenu1" runat="server" OnItemClick="RadMenu1_ItemClick" 
                        EnableRoundedCorners="true" EnableShadows="true"
                        <Items> 
                            <telerik:RadMenuItem Text="Edit Task" /> 
                            <telerik:RadMenuItem Text="Complete Task" /> 
                        </Items> 
                    </telerik:RadContextMenu> 

codebehind

private void BindGrid() 
    { 
        try 
        { 
            DataSet dsResult = new DataSet(); 
 
            clsSearch_BL clsObj = new clsSearch_BL(); 
            clsObj.TaskID = (string)Session["TaskID"]; 
            clsObj.CustName = (string)Session["CustName"]; 
            clsObj.MarketName = (string)Session["MarketName"]; 
            clsObj.HeadendName = (string)Session["HeadendName"]; 
            clsObj.SiteName = (string)Session["SiteName"]; 
            clsObj.TaskStatus = (string)Session["TaskStatus"]; 
            clsObj.OrdType = (string)Session["OrdType"]; 
            clsObj.OrdStatus = (string)Session["OrdStatus"]; 
            clsObj.ProName = (string)Session["ProName"]; 
            clsObj.LOC = (string)Session["LOC"]; 
            clsObj.QuoteID = (string)Session["QuoteID"]; 
            clsObj.CMNumber = (string)Session["CMNumber"]; 
 
            if (Session["SearchRes"] == null) 
            { 
                dsResult = clsObj.getSearchResults_BL(clsObj); 
                Session["SearchRes"] = dsResult; 
            } 
            else 
                dsResult = (DataSet)Session["SearchRes"]; 
 
            DataView dataView = dsResult.Tables[0].DefaultView; 
            rg200.DataSource = dsResult
            //rg200.DataBind(); 
        } 
        catch (Exception ex) 
        { 
            throw ex; 
        } 
    } 
 
    protected void rg200_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) 
    { 
        BindGrid(); 
    } 
 
    protected void rg200_PreRender(object sender, EventArgs e) 
    { 
        rg200.MasterTableView.GetColumnSafe("RowIndicator").Display = false
 
        if (rg200.EditIndexes.Count > 0 || rg200.MasterTableView.IsItemInserted) 
        { 
            GridColumn col1 = rg200.MasterTableView.GetColumn("EditCommandColumn") as GridColumn; 
            col1.Visible = true
        } 
        else 
        { 
            GridColumn col2 = rg200.MasterTableView.GetColumn("EditCommandColumn") as GridColumn; 
            col2.Visible = false
        }  
 
    } 
 
    protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e) 
    { 
        int radGridClickedRowIndex; 
 
        radGridClickedRowIndex = Convert.ToInt32(Request.Form["radGridClickedRowIndex"]); 
 
        switch (e.Item.Text) 
        { 
            case "Edit Task": 
                rg200.Items[radGridClickedRowIndex].Edit = true
                break; 
            case "Complete Task": 
                rg200.MasterTableView.PerformDelete(rg200.Items[radGridClickedRowIndex]); 
                break; 
        } 
    } 




Babu Puchakayala
Top achievements
Rank 1
 answered on 02 Jul 2010
7 answers
312 views
Hi,

I have a problem with the boundary detection of a RadComboBox used on my screen. It is placed on the extreme right of my screen. So whenever the dropdown opens(where DropDownWidth = 200px, and the Width = 120px with EnableScreenBoundaryDetection set as true), rather than shifting to the left, it introduces a horizontal scroll in my page to accomodate the opened dropdown which opens to the right. And when closed, the page returns to normal with no horizontal scroll.

I did search your forums too but could not find any exact solution for the above. I am working with a licensed Telerik RadComboBox version 2.8.5.0. Let me know if you can guide me in the above query. Also, let me know if you require a snapshot of this problem.

Regards,
Ankush
Simon
Telerik team
 answered on 02 Jul 2010
5 answers
226 views
Hello, guys.
I have problem similar to described here http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-inside-nestedviewtemplate-of-another-dynamic-radgrid.aspx
But somehow doing things the same way I don't get the same result.
Here is what my logic is:
I have SelectableItems grid.
In the nested view I have ItemLots grid where I would like to show some information to user.
I have following grdSelectableItems_ItemCommand event hadler

    protected void grdSelectableItems_ItemCommand(object source, GridCommandEventArgs e)
    {
        GridDataItem Row = e.Item as GridDataItem;
        if (Row != null)
        {
            if (e.CommandName == RadGrid.ExpandCollapseCommandName)
            {
                if (!Row.Expanded)
                    ExpandNestedView (Row);
            }
        }
    }

ExpandNestedView is the proecedure where I have the follwing peace of code
...
        GridNestedViewItem NestedView = ParentGridRow.ChildItem;
...
                RadGrid grdItemLots = (RadGrid)NestedView.FindControl("grdItemLots");
                if (grdItemLots != null)
                {
                    grdItemLots.NeedDataSource += new GridNeedDataSourceEventHandler(grdItemLots_NeedDataSource);
                    grdItemLots.Rebind();
                }
...

grdItemLots_NeedDataSource procedure fills the datasource and assigns it to grdItemLots.DataSource.
grdItemLots has AllowPaging="True"

And also  I wrote this little thing hoping that this will update grid's content after my actions with it.
    protected void grdItemLots_ItemCreated(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridDataItem)
        {
            GridNestedViewItem NestedView = (GridNestedViewItem)((sender as RadGrid).NamingContainer);
            if (NestedView != null)
            {
                RadGrid grdItemLots = (RadGrid)NestedView.FindControl("grdItemLots");
                if (grdItemLots != null)
                    RadAjaxManager1.AjaxSettings.AddAjaxSetting(grdItemLots, grdItemLots);
            }
        }
    }

So the show begins when I try to go to the page different from #1 after expanding parent row. grdItemLots dissapears. BUT ! When I collapse and then expand the parent row I can see the data from the page 2.
What did I do wrong?

With respect, Sergey.
P.S. I'm using trial version 2010.1.519.40
Martin
Telerik team
 answered on 02 Jul 2010
1 answer
71 views
Hi,

I am trying to adding a drop down for filter in my child grid,but i am facing problem in it.
Please help, is there any tutorial for the same.
I have already gone through below link.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx

But i am getting error like "You must override Clone() for a derived grid column".
Pavlina
Telerik team
 answered on 02 Jul 2010
3 answers
86 views
Hello there,

I have been tasked with evaluating Teleriks products for a tool we are building.  Basically we require a web based text editor that will allow us rich formatting control over our content and will be able to export HTML, DocX, PDF and all the usual stuff.

One main requirement is that we will need to be able to copy charts and tables directly from Word and excel and have them retained in the editor and exported nicely in html afterwards.

I tested this on your demo editor but the images were not retained and I could not copy charts from Excel. 

Please can you let me know if you product has this functionality and if so send me a link to a demo editor I can test.
Kindest regards

Jools Gallagher
Rumen
Telerik team
 answered on 02 Jul 2010
7 answers
726 views
hi

i am programmatically creating the list view and on the item template i am adding the edit and delete command buttons as per the demo like so :-

TableRow ControlRow = new TableRow(); 
                TableCell Cell1 = new TableCell(); 
 
                ImageButton imageButton = new ImageButton(); 
                imageButton.ID = "UpdateButton"
                imageButton.CommandName = "Update"
                imageButton.ImageUrl = "Img/site/buttons/Update.gif"
                Cell1.Controls.Add(imageButton); 
 
                ImageButton DeleteButton = new ImageButton(); 
                DeleteButton.ID = "CancelButton"
                DeleteButton.CommandName = "Cancel"
                DeleteButton.ImageUrl = "Img/site/buttons/Cancel.gif"
                Cell1.Controls.Add(DeleteButton); 
 
                ControlRow.Cells.Add(Cell1); 
                DisplayTable.Rows.Add(ControlRow); 
 
                NewPanel.Controls.Add(DisplayTable); 
 
                container.Controls.Add(NewPanel); 

the list view is defined as follows :-

        private RadListView CreateList(XmlNode Template) 
        { 
            RadListView MyList = new RadListView(); 
            MyList.ID = Template.Attributes["Name"].Value; 
            MyList.Width = Unit.Pixel(600); 
 
            MyList.DataSource = GetBaseData(Template); 
            MyList.DataMember = Template.Attributes["Name"].Value; 
 
            MyList.LayoutTemplate = new LayoutTemplate(Template); 
            MyList.ItemTemplate = new ItemTemplate(Template); 
            MyList.AlternatingItemTemplate = new ItemTemplate(Template); 
            MyList.EmptyDataTemplate = new EmptyDataTemplate(Template); 
            MyList.EditItemTemplate = new EditItemTemplate(Template); 
            MyList.InsertItemTemplate = new EditItemTemplate(Template); 
            MyList.SelectedItemTemplate = new ItemTemplate(Template); 
            MyList.ItemPlaceholderID = "itemPlaceholder"
 
 
             
            MyList.ItemInserted += new EventHandler<RadListViewInsertedEventArgs>(MyList_ItemInserted); 
            MyList.ItemUpdated += new EventHandler<RadListViewUpdatedEventArgs>(MyList_ItemUpdated); 
            MyList.ItemDeleted += new EventHandler<RadListViewDeletedEventArgs>(MyList_ItemDeleted); 
            MyList.NeedDataSource += new EventHandler<RadListViewNeedDataSourceEventArgs>(MyList_NeedDataSource); 
            MyList.ItemCommand += new EventHandler<RadListViewCommandEventArgs>(MyList_ItemCommand); 
 
 
            return MyList; 
        } 

but if i click on the edit button nothing seems to happen , am i missing an event or trigger ?

Peter



Rosen
Telerik team
 answered on 02 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?