I have a tab control with 4 tabs on my web form. I'd like to know if
it is possible to manipulate the tabs themselves. For instance, is
there a way to set tabs 2 thru 4 disabled at runtime and set tab1 to
be enabled only? Thanks.
1. Microsoft webcontrol... - ASP.NET Web Controls
2. DataGrids, SortCommands and Microsoft IE WebControl TabStrips Problem
Hello, I wonder if anyone has had any experience with this??? I have a page with an IE web control tab strip and a single datagrid. The datagrid's columns are created manually depending on the SelectedIndex of the tabstrip. In order to get the SelectedIndex of the tabstrip I have to wait until the Page_Load event. In order to properly initialise the columns so they respond the SortCommand event I have to use the Page_Init event. The problem I have is that if I want the events of the column to fire I can't get the right SelectedIndex (always 0) and if I want to generate the different columns dependant on SelectedIndex, I get no events firing. I keep going round in circles... I have noticed from previous posts that it is suggested I add <Columns><asp:BoundColumn></asp:BoundColumn></Columns> the events will fire. They all do except for the SortCommand event. I experimented and found that adding <Columns><asp:HyperLinkColumn SortExpression="Dummy"></asp:HyperLinkColumn></Columns> will initialise the SortCommand event as well. Now using the above solves the problem but I was wondering if anyone had another method as I hate using this sort of workaround in my code. Cheers
3. Deriving from Microsoft.Web.UI.WebControl.TreeNode - ASP.NET Web Controls
4. Could not find Microsoft.Web.UI.WebControls.dll for webcontrol
I download IEWebControls.exe, and installed it. Installation created IE Web
Controls directory. The readme.txt said,
3. Create a /bin subdirectory for the application and copy the file
Microsoft.Web.UI.WebControls.dll to this directory.
However I could locate Microsoft.Web.UI.WebControls.dll. Actually I could
not find any DLL under the directory tree created by the install program.
5. Microsoft.Web.UI.Webcontrol Treeview - Asp.Net
6. Question about Microsoft TreeView webcontrol
hello, everyone,
I build one tree menu using TreeView webcontrol , everything is ok, from
tree node click, one sub-frame(main) can refresh its content with new url.
My question is, I have another sub-frame(message), message frame and main
frame cannot be shown at the same time, so I wonder, when the message frame
is visible, how can I add the Javascript to tree-node click, to switch the
main frame to visible ?
in my code, I've build two JavaScript funtion as SwitchToMessage(),
SwitchToMain(). Where can I add "SwitchToMain" before tree-node click
event ?
I tried to use " node.Attributes.Add("onclick",
"javascript:SwitchToMain()", but it seems that node doesn't have
Attributes.
Please help me, and if someone have the alternate solution, please notify
me, Thanks!
Wait online,
Edward
7. Custom webcontrol that references another webcontrol
8. WebControl inside of WebControl and attaching events
I have built a navigation custom web control that I have been placing on
various pages without issue. When one of the image buttons within the
control is clicked , a CommandEvent is raised on the control itself. I
Handle that event on in a Sub on the codebehind on which the page resides.
Today, I am attempting to place that navigation control within a larger
control. The larger control is a dashboard into some tables in my database.
So what I am trying is in the constructor for the dashboard I am assigning
the event to trigger the function, but the function seems to never be called.
How off base I am in this approach and can someone put me on track?
portNavBar.CommandEvent +=new NavBar.Command(portNavBar_CommandEvent);
private void portNavBar_CommandEvent(object sender, CommandEventArgs e)
{
CurrentPage = CurrentPage + 1;
ViewerRole="bob";
}
--
Kasabaarde Sumta