Giving The User Option To Expand Sections

I would like to set up the following:

The web user does a search of a database and the results are returned in an
HTML table. I want to present the user with a table that just shows the
salient facts (brief item description, stock value, etc).

However, I'd like to give the user the opportunity to expand (and if they
wish to contract again) any one row of the table to display things like a
picture and an extended description of the row item, rather than have them
go to a separate page for this.

I'd also like to give them the option to expand all rows in the table (and
contract them again) if they wished.

What's the best way to achieve this? I'm not sure of the target audience,
so may have to support browsers using HTML4 (may even be Netscape...)

View Replies


ADVERTISEMENT

How To Make A Hierarchial Tree Of Option Buttons Expand Without Refreshing Asp Page?

I have a list of broad categories. For example:

Pacific
Central
Eastern

Each of them are preceded by an option button. After the text, there is a plus sign. (this means that I can click on the + sign and then drill down further). For instance:

Pacific
California
Nevada
Oregon
Central
Eastern

Similarly, if I want I can drill down California, if I want to.

Now my question is:

How can I drill down each of them without refreshing the page ? Every time I click on the + sign, the whole page refreshes and then I have to scroll down to see the break down list of the hierarchial tree.

Please suggest ways of doing this dynamically. How can I expand my hierarchial list without having to lose the focus on my hierarchial option tree?

View Replies View Related

Giving Access Permission To Specific User

I want to create directory and set access permission to specific user.

i tried with wscript but it's not working, i used "cacls" command it's working only NTFS partition but i used to fat32 . how to set directory permission with asp script
on fat32 so anyone help me?

View Replies View Related

Expand UserControl

if I stick a DropDownList in a TableCell (all server-side) and click it, it drops down
over the grid without enlarging the cell and distorting the table. How do I get a user control to do the same? I've tried using Code:

<div style="z-index : 400">

in
my UserControl.ascx and in the main page layout but without success.

View Replies View Related

Button To Expand And Collapse A Table

Would any one perhaps know how I would go about creating a button that can
expand and collapse a table?

View Replies View Related

Sections In Asp

I have list of asp pages that are grouped together by sections they belong to - So section Add could have pages add.asp and add2.asp, Section Delete could have pages del.asp and del2.asp so that the final display should look like this Click on link below:

Add
add.asp
add2.asp

Delete
del.asp
del2.asp

The recordset returned contains the following fields: Code:

View Replies View Related

Different Sections

I have 2 diff sections on my web page, we would like it displays section 1 when viewers are in a default.asp page, else displays a section 2, how can we do that? something like this:

If default.asp then
display this section 1

else

display this section 2
end if

View Replies View Related

ASP Giving Errors

I have made a Dll in VB. I am trying to make a word document by using a word template and then inserting data into the word file from my MS Access (Office XP) database. It works fine when I use the reference of this Dll in a form added in VB.

But gives me errors when I compile it and use it, by creating its object in ASP. It gives error 5981 : Could not open macro storage.I tried searching on microsoft website but could not implement the solution.I get a feeling that if a word reference is used in a dll and compiled and then used in ASP it gives no output. I am confused and frustrated as I have got the dll ready but can't use it in ASP pages.

View Replies View Related

Emailing Sections Of A Form

I was wondering if someone could help me out. I have a form and what I want is to have only certain parts of the form be emailed out to certain people.

So say I have 2 sections of my form. I want section 1 to be emailed to person1@host.com and I want section 2 to be emailed to person2@host.com.

I already have a very crude code to send out an email for the entire form to 1 person. Can anyone help me with this?

View Replies View Related

Getting Email Output Into Sections.

I am trying to change a current emailer script.

The current version will run a FOR loop for each form element and will give them a label (by a variable). This label is then attached to each form element's value on the email.

However the email is pretty untidy so I would like to change the code so that groups of labels appear as groups on the email.

View Replies View Related

MSXML2.ServerXMLHTTP Not Giving Url

I have been using the following code to access a remote url, which works fine, but if the remote "geturl" does a redirect (as the page in this code does), I have know idea what the redirected url is. Page still displays, (including the html source code), but I cannot determine what the base href is (that is, I don't know the url of the page being displayed, since is is a redirected page).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<%
geturl ="http://schoolbonus.com/partner.asp?mpid=460"

dim objXML,displayText

Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXML.open "GET", geturl, False

objXML.send
displayText = objXML.responSetext
%>
<pre><%= Server.HTMLEncode(displayText) %></pre>
**************************************************

<%= displayText%>

View Replies View Related

Web.config Sections Replace

how to replace the system.web section using MSBUILD? I managed to change the appSettings and connectionStrings sections but when i tried to replace system.web i got an error message reporting missing system.web section.

View Replies View Related

Count Records Giving -1?

I'm trying to count the number of records in a database table but I keep getting the result of -1 which is incorrect. I'm sure this is a simple thing but I'd appreciate any ideas. The code is as follows:

set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open (Server.MapPath("..databasesphonebook.mdb"))
set rsCount=Server.CreateObject("ADODB.Recordset")
rsCount.open "RoleCodes", conn, adOpenStatic
response.Write(rsCount.recordcount)

View Replies View Related

Problem In Header Sections

i have a anal client that requires my excel pages to look exactly like this one. the only problem i see is going to be the header section. It's in the center top cell and is centered.

I've never done any type of exporting to excel yet, before i get to deep into it. Is it possible to format an excel doc from asp exactly like this ?

View Replies View Related

Abort Instead Of Giving Error

I have the following code setup Code:

'Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
'xml.Open "POST", "http://192.168.1.197/default.aspx?" & PostData,False
'xml.Send()

What ends up happening, if the receiving server "192.168.1.197" is down, the script will error out, but what i need to do is if the site is unreachable have it continue without erroring out.

View Replies View Related

3 Sections & Dynamic Front Page.

my site (which I am currently redeveloping) has 3 different sections to the site. All which well contain different information.

What I want to know is how can I make the starting page of the site display information which the users is looking for.

eg. if the user always go to one section of the site the main page well show information relevant to that section. (I hope you know what I mean)

So I was thinking about how to do this and this is what I came up with.

Set a cookie for the site and each section has there own number value (eg. 1 to 10)
When the user hits the main page it gets the values of all 3 sections from the cookies and checks which has the most value (eg 3, 5, 10).

Based upon the highest value each section has there own .asp include which is shown to the user.

View Replies View Related

Server.createobject Giving Error

I'm getting this peculiar error while running my asp page :
Active Server Pages error 'ASP 0115'

Unexpected error

/iisHelp/common/500-100.asp

A trappable error (C0000005) occurred in an external object. The script cannot continue running.

Microsoft VBScript runtime error '800a01fb'

An exception occurred: 'createobject'

/mptender/mptenderall.asp, line 128

can't understand what's the problem

View Replies View Related

Response.Redirect Giving 'Object Moved' Error!

I'm having a problem whenever i enter 2 response.redirects() in one funcion.. it's weird. What i'm trying to do is to display a simple error message underneath a login. But i'm trying to do it by sending the user back to the SAME page (not sure if that's even possible!) and passing a variable, notLogged, to test against. I hope this makes sense! Code:

View Replies View Related

ADSI - Trying To Enable A User - The User Add Works Very Well

I have written an ASP.NET 2.0 application that uses Active Directory or ADAM
to manage account users - the site has a page that allows people to create an
account (much like any site). The page populates the AD with all the
information and the user account but I am unable to enable the account.
Microsoft has information on how to do that here -->
http://msdn.microsoft.com/library/d...ting_a_user.asp
(the sample is for Visual Basic) - and I am unable to complete the bottom
portion of the script. Can some one point me in the right direction - or can
you tell me how I can add a snippet of VBscript code to an ASP.NET page.

I am using the Active DS Type library - not sure why there are multiple ones
(System.DirectoryServices) but it is rather confusing - I seem to accomplish
one thing with one and another with the other (they did have trouble
co-existing however). Anyway my script works very well but I am not able to
access the properties required to enable the account.

Here is a simple version (no error checking) of the code.....

View Replies View Related

Option Tag

how can i create an option tag whith the onpick event?

View Replies View Related

Option Value

if the default value of my my option value i want to retrieve it from the record if it's not empty. how can i do it? for example Code:

View Replies View Related

OPTION Value

Is there a way I can iterate an option value using ASP so I can pass in multiple values on submit to the Federated item? Here's an example of pseudocode of what I'm trying to do:

<SELECT name="grpNm" style="LEFT: 8px; WIDTH: 213px; TOP: 1px">
<OPTION value="XXXXXXXXXXXXXXX">Federated
</OPTION>
</SELECT>&nbsp;&nbsp;

View Replies View Related

Option Value Tag

Below is an extract from a form that i am writing. I need the user to be able to have a drop down menu of languages. How do I use the 'option value' command in ASP like you can do in HTML.If someone could amend my code to give me a couple of language options so I can get an idea of how it is down.

<tr id="r_Lang">
<td class="ewTableHeader"><span>Language<span class='ewmsg'>&nbsp;*</span></span></td>
<td class="ewTableAltRow"><span id="cb_x_Lang">
<input type="text" name="x_Lang" id="x_Lang" size="30" maxlength="25" value="<%= Server.HTMLEncode(x_Lang&"") %>">
</span></td>
</tr>

View Replies View Related

Option Value

i have a dynamically created drop down menu where the values are pulled from our database. i've been trying with no success to pass those values to the page but it never works.

how do you pass the values from the <option value="<%=...%></option>? i thought you recalled it in the sql statement like:
Code:

" WHERE Something = '" & Request.Form("optionvalue") & "' "

View Replies View Related

Vb 6 Option Button

I am trying to get a font of a label to change to times new roman when an option button is clicked, i have tried this:

Private Sub optHigh_Click()
lblHeading.FontName=Times New Roman

End Sub

This is wrong but i cant work out how to get the font to change,

View Replies View Related

Option Disable Value

how extract previews option value disable from script.

View Replies View Related

Option Selected?

I have a form named: 'formhandheld' and a select with the name: 'pricing_option'.

I'm trying to make the select <option> thats based on 'axDD3current' selected.

what's the code ? Probably more of a JavaScript question than ASP

document.formhandheld.pricing_option.options[<%=axDD3current%>].selected;
the above doesn't work

View Replies View Related

ASP Dropdown Option Value

Here is my page:

<form name=myForm>
<select onChange="myForm.forename.value = this.options[this.selectedIndex].value;">
<option value="Arnold">Pam
<option value="Mokoena">Joe
<option value="Seth">Pat
</select>

<input type=text name=forename disabled>
</form>

when inserting on the database,the value of the dropdown option is the same as the value of the textbox which is wrong.they must not have the same values example
when Pan is selected,then the value inserted to the database must be "pam" not Arnold.

View Replies View Related

Tooltip For Each Option In DDL

I have a dropdown list on my page. It is populated with values from database ;some values are unsually long that the DDL extends to the right of the screen where i need to scroll to find the arrow.

if i dont i wudn be able to read the values fully[i.e only half the length can be read]. Hence i wud like to provide a toottip for each <option> in the DDL whch will help me read the values onmouseover event. Hope I am clear abt it.Thus me scrolling to the right can be avioded.

View Replies View Related

How To Get The Value From Option Button

I created one ASP page for Online Test. i get all the questions from database. In home page if user select the topic and no. of questions then its displayed in second page.

My trouble in Second Page, becs I show the questions like:

Ques No. Ques Name
====== =========
1. XXXXXXXXX

(1) ans1(Option Button)
(2) ans2
(3) ans3
(4) ans4

untill the users selection of question numbers. all this are created dynamically. if user submit the answers next page shows the result. How can i get the User answer(Option button) in Text Box or other ways.

View Replies View Related

Passing 2 IDs Through An Option To Db

I need to pass an Cat_ID and Category from an option field on a form, but can't figure it out. the code on my form:

<select name="Cat" >
<% Do Until rscat.EOF %>
<option value="<% response.write rscat("Category") %>">
<% response.write rscat("Category") %>
</option>
<%
rscat.MoveNext
Loop
%>
</select>

In the database, I have two fields which need to be filled in. The Category field and the Cat_ID field. How do I assign two values to the one field to pass this along?

View Replies View Related

Option On A Page

I want to know if you can write a print this page option to a page. I want to write this function in asp or vbscript. I know you can do this in javascript but I don't want tot use this. I also know there is a print fuinction in the browser this is also not what I'm looking for.

I want a piece of tekst which say something like "print this page" When you click on it a asp or vbscript will print the page to your own printer.

I need to know if this is possible and what the code is.

View Replies View Related

Option Select

i have a list of provinces in an option select right, so when i click one province i want it to chance the header of my page according to the provinces, and i have no idea on how to do that.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved