Can I ask a question? What does the MS Treeview look like in non-IE browsers and in Mac browsers? Can it be used on a public site that might have users with non-IE/PC browsers?
--- "Kumar, Karthick" <[EMAIL PROTECTED]> wrote: > > OK, there are number of treeview controls available. > But as I am using the Microsoft Treeview control, > follow these to implement: > > 1. Go to: > http://msdn.microsoft.com/archive/en-us/samples/internet/asp_dot_net_servercontrols/webcontrols/default.asp > and download the MS Treeview control. > > NOTE: once you download the Treeview or Ms > WebControls from the above Ms Gallery, read the > README file to know how to start exploring the > controls. Once you complete that, you will get > Microsoft.Web.UI.Controls.dll in your C:\Program > Files\IE Web Controls\build folder. In your Visual > Studio.NET, right click on Toolbox->Add/Remove Items > and click Browse to add the > Microsoft.Web.UI.Controls.dll and then click Add, > which will give you 3 more controls along with > Treeview control in your toolbox, which you can then > drag and drop in your webforms and use it as just > another server/web controls. > > 2. Visit the following for more info as to how to > use the treeview control: > > http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/treeview.asp > www.asp.net/forums > > But to be honest, there aren't much tutorial > available as in "how-to" for this Treeview control, > probably it is free that's why.... > > Anyway, here is a piece of code to start with: > > In the Webform.aspx create a new Treeview control > and name it "TreeView1". Get a Dataset (objDS) > having all the info from db. > > and here is the code to bind the database field > "SuppName" to the Node called nodeSupp, which is > then added to the Treeview control for the number of > rows contained in the dataset. > > TreeNode nodeSupp; > > foreach(DataRow dr in objDS.Tables[0].Rows) > { > nodeSupp = new TreeNode(); > nodeSupp.Text = dr["SuppName"].ToString(); > nodeSupp.ID = dr["SuppID"].ToString(); > TreeView1.Nodes.Add(nodeSupp); > > } > > I have also done some data manipulation for > parent/children data; if you need to know, let me > know so that I can email you seperately. > > Hope this helps. > > Regards, > Karthick > > > > > > > -----Original Message----- > From: jamil tamimi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 12:13 PM > To: [email protected] > Subject: [AspNetAnyQuestionIsOk] TreeView > > > > > i want to create a treeview control get data from > database. i need the treeview to support checkbox > too. > > if there is any website can help me send it to me > > thanks > > > --------------------------------- > Do you Yahoo!? > Make Yahoo! your home page > > [Non-text portions of this message have been > removed] > > > > > Yahoo! Groups Links > > > > > > > > > > > Yahoo! Groups Links > > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ > > > [EMAIL PROTECTED] > > > > > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
