|
Ok, next wild guess is that you have some code initializing the values to empty in an operation that executes prior to the button event handler in the page life cycle sequence.
|
|
|
|
|
No, I don't. I just tried something else that may be helpful or at least interesting. I typed in the values and submitted the form and it worked as it did before. I then used the JavaScript to set its value, but it retained the old value, even though there was a new value in the textbox from the JS. (The old value persisted from the ViewState and was present in the textbox when the page loaded.) Once the page loads, the old values are the ones restored from the ViewState into the textboxes.
If that paragraph doesn't make sense:
1. Values (call them "old values") typed in.
2. Submitted ok, old values detected in code-behind as they should be.
3. Page loads with old values in textboxes.
4. JavaScript inserts new values into textboxes, and they are visually present.
5. Code-behind picks up old values, not the new ones.
6. Page loads with old values in textboxes.
Evan Stoner
|
|
|
|
|
Evan, we could go on like this forever and never get near a solution. Texting is not conducive to debugging. While it is entirely possible you are thoroughly debugging the application, you are not giving that impression in your posts. If in fact you have not performed such work, I strongly suggest you do. Debugging is how you find out exactly what is happening rather than just guessing.
|
|
|
|
|
led mike wrote: Debugging is how you find out exactly what is happening rather than just guessing.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I've debugged this as well as I can think to. JavaScript can't be "debugged" per se, as far as I know. And at any rate, I'm confident the JS itself is not the problem. I'm just wondering if anyone knows of a difference between an HTML input's value property and the ASP TextBox's Text property. Or maybe something with the page lifecycle.
If you have any advice on what I should specifically look at to debug these issues, I'd be glad to hear it.
Evan Stoner
|
|
|
|
|
Hiiii
How can I implement the Spring modules into JDeveloper...
Thanks in advance
|
|
|
|
|
Pradeep kumar.V wrote: Hiiii
Don't forget to move your finger form the keyboard. Or do you have 'i' key stuck?
Pradeep kumar.V wrote: How can I implement the Spring modules into JDeveloper...Mad
I don't know.
Pradeep kumar.V wrote: Thanks in advanceMad
Why are you mad?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
please let me explain what my problem is and if you can answer that'd be very useful!
1. I am establishing a membership site and want all members to have an email address associated with the domain when they signup, with pop3/imap and a web access to this mail
2. When they signup to the membership site they will type their name and a desired mailbox or alias, for example if our site was called "website.com" and when John signs up he will want "john@website.com"
so he types this into the page on signup and gets his mailbox account created automatically through an API functioning system,
so there is no manual creations.
I am presently talking to hosting companies but not having much luck, if you know of a solution or method, please share!
Best Regards,
Sean Nuzum
|
|
|
|
|
Hi all,
how to set Iframe height dynamically???
my html code is:
<html>
<head>
<script type="text/javascript">
function IframeHeight(frameId){
frame = document.getElementById(frameId);
framedoc = frame.contentWindow.document;
frame.height = framedoc.body.scrollHeight + 10;
}
</script>
</head>
<body>
< iframe id='myiframe' scrolling='no' width='100%' runat='server' />
</body>
</html>
now from c#
myiframe.Attributes.Add("src", "http://www.yahoo.com");
myiframe.Attributes.Add("onload", "IframeHeight('myiframe');");
in this way i am getting "Access denied" error message why????
if i set src as my local projects page its working fine....
htlp me frnds how to set other website url as myiframe source
thanks in advance
icanmakeiteasy
|
|
|
|
|
i am trying to create a form using ajax, using a cfc file. but want the first dropdown to load when page loads ("the company name" and this works... then once the first populates and you select a company name the second dropdown is populated with the users that work with that company ("members" in member table linked to "company" in the contacts table... and this works) as well once both of those is selected it populates the rest of the form... address, city, state, zip, member number(on members table),category name(only as input not as a dropdown where another can be selected to update) and that is what i want... the category name is on the category table which lists all categories is linked to the catid table that holds the member id, category name and catid...
like i said i can get the rest to populate all being text fields but the categoy i want to be a dropdown of all categoies but have the one they have selected previously to be selected...
please help i have been working on this for a while
also found this in the forums that looks like it but i am only using sql 2005 and coldfusion
[^]
|
|
|
|
|
Greetings
asp.net (visual studio c#) How do NetMeeting. My goal with one or more people through video conferencing to have a web site.
Best Regards
|
|
|
|
|
Hi,
im using Wshell.Regwrite to write registry(vb script) through html page...
but it works fine only when the option "Initialize and script ActiveX
controls not marked as safe" under Tools\internet
options/Security/Customlevel/ActiveX controls and plugIns ,is set to prompt or enable .....and if we set to any other option ie(disable) it fails ie it shows error like .. "ActiveX component cannot create object "Wscript.shell"...
So May i know whether is it possible to create my own ActiveX control(signed) with certificate so that it doesn"t depend on internet options..
if yes pls let me know how to do the same...
pls correct me if im wrong...
|
|
|
|
|
cross-posting is rude. you have posted the same question here[^] and here[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
hey guys.. i want to display all the ip addresses in my lan.. help with a code or a command to be used in prompt if any.. there is no router.. and no active directory.. it is in VB.NET
|
|
|
|
|
|
Net World Scanner
http://www.petri.co.il/software/nws.zip
Usage type the subnet to scan i.e "192.168.0"
|
|
|
|
|
or
http://www.nirsoft.net/utils/fastresolver.html
|
|
|
|
|
Hi
My problem is to transfer all the links from abc.com/link to www.abc.com/link.
or even if user open abc.com, the url that should open is www.abc.com
Please suggest, what settings i need to change in IIS.
|
|
|
|
|
I have an existing ASP application on a single server www.server1.com.
This app. gets its data from an ACCESS MDB using Remote Scripting (I know its legacy!) and is running within shared-web space.
Is it possible using this/or any other technology to retreive data held in this Access MDB from another web server e.g. server2.com. and if so, how?
|
|
|
|
|
Hi experts,,,
I have devloped an web application and now its in Testing mode.
But when i trying to visit the page it gives me error.a follws..
Server Application Unavailable
The web application you are attempting to access on
this web server is currently unavailable.
Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of
this specific request failure can be found in the application event log
of the web server. Please review this log entry to
discover what caused this error to occur.
So I open the Application event log to check cause..
it shows me..
aspnet_wp.exe could not be started.
The error code for the failure is 80004005.
This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files.
Please ensure that the .NET Framework is correctly installed and
that the ACLs on the installation directory
allow access to the configured account.
I tried to it again by applying rights to ASPNET user.
But I m faild.
and I m using Visual Studio 2005 that means....Net Framework 2.0
NOW ITS VERY URGENT TO ME..
I NEED TO DO MORE MODIFICATIONS...
AND I M GETTING SCARED......
Plzzzzzzzzzzzzzzzzzz....Plzzzzzzzzzzzzzzzzzz
Help me...
waitng for ur valuable reply,.
|
|
|
|
|
Did you try to reinstall ASP.NET? Use aspnet_regiis.exe -i within the v2.0-framework directory (can be found in Windows\Microsoft.NET\Framework.
Regards
Sebastian
|
|
|
|
|
Thanx for ur reply..SeMartens.
Actually there is nothing any problem of ASP.NET.
I think its an IIS problem..so I tried after IIS ReInstallation.
But Problem could not solved.
as just something I think about the Temporary Internet Files.
and..
My Problem has solved after Deleting the temporary folder for my WEBSITE from
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\"
Regards,
Victory
|
|
|
|
|
Hi all,
I am writing a web chat application. I am reading the new messages from database in the code behind page, and updating the text of the textbox.
But I need to refresh the textbox without refreshing the whole page, in roder to see the new messages.
How can I do this?
Thanks in advance.
|
|
|
|
|
Use AJAX to refresh your textbox
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
alternatively you can put the textbox in an iframe - and use a meta refresh tag to refresh the textbox page every 5 seconds or something.
|
|
|
|