Window Settings
Is it possible to declare the window settings (like toolbar displayed, width and height, etc.) when a page is loaded? Or is it only possible when with a link to a page? And is it possible with ASP only, or do you need javascript? Does anyone has some examples/tutorials?
View Replies
ADVERTISEMENT
1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.
I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:
View Replies
View Related
I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??
View Replies
View Related
I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.
The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.
Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:
View Replies
View Related
The webserver I'm using (which I can't make any changes to) has a
Dutch-localsettings. When doing simple calculations the decimal-symbol in
ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol
by code? (IIS5)
View Replies
View Related
trying to connect to mySQL4...using....
set conn = server.createobject("adodb.connection")
conn.open "driver=MySQL ODBC 3.51 Driver;database=kraken1"
Set rs = Server.CreateObject("ADODB.RecordSet")
SQL = "SELECT * FROM Access"
rs.CursorType = adOpenKeyset
Set rs = conn.Execute(SQL)
And what i get is the error...
"Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype."
Is adOpenKeyset NOT the cursor to use????
View Replies
View Related
I'm trying to send mails from asp page.Its showing error.Permission denied.When I checked the IIS settings SMTP server showing unnknown. I cannot start the SMTP server. Wat shall ido to start the smtp server.
View Replies
View Related
I have a problem with the regional settings. I have set the regional settings of the web server to display the numbers in this format 123.456,78. But when I open my web site all number are diplayed with the old format which is 123,456.78. I changes also the regional setting of my computer but it does not work.
View Replies
View Related
is there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?
View Replies
View Related
That was the first question. BTW, I am using Windows 2000 Server.
Second questions is how do I transfer session variables from one virtual
website to another website. Currently I have session variables set in say
www.first.com and then I click a link and goto www.second.com. How can I
transfer session variables from www.first.com to www.second.com? Both sites
are virtual websites and running on the same physical server running Windows
2000 Server and IIS.
Is it even possible to transfer session variables between 2 websites? Or
share the same variables?
View Replies
View Related
how can i tell the user location (from the ragional settings?) in asp? i have a website written in several languages, i want to check the user country and redirect to his language automatically.
View Replies
View Related
In a asp.net app in the web.config the session state can be looked after by the data base - the settings need to be entered into the web config such:
<sessionState
mode="InProc
stateConnectionString="tcpip=127.0.0.1:42424
sqlConnectionString="data source=127.0.0.1;user id=sa;password=t09
cookieless="false"
timeout="1200"
/
Our problem is that we do not want to expose the password of the data base user here - rather maintain it in a dll - is there a way for the code behind classes to set the user/password programmatically ? and if so how?
View Replies
View Related
Does anyone know if there is a way of changing IIS settings using ASP specifically:
"The content where this content should come from" radio button property set on the Virtual Directory Tab (of a VD).
View Replies
View Related
I just installed a win2k server with sql2k and when i run datepart(wk,getdate()) it gives the american day of week, not european were monday =1 how do i fix that? can i set something in control panel? everywhere i look in regional settings I see it all set to swedish.
View Replies
View Related
I am trying to set a webserver to use French regional settings for testing
ASP pages.
According to http://support.microsoft.com/kb/q306044, for IIS5, this is a
matter of changing the regional settings for the authenticated user, and if
this user does not have a user profile then the default regional settings.
Unfortunately, this does not seem to be working in IIS6, in that I have
change the default user's settings and I am still getting English dates. Can
anyone tell me if this is because the way IIS chooses its settings has
changed for IIS6 or just because I have done something wrong?
View Replies
View Related
Iīve ran into trouble after a server upgrade. Win server 2003, IIS ver. 6.
All regional settings on the server is swedish(thatīs what i want) and it
looks correct in all ways but when running the date function in a asp page
it returns english short date format 24/5/2004 when I think it should be
2004-05-24.
The problem is that the application assumes swedish short date format.
Iīve read somewhere that the IIS server account has itīs own settings, how
do I change this ?
View Replies
View Related
How do I turn off the feature that adds code to my ASP pages in Visual Studio 6? I using include files and the editor keeps adding
<html>
<title>
etc.....
to all of my pages causing them not to display properly in IE or NS. It's a pain going back in and deleting all of the unnecessary code it adds to my pages.
View Replies
View Related
I've defined two application settings in my web.config file. But in the following code :
Dim rootWebConfig1 As System.Configuration.Configuration
rootWebConfig1 =
System.Web.Configuration.WebConfigurationManager.O penWebConfiguration(Nothing)
If (rootWebConfig1.AppSettings.Settings.Count 0) Then
sField1 = rootWebConfig1.AppSettings.Settings("field1")
sField2 = rootWebConfig1.AppSettings.Settings("field2")
End If
rootWebConfig1.AppSettings.Settings.Count always returns 0.
What am I doing wrong?
View Replies
View Related
I have been trying for ages to get IIS running ASP script pages, without success.I don't know if it is a problem with IIS or visual studio I have tinkered with all the obvious stuff. point me to a website or a book which covers initial setup, step by step.
View Replies
View Related
I have asp pages that call a database and sometimes updates it. The pages are under the root the database is in a db folder under the root. My server guy isn't too sure what the
permissions should be on the server to these folders (root & db). Can you give me some general instructions for this? Or point me in the right direction for the answer?
View Replies
View Related
I've been trying to save some user settings when the browser closes, but with little success. What I want to do is count a users' resource usage, and write it to a database when the user closes the browser. I tried to use the 'Session_End' event handler in global.asax, but that doesn't seem to work.
View Replies
View Related
i am producing some asp report pages for our company intranet but they dont print out correctly unless i change the internet options settings to "Print background colours or images" is there any way i can change this when people open the webpage?
I wouldnt think that is possible so.... is there any way to get around this using style sheets? I havent really used them yet.
View Replies
View Related
I have an IIS v5.0 installed in a windows 2000 box hosting a set of asp pages. These pages are accessed by premium service subscribers only with a 5-hour timeout setting.
Now I need to build another jsp site for a special group of users which enjoys a longer session timeout of 8 hours. I have duplicated the original asp pages and this duplicated asp pages will be accessed and displayed by iframe in the jsp. (I hate to do this because I'm relying on an ocx for the page to work).
How do I control the session timeout settings of these 2 sets of asp pages so that they have individual timeout settings?
View Replies
View Related
1. I need to read the registry settings from the client machine using an ASP file running on the server.
2. Also I need to create an XML file at the client machine and the ASP file running on the server should read the data from this clent XML file.
If anyone could give me some suggestions on how to proceed this I would be very much glad.
View Replies
View Related
i am having trouble getting CDOSYS to work, i have just changed from CDONTS (which was working fine), because i want to be able to email a webpage as my body Code:
View Replies
View Related
I was testing the date formats with different values set to Session.LCID and then I removed the Session.LCID completely from my asp page and expected the date format to show according to the Regional settings of the server but it was showing the last format of the Session.LCID.
My question is how to remove the value which I previously set to Session.LCID because I want to use back the date format from the Regional settings.
View Replies
View Related
This is regarding a change in the Short Date format under Hebrew Regional
Settings, that has caused huge problems in our ASP web application. The
change appears to have been introduced sometime before Windows 2000 Service
Pack 4 and has remained through to Windows XP. I am looking for a solution
that doesn't involve rewriting our application (much) and that allows all
our users to keep using Hebrew Regional Settings.
To summarize our problem - we have an ASP-based intranet web application
that is used in our Israel office. Before we installed Windows 2000 SP4 on
our web server and on the client machines in the office, the application ran
perfectly. Dates appeared on the pages and in input textboxes in the correct
dd/mm/yyyy format. Immediately after installing SP4, dates on the pages and
in input textboxes are formatted as yyyy/mm/dd. This is not just a visual
change, it has caused many functions in the application to break. Code:
View Replies
View Related
i am opening a file by window.open by clicking on a button.
how i can validate that button is clicked or not.
means file is opened or not through javascript.
all time button.clicked returns false although file is already opened the code is:
if(document.frmBuyers.bankbtn.Clicked!=true)
{ alert("Enter The Bank Details") document.frmBuyers.bankbtn.focus();
return false;}
View Replies
View Related
how to Positioning new Window near the button i've made, in this case i have a Calendar Button, but the position window that open the calendar can't be fixed, so when I scrolled the page behind calendar window, the calendar window moving too....
I've read from the MSDN, but there's no way too fixed the coordinate point to the calendar button
View Replies
View Related
I have a simple asp page that draws 3 fields and a hidden "Row_Id" from the Database.
I want to be able to click a "more info" link and take the Row_Id over to a new page
which displays all the info for that particlular user.
Would I use a response write method?
I can get it to work using a form button but It wont open in a pop up.
View Replies
View Related
Is it possible to have a pop up window come up once someone logs in. Inside this window, it have a video of another person with a greeting, and other information? Has anyone ever done something like or similar? Other than ASP, what other technology is needed, FLASH?
Come someone show me an example of something like this? All help is greatly appreciated. The thought is to distribute these pop up windows (or better solution if someone knows of something better) to all our dealers across the nation. Each dealer will have its own personal inside sales rep and direct line for personal assistance.
View Replies
View Related
i have to pop-up some reminders in a new window to the users . it is just like when we open a website ads related to that site come in new window.
what i have to do that , when a specific user logs in , a new window will open to remind him about some thing. i think , you will be getting my requirement.
View Replies
View Related
Is there a way to set the window size on a
<form action="add.ASP" method="POST">
<input type="hidden" name="AComputer" value="<% =AC %>">
This open in a full window
I have this other way without using the form
<input type="submit" value="ARecord" name="Add"
onClick="window.open('add.asp','add','width=500,height=300' )">
This sizes it for me nice, but I can't pass the values I need.
I want to pass AC and have the window size 500 X 300
Is this possible?
View Replies
View Related