File to upload .count = 0 when I have the radupload as custom radgrid addedit control

Thread is closed for posting
2 posts, 0 answers
  1. Andy Taslim
    Andy Taslim avatar
    16 posts
    Member since:
    May 2010

    Posted 16 Aug 2010 Link to this post

    Hi guys,

    I have a user control that has radgrid inside it. During edit / add, I will use my own custom user control to edit / add.

    Here is my radgrid code:

    <telerik:RadGrid  ID="rgDocumentCheckList" runat="server" GridLines="None" 
        AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" 
    <HeaderContextMenu EnableAutoScroll="True"></HeaderContextMenu>
        <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="DocumentId" Name="DocumentListTable">
                <telerik:GridBoundColumn UniqueName="DocumentType" HeaderText="Document Type" DataField="DocumentTypeName">
                <telerik:GridHyperLinkColumn UniqueName="DocumentLink"
                    DataTextFormatString="{0}" DataTextField="DocumentTitle"
                    DataNavigateUrlFormatString="{0}" DataNavigateUrlFields="URL">
                <telerik:GridBoundColumn UniqueName="Stage" HeaderText="Stage" DataField="StageName">
                <telerik:GridBoundColumn UniqueName="Remarks" HeaderText="Remarks" DataField="Remark">
                <telerik:GridBoundColumn UniqueName="UploadedBy" HeaderText="Uploaded By" DataField="UploadedBy">
                <telerik:GridBoundColumn UniqueName="UploadedDate" HeaderText="Uploaded Date" DataField="UploadedDate">
                <telerik:GridBoundColumn UniqueName="Status" HeaderText="Status" DataField="Status">
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" ItemStyle-Width="10px" Visible="true">
    <ItemStyle Width="10px"></ItemStyle>
                        <telerik:GridButtonColumn ButtonType="ImageButton" ConfirmDialogType="RadWindow"
                                HeaderButtonType="None" ImageUrl="~/Resources/Images/Bin.gif" ItemStyle-Width="10px" UniqueName="colActionDelete"
                                Visible="true" CommandName="Delete" ConfirmText="Confirm to delete?" ConfirmTitle="Action confirmation">
                                <ItemStyle Width="10px" />
            <EditFormSettings UserControlName="~/UserControl/CommonFunctionality/DocumentCheckList/DocumentAddEdit.ascx" EditFormType="WebUserControl">
                <EditColumn UniqueName="EditCommandColumn1">

    I found this link, and under "Workaround for RadGrid for ASP.NET AJAX" i found a great solution for using GridTemplateColumn. But how can I do it if I use my own control to add and edit?

    Thank you.

  2. Yana
    Yana avatar
    4985 posts

    Posted 23 Aug 2010 Link to this post

    Hello Andy,

    Please excuse us for the delayed reply.

    I've attached a simple page to demonstrate how to achieve the needed approach, please download it and give it a try.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top