|
Note: This only gives access to the server object that creates the element that will create the object, not the object itself.
---
b { font-weight: normal; }
|
|
|
|
|
True, true
Michael Flanakin
Web Log
|
|
|
|
|
i wana have upload source and post others field of my database in same form , and then when i user request.form("txt") , it produce me this error!!!
Cannot use Request.Form collection after calling BinaryRead.
i waste much times on net to find way , but non of them are useful!
help me. thanks.
Have good day and time
|
|
|
|
|
You can't use Request.Form, as the form data is sent along with the file data. The upload component will read the form data when the file data is read, and you have to ask the component for the form data. Upload components usually have a Form method that works similar to Request.Form.
---
b { font-weight: normal; }
|
|
|
|
|
hi all,
happy new year
i have a form taht has a ddl set to autopostback and enableviewstate to true, when i set breakpoint in selectedindexchanged event the index is always 0.
how do i maintain the selected index of the selected item in the list after the ddl has posted the form please ?
kind regards,
g00fy
|
|
|
|
|
ok found problem,
for other ppl's reference ... i was databinding the ddl in page load and getting its index in the selectedindedchanged event.
so i changed it to ...
1. create private instance variable for selectedindex
2. move databinding of ddl into page_prerender (cause its fired after load and selectedindexchanged)
3. in selectedindexchanged event i set instance var to the index
4. in page_prerender, set selctedindex of ddl to instance var, after binding is complete
regards,
g00fy
|
|
|
|
|
Hi g00fyman,
Just wondering, do you need to bind the ddl on every post? because the best practice is to enclose the binding in an if statement like this:
if(!this.IsPostBack){
ddl.DataBind();
}
This way you only bind the ddl the first time the user enters the page, and viewstate takes care of keeping the selectedindex. Just wondering if you know this, since your change is kind of... awkward.
daniero
|
|
|
|
|
hello there ,i have a problem with every upload file source!
Invalid class string .
i try to register every class,but i still have this problem .help me pls if you know how !
Have good day and time
|
|
|
|
|
The upload component that you want to use has to be installed on the server.
---
b { font-weight: normal; }
|
|
|
|
|
A website that opens at any browser either set on screen resolution e.g 800x600 and 1024x786 etc. It always open with the same x-axis and y-axis position.
-- modified at 3:59 Saturday 31st December, 2005
|
|
|
|
|
And the question is...?
---
b { font-weight: normal; }
|
|
|
|
|
I wrote a server that listents on INADDR_ANY port X.
I am using a hub, but I got my IP through http://www.whatismyip.com.
I open my server and connected to it through internet explorer and another client program. Through 127.0.0.1 and the ip the hub gave me (192.168.0.100) I managed to connect to myself, but through the other ip supplied by http://www.whatismyip.com I couldn't.
ping.exe worked on my ip, but was it my computer that replied? The same story was with a different computer's ip (this time ping didn't reach it either).
Can someone please help me or refer me to something that would give me an answer?
Do I need to do more than just open a socket to the specified ip? How come I can connect with the same socket methods to other sites but not to a specific ip? Do I have to use a proxy server (isn't it done automatically by IE)? How do all the messengers work?
thanks,
O.
|
|
|
|
|
Dear All,
Can I add icon(of some url) at IE(Internet Explorer) toolbar. I want to add icon instead of adding url site to favorites.
With Regards
Manoj
|
|
|
|
|
You make a site so useful and/or addictive that the user decides he wants it immediately accessible and adds it to the links toolbar.
You do not ever, ever touch that bar programatically.
|
|
|
|
|
Hello...
How could i determine the required web space for my SQL database in megabytes to choose the appropriate web hosting service
|
|
|
|
|
does anyone how internet accelerators work, if they do, and what it would take to make a simple program to boost internet speed?
I have dsl and have seen a lot of programs that claim to speed internet speed and thought i would try to make one of my own (mostly for fun).
any help, including websites tutorial or ideas would be greatly appreciated.
thank you in advance for the help and happy new year!
- Kyle
|
|
|
|
|
accelerators work by compressing the info that comes down the pipe and decompressing it at the other end:
<page requested="">
...
<accelerator sitting="" at="" your="" isp="" (for="" e.g.)="" compresses="" the="" data="">
...
<your slow="" dsl="" connection="" (slow="" compared="" to="" your="" isp's="" web)="">
...
<your computer's="" locally="" installed="" accelerator="" where="" it="" is="" decompressed="">
...
<your browser="">
Depending on the accelerator you can configure it to send low quality images instead of the full image and leave out certain things from pages such as adverts. It's all about sending less info down the wire.
|
|
|
|
|
other accelerators work by caching the pages whose links are on the page you are viewing, in the background, while you are viewing the initial page.
kind of pointless though cause you could end up downloading and caching a whole heap of crap you will never look at. mainly a dialup (56K) approach, not so relative for broadband speeds.
could always implement a neural network to learn which pages you are most likely to browse to though
g00fy
|
|
|
|
|
I have a asp page.when i select an item in the dropdown box a textbox will become visible and will be filled with data from the database depending on the item selected in the dropdown box.to retain a java variable value to be used in the query which is in vbscrip i used request.form() and posted the asp page back to the same page.Every thing is fine but, once the data is populated in the textbox immediately the page is posting back and all os them...textbox and dropdown box which were first in inviible mode are all again disappeared after the page is loaded.....please tell me how to retain them even after the page is loaded......
|
|
|
|
|
look at my post 7 posts after yours and see if this is your problem.
regards,
g00fy
|
|
|
|
|
Hi,
I have a need to send the contents of a form to two seperate programs, both being cgi's. How do I go about this.
Please include full details as I am a java beginner.
Thanks
|
|
|
|
|
What technology are you using to create your form? You'll have to do this manually. Are you wanting to get a response back from both or are they just receiving data? My guess is that you'll have to create a web request and send it to those two CGI scripts from the server. After that, you'll have to parse their responses to determine what to show the user.
Michael Flanakin
Web Log
|
|
|
|
|
I'm just using a HTML form. I have two CGI scripts. One that add the result to a database and the other which is a mail handler.
The basic idea is that someone fills out the form and the data is added to the database and then I get an email so I know to check.
Thanks
|
|
|
|
|
Why don't you just have the script that is doing the database insert trigger the email notification after the insert is complete?
Brian Van Beek
Inside this room, all of my dreams become realities, and some of my realities become dreams. -Willy Wonka
Just started a new blog, yeah! [^]
|
|
|
|
|
I'm with Brian. That seems to be the most logical thing. Anything you do to try and send the request to two places is going to be overly-complicated and odd to work with.
Michael Flanakin
Web Log
|
|
|
|