W
William Main
I have an Internet Explorer Toolbar with a ToolBarCheckButtonCollection on
it. I am trying to access this collection so that I can check the Selected
property of one of the buttons. I tried
ToolbarCheckButtonCollection grpMove = this.Toolbar1.Items[12];
but I get an error on compile
C:\Inetpub\wwwroot\GroupView\PayrxTreeView.ascx.cs(237): Cannot implicitly
convert type 'Microsoft.Web.UI.WebControls.ToolbarItem' to
'Microsoft.Web.UI.WebControls.ToolbarCheckButtonCollection'
How do I access the group?
Once I've properly addressed the group I ham hoping that I can simply use
ToolbarCheckButton chkGroup = grpMove[0];
to address the first button in the group.
it. I am trying to access this collection so that I can check the Selected
property of one of the buttons. I tried
ToolbarCheckButtonCollection grpMove = this.Toolbar1.Items[12];
but I get an error on compile
C:\Inetpub\wwwroot\GroupView\PayrxTreeView.ascx.cs(237): Cannot implicitly
convert type 'Microsoft.Web.UI.WebControls.ToolbarItem' to
'Microsoft.Web.UI.WebControls.ToolbarCheckButtonCollection'
How do I access the group?
Once I've properly addressed the group I ham hoping that I can simply use
ToolbarCheckButton chkGroup = grpMove[0];
to address the first button in the group.