|
FileName.js is your javascript file within the same directory or provide a relative or absolute path as you wish.
Hope that solve your issues.
Regards
Nitin
|
|
|
|
|
Hi.
I hope someone had similar issue and can help me.
I've created a web site and installation set up for the site. I had no problems installing it locally or on a test server but when I tired to install it on LIVE server I've noticed that my files are not installed in the \Inetpub\wwwroot even though the Control Panel->Add Remove Programs showed that the site installed and occupies ##MB. I thought this is strange. When I found the files installed in a different directory and only because one thing. Beside Default Web Site we have VAM (Visual Asset Manager) site installed on our server, which uses port 80 as well. So every time I run install it uses VAM as a default site and installs my site under it (that's why the directory where files installed is different). I was able to work around that issue by changing VAM port to anything but 80 for a while, installing my site, and then changing VAM port back to 80.
The question is: Is there anyway I can specify in my installation to use Default Web Site instead of VAM site even though they both use port 80?
Thank you very much.
|
|
|
|
|
I need to pass the ID of the control calling a function in javascript function, to the function.
I have a control ie.
where myFunction is the following function in javascript and ??? would be the command used to pass its own id.
function myFunction(controlName)
{
//I need controlName as the id of the control calling this function
//do something...
}
Regards,
Tintin
|
|
|
|
|
Never mind, I got it.
1.In the place off ??? you use "this". [without parentheses]
2. in function then say controlName.id [returns string]
works fine now
Regards,
Tintin
|
|
|
|
|
We use following code to show a download file dialog box:
....
Response.ContentType = cmt
Response.AddHeader "Content-Disposition", "inline; filename=" & fn & ""
Response.BinaryWrite stm.Read
Response.End
If the file name (fn) cotains non-ascii characters, the file name in the download file dialog box will contain garbage words. Actually, the variable fn's value is awalys correct when I was debugging in VS. However, once the dialog box shows, the file name turns into wrong characters.
I have tried to modify Response.ContentType, Response.CharSet and Response.Codepage, but the problem still exists.
Current ASP page file is UTF-8.
BTW, I know little about ASP or web development.
Thanks a lot.
Lane Yu
|
|
|
|
|
Hi,
I want to AutoSave the Webform Fields in every 10 sec. using Ajax in .Net.
can any one help me to out of this
thanx
|
|
|
|
|
set an interval in the body onload event
setInterval('httprequest_script', 10000)
every 10 seconds the javascript httprequest_script will execute where you can send the form fields (POST or GET) to a server side script which can parse the POST or GET variables [depending on which method you use] and saves the data to a file or database.
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
HELLO,
THANX FOR THE REPLY,
I GOT UR POINT, BUT I THINK IT WILL POST BACK THE PAGE AND I DON'T WANT IT THAT IS WHY I WANTED TO USE THIS BY AJAX LIKE GMAIL DRAFT MSGS.
IF U CAN PROVIDE ME ANY CODE RELATED THIS I WILL BE THANK FULL TO U.
THANX
|
|
|
|
|
XMLHttpRequest can be sent asynchronously by specifying “true” for the 3rd parameter of the request open.
Request.open("POST", "testit.php", true);
The routines I use are not guaranteed to work 100% of the time on IE with it’s reliance on multiple versions of CaptiveX “technology” as opposed to virtually every other modern browser that processes native XMLHttpRequest commands.
IE7 is supposed to process native XMLHttpRequest commands I am happy to say but the legacy of M$ CaptiveX will live for some time to come.
There are a few things you will need to setup so I’ll email the java script code I use on the client side to you but you will have to modify it for your circumstances. You specify that you want to code the server side in .net. I use PHP scripting on a *NIX server so you are on your own about how to implement the server side. Perhaps some of the .net coders can give you a hand.
Note the request abort prior to setting up and issuing a request. If for some reason the server doesn’t complete processing the previous request in 10 seconds it is canceled prior to issuing the current request. If you have need for multiple request to be processing independently you will have to create multiple request objects and manage them appropriately.
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
Hi Guys, i built a site for friends of mine and i want to publish it on the big search engines but i'm not sure how. First of all i'm looking to publish the site on google and then on other sites, so is there anyway to do that?
help would be greatly appreciated
thanx!
|
|
|
|
|
Here is a link to the Google page which lets you submit your site.
http://www.google.co.uk/addurl/?continue=/addurl[^]
Most search engines have similar pages if you look for them.
Words fade as the meanings change, but somehow, it don't bother me.
|
|
|
|
|
i dont wont to use fullscreen=yes so i m using
window.open('webform1.aspx','','titlebar=0,fullscreen=0');
but not able to hide title bar
plzzz tell any solution
jagmit
|
|
|
|
|
titlebar=no,fullscreen=no
|
|
|
|
|
i have tried as i wrote in question but it doesnot works dear.
thanx
|
|
|
|
|
I'm going to describe my propblem the best i can, i dont know how clear it will come out.
I have a page where i want to edit information i have in a data table. however, i first must search for the particular row i want to edit. To do this, i have a textbox where the user can enter "field1" and then click a button called "search" which redirects them to a search page. field1 is passed using response.redirect to a textbox on the search page. a datagrid is generated from the value inside the textbox. to my datagrid, i added a select hyperlink to choose a specific row from the table (for each "field1" there can be multiple rows). when i click the select hyperlink in the datagrid i want it to redirect back to the edit page, but this time with more than just one field. I would like it to redirect back with a value for field1 and field2 where field2 is the primary key of the data table and is used on the edit page to generate a datagrid.
my problem is that i can not get the hyperlink to pass two values. when i add the new column to my datagrid and choose it to be a hyperlink, i tried entering two datafields in the "get url form datafield" option. ex: field2,field1. for the "url format string" i used ~/edit.aspx?field2={0}&field1={0}. i think there is a flaw in my syntax because when this is executed by the page, the value passed for field2 and field1 are the same even though they should be different numbers.
If anyone could understand that, i'd appreciate any info either about my syntax or a better way to go about handleing my problem.
Thanks
|
|
|
|
|
"url format string" i used ~/edit.aspx?field2={0}&field1={0}.
I think it should be
String.Format("/edit.aspx?field2={0}&field1={1}", VALUE1, VALUE2)
|
|
|
|
|
thanks, that worked perfectly
|
|
|
|
|
Hi everyone!
Is there any way to reliably track Mozilla's text zoom?
As a half-measure, I track Ctrl-+ keypress, but it doesn't work (ofcourse...) when user selects Text Zoom from the menu.
Any solution?
Best regards,
Dmitry.
-------------------------
Don't worry, be happy )
|
|
|
|
|
hi
i have developed a test page in asp.net 2.0 (VS 2005), and tried to hold it on my domain. it is a simple page with three textbox and a button, web.config is also default, but it gives error
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized configuration section 'connectionStrings'
Source Error:
Line 10: <configuration>
Line 11: <appsettings>
Line 12: <connectionstrings>
Line 13: <system.web>
Line 14:
|
|
|
|
|
Is your web server running .net 2.0? If it is, is your website configured to use 2.0 (in IIS manager, site, properties)?
|
|
|
|
|
How can we fix the width of cell in excel using asp.
Is it possible to make auto resize
|
|
|
|
|
Ok I have got my page to display the data I need using a store procedure etc. What I need to know is, how do I create an input text form box (IE: Enter ID here with a submit button and pass that variable to the (ident = 1) below to make it (ident = textboxvariable). Any help would be appreciated thanks! =)
<%Dim ident
'select your product_id
ident = 1
Dim connection
Dim rs
'create the connection
connection = Server.CreateObject("adodb.connection")
'create the connection (here we used a DSN - use any standard connection
connection.open("Driver={SQL Server};Server=X;Database=trd;Uid=X;Pwd=X;")
'create the recordset
rs = Server.CreateObject("adodb.recordset")
'open the recordset, passing in the variable
'note that the variable product_id does not have to be name the same as in the stored procedure, it just needs to be the same data type.
rs.Open("Exec GETID " & ident, connection)
'display the recordset
Do Until rs.EOF
For Each ident In rs.Fields
Response.Write(ident.value & "<br />")
Next
Response.Write("<br />")
rs.MoveNext()
Loop
rs.close()
connection.close()%>
Jesse Myer
jessemyer06@aol.com
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Still need help with this problem =)
|
|
|
|
|
Hello
Please I need one banner rotator for codes in html and that I can put in my website in html or javascript code. I do not want use others scipts to upload to my server.
Please can you help me?
Thanks you
|
|
|
|