|
It is most likely that the virtual directory in which the website is contained is configured for ASP.NET 1.1. Try changing it to 2.0 .
|
|
|
|
|
Can anyone recommend a good, brief, introduction to OO in JS available on the web? I'm asking here instead of Google because I'd like to know that somebody has read and benefited from a resouce before dedicating precious time to it.
Calling all South African developers! Your participation in this local dev community will be mutually beneficial, to you and us.
|
|
|
|
|
|
Resources for Object Oriented Javascript
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I would like to be able to only show the Title: textbox and hide all other
textboxes in the Appearance dialog box. Is this do able. If so is it done
with overrides to the RenderEditorPart and/or RenderPartContents members?
thanks
|
|
|
|
|
Hell to all,
I have an html form that takes orders and I would like a script to update the Total field before that form is processed and sent to the DB.
Right now, I am having the users enter the total manually.
Here's my form:
***************************************
Tamales type and quantity | Doz Pork : | | | Half Doz Pork : | | Doz Chicken : | | | Half Doz Chicken : | | Doz Chesse : | | | Half Doz Chesse : | |
***************************************
I then have another text input field that I want to automatically updated with the total based on the orders entered above.
any help will be appreciated. Thanks!
__TlaloC__
|
|
|
|
|
what is your formula to calculate the total?
on button onclientclick you can do the following in javascript (something like this):
<br />
function calculateTotalAndSubmit()<br />
{<br />
document.getElementById('total').value = parseFloat(document.getElementById('fld1').value) + <br />
parseFloat(document.getElementById('fld2').value) + parseFloat(document.getElementById('fld3').value);<br />
return true;<br />
}<br />
-----
|
|
|
|
|
Hi,
I need to modify this Jscript to not use a permanent filename but one based on the sessionID, I have the sessionID stored in a hidden field. I need help with the script.
EXAMPLE name
"../captchaTmpWavs/wszgplebmgb5tiytzxnlof55.wav"
//ASPX page
//Code behind
private void Page_Init(object sender, System.EventArgs e)
{
// Hidden field
txtStoreSessionID.Value = this.Session.SessionID;
}
|
|
|
|
|
MediaPlayer.Filename = document.getElementById('txtStoreSessionID').value;
-----
|
|
|
|
|
Works great - Thanks to you SABhatti
|
|
|
|
|
Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.
|
|
|
|
|
tonymathewt wrote: Is it possible to send and recieve a parameter or value from a window opened from a parent window.
Yes,by using javascript class Opener.
Example for using Opener Class OpnerWindow
Regards,
Sandeep Kumar.V
|
|
|
|
|
|
Passing the value from parent window to the popup window
window.open("http://yourURL.com/yourpage.aspx?paras=allthingsthatyouwannapass")
Passing the value from the popup window to the parent window
You can use window.opener (eg. window.opener.document.stockForm.stockBox.value = symbol; )
Hope it helps.. As those are very popular questions, there are a lot of articles about this on the net..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
|
Hi All,
I created a contact list that has the following items:
FirstName, LastName, PhoneNumber, Email, Comments using Text Var.
Gender (M, F) is combo box. When i clicked Submit, the Text Var fields sent to the MS Access database via ASP OK however, the Gender which is the combo box item does not send anything. Can someone please help me to define a combo box that will allow the item to be sent? Can someone please help to make sure I defined the Gender component and .ASP (Gender part) correctly? Thanks for your help.
Gender Component: Labels [Male, Female}
onClipEvent(data) {
function GenderDisplay (){
Gender_result = Gender.getSelectedItem().label;
selectedItem = Gender.getSelectedIndex();
}
}
Below is my .ASP file as well. Thanks for your help.
<%
FirstName = Request.Form("wFirstName")
LastName = Request.Form("wLastName")
PhoneNumber = Request.Form("wPhoneNumber")
Email = Request.Form("wEmail")
Gender = Request.Form("Gender")
Comments = Request.Form("wComments")
set conn = server.createobject("adodb.connection")
DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; "
DSNtemp=dsntemp & "DBQ=" & server.mappath("AddContacts.mdb")
conn.Open DSNtemp
set RS = Server.CreateObject("ADODB.Recordset")
'response.Write Firstname & " - " & Lastname & " " & PhoneNumber & " " & Email & " " & Gender & " " & Comments
'response.End
'FirstName = "true"
'LastName = "true"
'PhoneNumber = "true"
'Email = "true"
'Gender = "true"
'Comments = "true"
SQLstmt = "INSERT INTO Contacts (FirstName,LastName,PhoneNumber,Email,Gender,Comments)"
SQLstmt = SQLstmt & " VALUES ("
SQLstmt = SQLstmt & "'" & FirstName & "',"
SQLstmt = SQLstmt & "'" & LastName & "',"
SQLstmt = SQLstmt & "'" & PhoneNumber & "',"
SQLstmt = SQLstmt & "'" & Email & "',"
SQLstmt = SQLstmt & "'" & Gender & "',"
SQLstmt = SQLstmt & "'" & Comments & "'"
SQLstmt = SQLstmt & ")"
'response.Write SQLstmt
'response.End
RS.Open SQLstmt,conn
Conn.Close
set conn = nothing
set RS = Nothing
response.write("Record is registrated. Please close this windows")
%>
|
|
|
|
|
Hello,
I am trying to determine what my options are for creating a browser plugin. I have no experience in this area, and am hoping someone can point me in the right direction. Here are a few specific questions:
1. Does one of the popular browsers stand out as easier than the others for creating plugins?
2. What are the right technologies to use? I've been googling for an hour and have found references to XUL, ECMAscript, and various toolkits. I was kinda expecting that you could write a plugin for IE in C++ (or C#?) or for FireFox using Java... but I haven't found any information on this.
Here's the basic problem: I need to write a simple desktop application that can communicate with the browser. I figured writing a simple plugin to facilitate the communication would be the way to go.
Thoughts?
Thanks!
Ian
|
|
|
|
|
Mundo Cani wrote: 1. Does one of the popular browsers stand out as easier than the others for creating plugins?
Actually, it is based on your expertise. If you are very good in VC++ and COM then creating the addon for IE might be easier for you.. But if your background is from web development, Firefox addon might be more easier to be created..
Firefox Addon (extension) can be created by using XUL, Javascript, CSS and xpCOM. So, it's pretty easier for web developers to create an extension for Firefox.. If you wanna try to create, you can read this post "8 Steps to create your owned Firefox Extension". It's just 8 steps to create the firefox addon.. If you want more information about this, you can read http://developer.mozilla.org/en/docs/Extensions
If you wanna create the addon for Internet explorer, you have some experiences in using VC++ or COM..
The article below is nice and it includes all links related creating IE addon..
http://www.codeproject.com/useritems/Issuewithbandobjects.asp
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Thanks for your reply. Sorry I didn't respond... I rely on my email for post responses and I guess that's not working.
Thanks for the great links! I'll check 'em out!
Ian
|
|
|
|
|
Hi Guys,
I have a problem with my Search page. When I am searching for some value it will display all the records, but then, when I clicked one of the records on the gridview, it will redirect to the other page.
The problem is that, when clicking the back button of the internet browser it will go back to the first page where it came from. But the problem is that the gridview is clear, which is it shouldn't be.
Is there a way to preserve the content of the first page, so that when we click on the 'Back' or 'Previous' button the result should be remained there.
How should I do it?
hifiger2004
|
|
|
|
|
hifiger2004 wrote: Is there a way to preserve the content of the first page, so that when we click on the 'Back' or 'Previous' button the result should be remained there.
No.
The browser is free to cache the page itself in some form, but if that content has been modified via script the cached copy may not reflect this - if you want to preserve that state, you'll have to use some method that allows your script to run again and re-apply the changes, or to inform the browser that it should cache a different page (via redirects, iframe navigation, etc).
Of course, the browser may not cache the page at all, in which case your server app must be able to return the expected page in response to whatever request is sent - again, if you're doing partial page updates via XmlHttp or equiv, this may not happen unless you go out of your way to retain the apparent client state server-side (or use cookies, etc. to maintain it client-side in a server-accessible way).
BTW: i suspect you're using ASP.NET-specific stuff here, you might want to try that forum first.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Hi shog,
Thank you for the explanation. I just used a parameter to keep the history.
Thanks
hifiger2004
|
|
|
|
|
use this script in the source code
|
|
|
|
|
Hi,
I have a products page, this page is used to display any single product which was selected. If I save a products meta title, meta keywords and meta description in my products table and write it the page, how does this affect search engines to pick up the products? Any advice that I need to follow?
Thanks
Brendan
|
|
|
|
|
Adding the product title and description in meta is nice.. but if you wanna your site to be visibled in Search Engines, you should also consider using Friendly URL in your page... The most of search engines like the URL like this (http://urcom.com/product/fruits/apple ) instead of ("http://urcom.com/prod.aspx?id=11xx39387x&loc=NY&ctr=387")
Actually, there are a lot of things to consider if you wanna make your site visible... You may read the article related to SEO..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|