Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Protected Sub cbAll_CheckChanged(ByVal s As Object, ByVal e As EventArgs) Dim blnChecked As Boolean = False For Each gvRow As GridViewRow In gvParent.Rows '// get the checkboxed items for the assets Dim gvChildAsset As GridView = (DirectCast(gvRow.FindControl("gvChildAssets"), GridView)) '// for each of the rows in the child task gridview ' For Each dc System.web.DataControlField in gvchildasset.columns For Each dc As DataControlField In gvChildAsset.Columns If TypeOf dc Is TemplateField Then Dim cbAll As CheckBox = (DirectCast(gvChildAsset.FindControl("cbAll"), CheckBox)) If isNull(cbAll) Then Continue For If cbAll.Checked Then blnChecked = True Exit For End If End If Next For Each gvChildAssetRow As GridViewRow In gvChildAsset.Rows Dim cb As CheckBox = (DirectCast(gvChildAssetRow.FindControl("cb"), CheckBox)) If isNull(cb) Then Continue For If blnChecked Then cb.Checked = True End If Next Next End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|powershell try catch and $ErrorActionPreference = continue||6||71|
|Using VS2010 with .NetFramework 4.0, how would you make a multiline textbox appear as a label control?||9||45|
|QBCFMonitorService.exe randomly stops on Windows Server 2016 Essentials.||7||74|
|Click print button programmatically on print showdialog||1||24|
Join the community of 500,000 technology professionals and ask your questions.