| add images to a tool bar (3 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hi all, I'm using a tool bar in my web application and I need images on the tool bar. The thing is that when I disable one of the button on the bar, the image doesn't show up like disabled. In old VB, I didn't have to add any code and the image showed up like disabled. How can I do the same thing like VB in ASP.net? Thanks a lot. |
|
| Web Controls in Visual Studio (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I don't seem to be able to add nodes to the WebControls TreeView from within Visual Studio so that they get persisted out to the page. I click on the Nodes Collection button and add nodes, and they appear at design time, but they do not get saved to the aspx file, and they don't appear on the page when I run the application either. Is this a bug, or am I doing something wrong. Donp |
|
| Tab Strip does not work with IE 5.0 (NOT ANSWERED) (3 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| This was originally sent April 12 and I did not receive a response Here is a sample that works in IE 5.5 but not in IE 5.0. Two tabs are created programmatically. Each tab has a pageview and one literal control and textbox control. In IE 5.0, the first tab is rendered, but the tab is not selected. If you click on a tab, then the page view goes away, but the Tab Strip appears to start working corre... |
|
| install tree control (NOT ANSWERED) (7 replies, VIP) |
| ASPFriends.com 'aspngwebcontrols' list |
| I downloaded the Web Controls (Webcntl.msi) file and installed it. I am having trouble getting it set up to where I can use the controls. I customized the toolbox, adding the treeview control. The control shows up in the Web Forms tab of the toolbox but is greyed out & obviously cannot use it. What am I missing? |
|
| dynamic TreeView control (4 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hello, I am using the beta .5 TreeView control. If I give it an XML source programatically on page load, it works fine; but what I really want to do is the above plus, when I click a leaf node in the tree, go and grab the XML data island for the leaves of that leaf node, and then display them. So I do not have to send down the entire XML for the tree at once. //here is my code protected void Treev... |
|
| TreeView databinding (7 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I have a treeview that I plan to dynamically databind & have a couple questions. In looking through the Web Controls Help, the closest thing to what I need is to bind to an XML file. This would be fine if I was using SQL2K, but Im using SQL 7.0. Is there a way to get an XML file out of a SQL 7 DB or is there a way to bind the TreeView to a regular DataSet result? Also, has anyone had any luck pagi... |
|
| Example of Tab event handler pls? (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Could someone post an example of using the TabStrip to simply provide URL links (without MultiPage)? I'm just using it as a way to show which section you're in and to navigate to a different section. I suspect it's something like the following, but after 20 minutes of searching the MS docs and Help file, I can't figure out how to access the 'sender' or 'e' or the parent Control class properties to... |
|
| TreeView Web Control (3 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| This message, which was originally sent to "aspngibuyspy", has been moved to "aspngwebcontrols" mailing list by the List Master I am running build 9219 of ASP.NET. I downloaded the WebControls from http://www.msdn.microsoft.com/downloads/samples/internet/asp dot net serverc ontrols/webcontrols/sample.asp I followed the examples given in the help. However, when I try to run the page, it complains t... |
|
| IE5.0 and Multipage/Tabstrip (5 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hi there, I have my tabstrip and multipage working very nicely on my system, and with anyone who is using IE5.5. However when viewed with 5.0 the tabs just don't work. It all shows up but when you click on a tab nothing happens. On viewing the source it all ends at the bottom of the first multipage. any clues would be appreciated Morkai |
|
| Dynamic XML Data (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hello, I'm modeling a web application after the IBuySpy portal (Beta2). I've created a new module that utilizes the TreeView Web Control (Microsoft.Web.UI.WebControls) to display XML data from a static .xml file. However, I would like the XML data to be generated dynamically the result of a database query or stored procedure. I'm an ASP/XML rookie, and I don't want to go down the wrong path. I'm s... |
|
| Textbox "Server Control" doesn't maintain state (2 replies, VIP) |
| ASPFriends.com 'aspngwebcontrols' list |
| This message, which was originally sent to "aspngcommunity", has been moved to "aspngwebcontrols" mailing list by the List Master If I have a textbox "Server Control" and populate it form a script it doesn't maintain state. For example: HEAD SCRIPT language VBScript Sub GetTime TextBox1.value time() End Sub /SCRIPT /HEAD body MS POSITIONING "GridLayout" onload "GetTime()" asp:TextBox id TextBox1 s... |
|
| Tree view control (12 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I'm trying to to add new nodes in my code but I always get this error. Compiler Error Message: BC30456: The name 'add' is not a member of 'Microsoft.Web.UI.WebControls.TreeView'. How do I add nodes in a treeview? I have web controls 0.6 beta2. Here's the code. It displays test1 and test2, but how do I add these items from page load? Thanks sub page load(byval sender as object, byval e as eventargs... |
|
| AW: RE: Tree view control (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I like this object orientated programming. How could I bind a treenode to a SQL Server database data? TreeView is on aspx page: TreeView tree this.TreeView; TreeNode root new TreeNode(); root.Text "Root"; tree.Nodes.Add(root); TreeNode child new TreeNode(); //now I want to bind the treenode to the database dataset xml... child.Databind(); root.Nodes.Add(child); Ernst Eicher Ursprüngliche Nachricht... |
|
| AW: RE: AW: RE: Tree view control (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Thanks! I try this code it doesn'nt work: String strXML " TREENODES TreeNode Text 'root1' / TreeNode Text 'root2' TreeNode Text 'file1' / /TreeNode /TREENODES "; TreeView tree this.TreeView; TreeNode root new TreeNode(); root.Text "Root"; tree.Nodes.Add(root); TreeNode child new TreeNode(); //now I want to bind the treenode to the xml string child.TreeNodeSrc strXML; root.Nodes.Add(child); child.E... |
|
| TreeView - passing parameters (6 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| plz, I'm facing following problem : I want to pass some value to function generating XML tree in the treeview : MYTREE:treeview id "Tree" runat "server" TreeNodeSrc "http://xxx/something.aspx?ID 9" / I need to generate the ID value dynamically. As the TreeNodeSrc property doesn't allow databinding, I don't know how to achieve this. Any hints ? Tomas |
|
| Maintaining TreeView State (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hello List, My ASP.NET app uses a treeview to display data from MS SQL. The treeview is built in Page Load() as follows: void Page Load(Object sender, EventArgs e) { if (Page.IsPostBack false) { 1) Query database and populate SQLDataReader 2) Write SQLDataReader data to XML file } } The XML file is bound to the treeview in the markup as follows: myTreeView:treenode Text "Root" TreeNodeSrc "c:/myDa... |
|
| DataGrid/Repeater custom rows (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| We have a table in an ASP page that is a lot like a DataGrid web control's output, except it has one extra header row and one extra footer row. The header row is static text, and the footer rows are summary counts from the database. Mainly what I'm trying to do now is just get these extra rows in the table that the DataGrid generates. I posted this question once, and Doug Seven suggested HeaderTem... |
|
| TabStrip and Multipage (15 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I have a product infomation page for our intranet. The first 2 tabs, Info and Pricing are guaranteed to always be there. I would like to have a further set of tabs: Pictures, Spares and Accessories. However I only want these tabs to appear if there is content to go in them. Currently I have this bit of code on the pictures tab: If myDataSet.Tables("Pictures").Rows.Count 0 then If (myDataSet.Tables... |
|
| Treeview XML file error (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hello List, In creating an XML file for treeview binding, I sometimes see the following error. I can probably implement a try/catch routine to avoid the problem, but I'd like to know what is causing the problem. The XML filename is constant and hard coded in the app (is this acceptable?). Mine is the only browser session running the app. Exception Details: System.IO.IOException: The process cannot... |
|
| TreeView Container (7 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hello List, I'd like to place my treeview inside a table in order to limit the amount of room it occupies on a page. I was hoping to see scroll bars, but my table grows as my treeview is expanded. Any suggestions?? TIA, Mike |
|
| Any Additional Controls before RTM ? (5 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I am using the controls of the Framework (System.Web.UI.WebControls) and the IE Web controls (Microsoft.Web.UI.WebControls). My project has identified the need for additional controls not present in either of the two packages. Specifically, we need an OutlookView, ComboBox, SpinBox, Slider, etc. I am trying to determine if these controls will be available from Microsoft in the .NET SDK or IE Web C... |
|
| Using foreach in a TreeView (2 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I'm having trouble using 'foreach' to access each node in a TreeView. The following 'foreach' only executes for the root node in myTreeView, even though myTreeView contains 15 nodes. Am I doing something wrong? void RestoreTreeNodes() { foreach (TreeNode node in myTreeView.Nodes) { blah; blah; blah; } } TIA, Mike |
|
| Web controls installer doesn't install images? (4 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hi, I am trying to use the WebControls for Beta 2 TreeView in an aspx page and the text information from each node is just getting written across the page. In other words, there is no "tree" I think this is because no images are being installed when I install the controls. This is confirmed by looking at the page in Design mode. No images appear. Also, in looking at the "SystemImagesPath" value, t... |
|
| How do you programmatically Add a TreeNode Object? (6 replies) |
| ASPFriends.com 'aspngwebcontrols' list |
| I can't seem to figure out how to add a TreeNode to the TreeView programmatically. I can do it for a TreeNodeType: TreeNodeType tnt1 new TreeNodeType(); tnt1.Type "root"; tnt1.ImageUrl "images/root.gif"; thisTree.TreeNodeTypes.Add(tnt1); But the same pattern for nodes:: TreeNode tn new TreeNode(); tn.Type "folder"; tn.ImageUrl "images/folder.gif"; tn.Expanded true; tn.Text DisplayFileName(FolderNa... |
|
| tabstrip error (16 replies, VIP) |
| ASPFriends.com 'aspngwebcontrols' list |
| Hi all, Just starting out with the tabstrip and am getting an error right off. "The format of the file 'Microsoft.Web.UI.WebControls' is invalid. ERROR ON LINE 3 (watch wrapping) Line 1: %@Page Language "vb" AutoEventWireup "false" Codebehind "tabtest.aspx.vb" % Line 2: %@Import Namespace "MIcrosoft.Web.UI.WebControls" % Line 3: %@Register TagPrefix "mytab" Namespace "Microsoft.Web.UI.WebControls"... |
|