Allowing the User to Delete a File

This demo illustrates how to add functionality to the DataGrid to allow the user to delete a file by clicking a "Delete" button next to the file's name. (Note that for this demo, clicking the Delete button does not actually Delete the file... it simply emits a message explaining what file you opted to delete...)


 File NameLast Write TimeFile Size
ArraySortingDemo.aspx12/10/20072,410 bytes
BinarySearch.complex.aspx12/10/20075,239 bytes
BinarySearch.simple.aspx12/10/20074,231 bytes
BindArrayDG.aspx12/10/20071,569 bytes
BindArrayDL.aspx12/10/20071,734 bytes
BindCustomClass.aspx12/10/20073,410 bytes
BindingDataGrid.aspx12/10/20073,492 bytes
blogTest.aspx12/10/20074,203 bytes
BrowserDetection.aspx12/10/20074,162 bytes
ButtonClientSide.aspx12/10/20071,546 bytes
CachedPaging.aspx12/10/20077,734 bytes
Calendar.aspx12/10/20071,583 bytes
Cal_1.aspx12/10/20071,282 bytes
Cal_2.aspx12/10/20074,507 bytes
Cal_3.aspx12/10/20077,315 bytes
CheckboxListDemo.aspx12/10/20077,541 bytes
CollapsibleRepeater.aspx12/10/20075,367 bytes
ConsumeRSS.aspx12/10/20074,681 bytes
csharpexample.aspx12/10/20073,239 bytes
customizeTemplate.aspx12/10/20074,447 bytes
CustPaging.aspx12/20/20075,695 bytes
DataTableCompute.aspx12/10/20074,016 bytes
DataTableExpression.aspx12/10/20072,704 bytes
ddlSelectedItemStyle.aspx12/10/20071,161 bytes
dgExample1.aspx12/10/20072,088 bytes
dgExample10.aspx12/10/20073,532 bytes
dgExample11.aspx12/10/20076,699 bytes
dgExample12.aspx12/10/20075,053 bytes
dgExample13.aspx12/10/20074,150 bytes
dgExample14.aspx12/10/20075,571 bytes
dgExample15.aspx12/10/20077,483 bytes
dgExample16.aspx12/10/20078,157 bytes
dgExample17.aspx12/10/200710,891 bytes
dgExample18.aspx12/10/20075,410 bytes
dgExample19.aspx12/10/20075,718 bytes
dgExample2.aspx12/10/20072,479 bytes
dgExample20.aspx12/10/20077,405 bytes
dgExample21.aspx12/10/20077,642 bytes
dgExample22.aspx12/10/20077,919 bytes
dgExample23.aspx12/10/20075,638 bytes
dgExample24.aspx12/10/20075,203 bytes
dgExample25.aspx12/10/20074,311 bytes
dgExample26.aspx12/10/20074,970 bytes
dgExample27.aspx12/10/20077,201 bytes
dgExample28.aspx12/10/20075,059 bytes
dgExample29.aspx12/10/20073,590 bytes
dgExample3.aspx12/10/20072,884 bytes
dgExample30.aspx12/10/20072,901 bytes
dgExample31.aspx12/10/20073,557 bytes
dgExample32.aspx12/10/20073,858 bytes
dgExample33.aspx12/10/20073,713 bytes
dgExample34.aspx12/10/20075,349 bytes
dgExample35.aspx12/10/20076,619 bytes
dgExample36.aspx12/10/20077,815 bytes
dgExample37.aspx12/10/20079,272 bytes
dgExample4.aspx12/10/20074,210 bytes
dgExample5.aspx12/10/20073,689 bytes
dgExample6.aspx12/10/20074,437 bytes
dgExample7.aspx12/10/20075,550 bytes
dgExample8.aspx12/10/20077,961 bytes
dgExample9.aspx12/10/20075,448 bytes
dgHighlight.aspx12/10/20078,357 bytes
dgRandomOrder.aspx12/10/20073,499 bytes
dgRandomOrder2.aspx12/10/20074,929 bytes
dgRollup.aspx12/10/200710,767 bytes
dgSubHeaders.aspx12/10/20077,471 bytes
dgSummaryDemo.aspx12/10/20072,526 bytes
DHTMLDataGrid.aspx12/10/20071,126 bytes
DispImagesFromDir.aspx12/10/20072,529 bytes
DispImagesFromDirWithResize.aspx12/10/20074,594 bytes
DispImagesFromDirWithResize2.aspx12/10/20075,742 bytes
DisplayXMLInASPNET.aspx12/10/20071,048 bytes
dlExampleRepeatColumns.aspx12/10/20073,258 bytes
DynamicDataTable.aspx12/10/20072,340 bytes
dynCtrls1.aspx12/10/20071,140 bytes
dynCtrls2.aspx12/10/20071,956 bytes
dynCtrls3.aspx12/10/20071,734 bytes
dynCtrls4.aspx12/10/20072,527 bytes
dynCtrls5.aspx12/10/20073,727 bytes
EmailControl.aspx12/10/20073,174 bytes
EmailControl2.aspx12/10/20073,573 bytes
EmailControl3.aspx12/10/20072,829 bytes
enc.aspx12/10/20075,478 bytes
ExpiringDemoA.aspx12/10/20076,102 bytes
ExpiringDemoB.aspx12/10/20077,049 bytes
FamilyTree-TreeView.aspx12/10/20073,738 bytes
FileDeptDataCaching.aspx12/10/20074,601 bytes
filesystemdisp.aspx12/10/2007975 bytes
FormatXML.aspx12/10/2007610 bytes
FreeTextBoxDemo1.aspx12/10/20072,441 bytes
FreeTextBoxDemo2.aspx12/10/20072,780 bytes
GeneratePassword.aspx12/10/20078,849 bytes
GetRenderedHTML.aspx12/10/20074,765 bytes
GoogleCache.aspx12/10/2007599 bytes
GoogleSearch.aspx12/10/20072,406 bytes
GoogleSearch.Full.aspx12/10/20076,112 bytes
hangman.aspx12/10/200714,928 bytes
HoverCalInPage.aspx12/10/20071,991 bytes
HttpWebRequestDemo1.aspx12/10/20072,673 bytes
HyperlinkInNewWindow.aspx12/10/20074,084 bytes
HyperlinkInNewWindowWithJavaScript.aspx12/10/20074,144 bytes
HyperlinkTest.aspx12/10/20074,475 bytes
IsPrime.aspx12/10/20074,800 bytes
IsPrime.Client.aspx12/10/20076,026 bytes
ListArticles.AllowDelete.aspx12/10/20075,980 bytes
ListArticles.aspx12/10/20072,550 bytes
ListArticles.Sortable.aspx12/10/20076,350 bytes
ListBoxBinding.aspx12/10/20073,394 bytes
listboxEditDG.aspx12/10/20077,753 bytes
MasterDetail.aspx12/10/20076,995 bytes
md5demo.aspx12/10/20074,165 bytes
NoncollapsibleRepeater.aspx12/10/20073,215 bytes
oneDDLInFooter.aspx12/10/200711,891 bytes
OutputCaching.aspx12/10/2007904 bytes
PagingDataGrid.aspx12/10/20076,432 bytes
PieChart.aspx12/10/20073,309 bytes
PrettyCorners.aspx12/10/20074,104 bytes
PrettyRSSDisplay.aspx12/10/20073,659 bytes
printPage.aspx12/10/20074,361 bytes
printPage_old.aspx12/10/20072,420 bytes
ProblemNotReturningDisabledControls.aspx12/10/20078,703 bytes
rc4decrypt.aspx12/10/20072,960 bytes
rc4encrypt.aspx12/10/20073,399 bytes
ReadFile.aspx12/10/20072,546 bytes
ReadTextFile.aspx12/10/20072,546 bytes
ReceivingPage.aspx12/10/20071,688 bytes
regex.aspx12/10/20078,423 bytes
RegExPCase.aspx12/10/20073,126 bytes
RFVforCB.aspx12/10/20072,623 bytes
RolloverButtonDemo.aspx12/10/20072,374 bytes
RowHighlighter.aspx12/10/20078,393 bytes
RowSelectorDemo.aspx12/10/20072,949 bytes
rsdg.Demo1.aspx12/10/20074,579 bytes
rsdg.Demo2.aspx12/10/20073,850 bytes
rsdg.Demo3.aspx12/10/20073,885 bytes
rsdg.Demo4.aspx12/10/20073,851 bytes
RssFeed.aspx12/10/20073,728 bytes
RssFeed.code.aspx12/10/20073,933 bytes
RssFeedDemo.aspx12/10/20071,444 bytes
RssFeedDemo.stylin.aspx12/10/20072,105 bytes