I have an upload section and a grid showing uploaded files. If you upload a file, then edit something in the grid, when the grid updates, the progress area shows itself while the grid is updating. How do I make it not do that behaviour?
All this is inside of an update panel:
All this is inside of an update panel:
<
div
style
=
"padding: 3px; border: 1px solid #000000; width: 100%; margin-bottom: 20px;"
>
<
h3
>Upload a New Document</
h3
>
<
table
>
<
tr
>
<
td
align
=
"right"
valign
=
"top"
class
=
"formlabel"
>
Key Words:
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtKeywords"
runat
=
"server"
Width
=
"300"
TextMode
=
"MultiLine"
MaxLength
=
"3000"
></
asp:TextBox
>
</
td
>
<
td
rowspan
=
"2"
>
<
asp:Repeater
ID
=
"repeaterValidResults"
runat
=
"server"
Visible
=
"False"
>
<
HeaderTemplate
>
<
div
style
=
"color: green"
>Uploaded valid files:</
div
>
</
HeaderTemplate
>
<
ItemTemplate
>
<%#DataBinder.Eval(Container.DataItem, "FileName")%>
(<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>)<
br
/><
br
/>
</
ItemTemplate
>
</
asp:Repeater
>
<
asp:repeater
id
=
"repeaterInvalidResults"
runat
=
"server"
visible
=
"False"
>
<
HeaderTemplate
>
<
div
style
=
"color: red; padding-top: 40px;"
>Invalid files:</
div
>
</
HeaderTemplate
>
<
itemtemplate
>
File: <%#DataBinder.Eval(Container.DataItem, "FileName") %>
(<%#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>)
<
br
/>
Mime-type: <%#DataBinder.Eval(Container.DataItem, "ContentType").ToString()%>
</
itemtemplate
>
</
asp:repeater
>
</
td
>
</
tr
>
<
tr
>
<
td
align
=
"right"
valign
=
"top"
class
=
"formlabel"
> File:
</
td
>
<
td
>Allowed File Types: <%=String.Join(",", RadUpload1.AllowedFileExtensions)%><
br
/>
Max File Size: <%=RadUpload1.MaxFileSize.ToString("N0")%> Bytes
<
telerik:RadUpload
ID
=
"RadUpload1"
runat
=
"server"
maxfilesize
=
"50000000"
InitialFileInputsCount
=
"1"
MaxFileInputsCount
=
"1"
AllowedFileExtensions
=
".doc,.docx,.pdf,.ppt,.pptx,.xls,.xlsx"
ControlObjectsVisibility
=
"None"
EnableFileInputSkinning
=
"true"
InputSize
=
"90"
Width
=
"500px"
/>
</
td
>
</
tr
>
</
table
>
<
telerik:RadProgressManager
id
=
"Radprogressmanager1"
runat
=
"server"
/>
<
telerik:RadProgressArea
id
=
"progressArea1"
runat
=
"server"
/>
<
asp:Button
id
=
"buttonSubmit"
runat
=
"server"
CssClass
=
"RadUploadSubmit"
OnClick
=
"buttonSubmit_Click"
Text
=
"Submit"
style
=
"MARGIN-TOP: 6px"
/>
</
div
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowFilteringByColumn
=
"True"
AllowPaging
=
"True"
AllowSorting
=
"True"
CellSpacing
=
"0"
DataSourceID
=
"DocumentsSqlDataSource"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
>
<
MasterTableView
DataKeyNames
=
"DocumentID"
DataSourceID
=
"DocumentsSqlDataSource"
AllowAutomaticUpdates
=
"True"
AllowAutomaticInserts
=
"False"
AllowAutomaticDeletes
=
"true"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to PDF"
></
CommandItemSettings
>
<
RowIndicatorColumn
Visible
=
"True"
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
Visible
=
"True"
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridEditCommandColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
ItemStyle-Width
=
"50px"
HeaderStyle-Width
=
"50px"
>
<
HeaderStyle
Width
=
"50px"
></
HeaderStyle
>
<
ItemStyle
Width
=
"50px"
></
ItemStyle
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridButtonColumn
ConfirmText
=
"Delete this Document? This cannot be undone."
ConfirmDialogType
=
"RadWindow"
ConfirmTitle
=
"Delete"
ButtonType
=
"ImageButton"
CommandName
=
"Delete"
Text
=
"Delete"
UniqueName
=
"DeleteColumn"
>
<
ItemStyle
HorizontalAlign
=
"Center"
CssClass
=
"MyImageButton"
Width
=
"50"
/>
</
telerik:GridButtonColumn
>
<
telerik:GridBoundColumn
DataField
=
"DocumentID"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter DocumentID column"
HeaderText
=
"DocumentID"
ReadOnly
=
"True"
SortExpression
=
"DocumentID"
UniqueName
=
"DocumentID"
Visible
=
"false"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"subCasIdx"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter subCasIdx column"
HeaderText
=
"subCasIdx"
SortExpression
=
"subCasIdx"
UniqueName
=
"subCasIdx"
Visible
=
"false"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridHyperLinkColumn
DataNavigateUrlFields
=
"FullPath"
DataTextField
=
"DocumentFileName"
HeaderText
=
"File"
FilterControlAltText
=
"Filter FullPathcolumn column"
UniqueName
=
"FullPathcolumn"
ItemStyle-Wrap
=
"false"
Target
=
"_blank"
>
</
telerik:GridHyperLinkColumn
>
<
telerik:GridBoundColumn
DataField
=
"DocumentFileName"
FilterControlAltText
=
"Filter DocumentFileName column"
HeaderText
=
"DocumentFileName"
SortExpression
=
"DocumentFileName"
UniqueName
=
"DocumentFileName"
Visible
=
"false"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
DataField
=
"Keywords"
FilterControlAltText
=
"Filter Keywords column"
HeaderText
=
"Keywords"
SortExpression
=
"Keywords"
UniqueName
=
"Keywords"
Display
=
"True"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"KeywordsTextBox"
runat
=
"server"
Text='<%# Bind("Keywords") %>' TextMode="MultiLine"
Width="300" Height="150"></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"KeywordsLabel"
runat
=
"server"
Text='<%# Eval("Keywords") %>'></
asp:Label
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
DataField
=
"DocumentTypeID"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter DocumentTypeID column"
HeaderText
=
"DocumentTypeID"
SortExpression
=
"DocumentTypeID"
UniqueName
=
"DocumentTypeID"
Visible
=
"false"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
</
Columns
>
<
EditFormSettings
EditFormType
=
"AutoGenerated"
CaptionFormatString
=
"Edit Details"
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
ButtonType
=
"PushButton"
>
</
EditColumn
>
<
FormTableButtonRowStyle
Font-Bold
=
"true"
BackColor
=
"Gainsboro"
/>
<
FormCaptionStyle
Font-Bold
=
"True"
HorizontalAlign
=
"Center"
BackColor
=
"Gainsboro"
Font-Size
=
"12pt"
/>
<
FormTableStyle
BorderStyle
=
"Solid"
BorderColor
=
"Black"
BorderWidth
=
"1px"
Font-Bold
=
"True"
/>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
></
FilterMenu
>
</
telerik:RadGrid
>