Looking for sample code in asp or asp.net which uses two trees the left hand tree having all levels and leaf nodes and the right hand tree containing only levels.
Buttons in the middle to "move" levels or nodes around, add new levels, rename levels or delete levels.
Everything working off a table with parent/child type relationship.
I am building an add user website.I have several asp scripts in this website such as, query for username,create user, etc. Ideally I would like to have users logon to the website,and have these scripts execute with their individual security context Can anyone point me in the right direction, mabe some samples somewhere
im required to develop a simple expert system, like an animal guessing game where the questions, answers and rules are stored in the database. But the problem is i dont know what is needed to design the database and how it relates to each and other.
I'm looking for script where I can enter the location of a folder and a directory tree(folding list) is displayed containing all subfolders and files. I want to select a file from this directory tree and delete it. I can't seem to find what I want on the net.Can someone shed some light, please?
I'm creating a tree menu that uses FSO to read folders, subfolders and files. I'd like for each folder to have capabilty of being either Level 1,2,3,4 or 5 security. The 5 Levels are my security levels with 5 being Admin.
I'm looking for any advice on how to go about this. I was thinking of creating a hidden text file within each folder and storing the folders security level in it, then let asp read the text file as it builds my tree and display the appropriate folder icon representing Level 1,2,3,4 or 5 security.
I am working my way through Kevin Yanks tutorials on C# and object orientation, and I got stuck at the tree example.
Link to article
When I try loading http://xxx.xxx.xxx.xxx/tweb/test2/PlantTrees.aspx in my webbrowser I get this error message: Compiler Error Message: CS0246: The type or namespace name 'Tree' could not be found (are you missing a using directive or an assembly reference?)
I do however have the Tree.dll file in the bin folder, and it is lookin exactly like its supposed to.
When I try loadinghttp://xxx.xxx.xxx.xxx/test2/PlantTrees.aspx, however, the program works perfectly. (notice the difference in the URL's)
Why is that? Anyone know? Why do I have to remove the root folder name from the url to make it work??
Can any one give an example for handling a tree view web control event, inside an asp.net application? I am able to build a tree view using this control on an asp.net web form (on page load) but can not handle its events later on
html tag includes the reference to the event handler and looks like this: <iewc:treeview1 id="treeview1" runat="server" Expand = "treeview1_expand">
then the aspx.vb file includes the treeview1_expand() code: Public Sub TreeView1_Expand(ByVal sender As Object, ByVal e As Microsoft.Web.UI.WebControls.TreeViewClickEventArg s) Handles TreeView1.Expand this file also includes a withevents declaration for treeview1.
I am trying to generate a tree view in asp 3,0 using sql server.Whats happening is its not pulling the data from the database i can only see folders and the gifs but not the actual data. Code:
I have written a code for Tree view in asp using database but it works fine in IE and it doesnt work in open source browsers means mozilla,netscape can someone tell me a link where i can get the code which works fine in IE,Mozilla ,Netscape.
Anybody have any experience of a decent explorer style tree view system which is database driven?At the minute I'm using ASP Tree View (www.CompuSolve-Technology.co.uk) but it's not really the best.It has to work with a database (MS SQL Server).
I am looking for a software that can generate a tree of data. For example, I am trying to track real estate relationships like a lessor, tenant, general contractor, and subcontractors. I would like a visual representation of this relationship based on the values in my database showing the hierarchy much like a site map or family tree. Can anyone recommend how I could do this or suggest a software?
I want to create a Expandable and Collapsible Directory Structure Tree. So that it looks at a folder from a path i give it and shows all directories and files underneath it.
This sub directories needs to be expandable and collapsable and when i click on on of the options it will bring a select box up by the side of this giving options. ie edit page.is this clear?
Getting the HTML code of a website, and then extracting specific information. Im trying to get flight information from a website, but there may be more than one flight in a search criteria...so i want it to loop untill it cant get any more.
I've managed to get the html from the other website, and i've also managed to get the first flight on the page.
I believe my problem is with this part of code (might want to review full code below):
I've been asked by a friend to try and code something that works like this and I would be able to except for the fact that it's on a IIS server without PHP.
That said, I wouldn't mind learning ASP now that I have a project to learn on, but I need to do it in decent time. Could anybody point me to a package that does something like this that I could pick apart and learn from, or point me to some worth while ASP text manipulation links that might get me a good start on learning what I need to get it done?
And as a last choice if I can't get it done quick enough, does anybody have any links to premade packages that I could purchase that would do the same thing?
I have a string (ie.1.0.1.39) I want to replace the number after last "." with another number. What would be the best way to do it? the lenght of the number after last "." may change and the lenght of the number to be replace varies as well
My attendance system records time IN and OUT in the format 5:00 AM and 5:00PM. I want to generate a report that "how many IN in between 7:00 AM and 8:00 AM"
if have tested as rs("eventtime")>"7:00" and rs("eventtime")<"8:00"
its working but its the same result for AM or PM.How can i differentiate and test AM and PM.
I am researching option for doing the following in ASP:
1. Thumbnailing an image as it is uploaded and/or selected by user, basing the thumbnail size on the current image dimensions [hence need to detect image dimensions]
2. Rotate an uploaded image [portrait to landscape and vice-versa]
Googling I find a wide range of mainly commercial COM components for doing this and other manipulations.
I am wondering what is the most "standard" way of doing this in normal ASP (3.0). Do servers tend to have preinstalled components for this? Is there a set of components most commonly used?
I have a text file that I have to retreve certain parts of it, and store them into variables. *its a lot* You can download the txt file at the following location. What my main goal is to move down past the 2nd set of "****" and start to collect values. (the number of lines before the 2nd set of "****" could change) So i need to store each of the columes into an array. or something liekt hat.
I just need to get the seperated characters by " " into seperate variables for ALL the lines between the 2nd "****" and the 3rd .
I have a dynamic string where the length varies.I need to write a function that will return part of a string, placed between first 2 symbols and last 3 symbols. For example the string DEVELOPMENT will return the following: ...
I have a very long string, that I need to cut up into more usable sections and display or write to text file. It should: Read the string in, move along the string x number of characters then find the nearest end of the sentance, eg. a . or ? write a new line and do this again. Basically I want to end up with a number of lines of full sentances of a similar length.