How to Retain or Persist async postback upload file ,when post back happend In RadGrid View,Upto click on insert column..

1 posts, 0 answers
  1. Sairam
    Sairam avatar
    56 posts
    Member since:
    May 2013

    Posted 21 May 2013 Link to this post

     
    <div id="highlighter_18338" class="tFormatCodeBlock supportThreadCodeBlock" style="border: 1px solid rgb(127, 157, 185); overflow-y: auto;">
    <div style="background-color: rgb(255, 255, 255);"><font style="margin-left: 0px ! important;"><code style="color: #000000;"> <telerik:GridTemplateColumn Visible="true" DataField="Signature" HeaderText="Signature"<br>
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" UniqueName="Signature"><br>
                        <ItemTemplate><br>
                            <telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" DataValue='<%#Eval("Signature") is DBNull ? null : Eval("Signature")%>'<br>
                                AutoAdjustImageControlSize="false" ResizeMode="Fit" Height="50px" Width="120px" /><br>
                        </ItemTemplate><br>
                        <InsertItemTemplate><br>
                            <telerik:RadAsyncUpload runat="server" ID="ImgImages2" AllowedFileExtensions=".jpg,.jpeg,.png,.gif"<br>
                                MaxFileInputsCount="1" Skin="Outlook" Width="110px" /><br>
                            <asp:Label ID="lblupload2" runat="server" Visible="true" CssClass="error"></asp:Label><br>
                        </InsertItemTemplate><br>
                        <EditItemTemplate><br>
                            <telerik:RadAsyncUpload runat="server" ID="ImgImages" AllowedFileExtensions=".jpg,.jpeg,.png,.gif"<br>
                                MaxFileInputsCount="1" Skin="Outlook" Width="110px" /><br>
                            <asp:Label ID="lblupload1" runat="server" Visible="true" CssClass="error"></asp:Label><br>
                        </EditItemTemplate><br>
    <br>
    <br>
                    </telerik:GridTemplateColumn><br>
    <br>
     <telerik:GridTemplateColumn Visible="true" DataField="chkNumber" HeaderText="Check Number"<br>
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" UniqueName="chkNumber"><br>
                       <br>
                        <ItemTemplate><br>
                            <%# Eval("chkNumber")%><br>
                        </ItemTemplate><br>
    <EditItemTemplate><br>
                            <telerik:RadTextBox ID="rdtxtchkNumber" runat="server" Width="160px" MaxLength="4"<br>
                                onclick="shouldConfirm = true;" Text='<%# Eval("chkNumber") %>'><br>
                            </telerik:RadTextBox><br>
                            <telerik:RadButton ID="RbtnReset" runat="server" Width="40px" CausesValidation="false"<br>
                                Text="Reset" OnClick="RbtnResetCheckNo_Click"><br>
                            </telerik:RadButton><br>
                           <br>
                          <br>
                        </EditItemTemplate><br>
                    </telerik:GridTemplateColumn><br></code></font></div></div>




    The following code inside the rad Grid ,when user upload file and click on "reset" button i don't want to loss the file ,
    how many post back are happens i don't want to loss data,Only when user click 's on insert or Edit of
    Rad Grid I want to insert or update the data.


Back to Top