|
Hi, can i know how to autopostback my when the content in my textbox is changed without waiting for another event to happen?
|
|
|
|
|
hi
set autopostback to true
and
do your code in On TextChenged Event Function.
|
|
|
|
|
I am trying to make a textbox that fires an event every time a user type in something into it. The TextBox class has a TextChanged event fired everytime a user write something in the textbox and press enter or click somewhere.. Is there anyway that the TextBox will fire an event as soon as after the user type something and it doesn't wait for an Enter key to be pressed or being clicked somewhere for that event to be fired..
If you have any idea, i would appreciate to hear it..
Thanking you in advance....
|
|
|
|
|
whats ur mean?
let see :
i come as user. click on textbox and press a key.
now u want the postback fiers or any thing else?
|
|
|
|
|
The scenario is: my textbox is for the user to enter Year (4-digit). After the user enter the year, i want the postback to occur immediately instead of waiting for another event to happen.
My problem now is that after i enter the year in the textbox and click a button, the event handler for the button was not executed, but the event handler for the textbox was executed instead. So i was tinking if there is any way i can avoid this..
|
|
|
|
|
Is there a way to set the header and footer by code, when you print a HTML page from IE? Manually you can set it from File >> page setup. Thanks.
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|
|
Check out this article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie55/html/beyondprintpreview.asp[^]
I think this will help. I know there is a way to do it but I haven't worked with it myself, one of the developers I worked with did all his report printing with HTML and customizing IE print formatting.
I can imagine the sinking feeling one would have after ordering my book,
only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
|
|
|
|
|
hello all.
I am planning to make intellisense (code completion) FREE Editor
for ASP programmer. but i need ASP objects and their listings file..
in DATABASE format or whatever.. Please help me.
|
|
|
|
|
I am fairly new to ASP.Net but getting the hang of it. I began to build a web site for a family member that they needed for personal reasons that would basically be a "family site" for sisters and brothers not in the state. What is desired is a way for this person to be able to update the text and pictures on the page(s) through thier web browser. They do not have any programming experience at all so them editing the pages then ftping them over is a no go.
What would be the best way go to about haveing a page they could edit the text/pictures on that page yet not allow those visiting the site to see the controls on that page for editing? I have thought of several ways to do this but my experience in this is mainly HTML and static web design. Any help you can offer would be greatly appreciated!
Javolin
VB.Net, ASP.Net
|
|
|
|
|
so why did you choose to use ASP.NET?
Why dont you just use an open source cms such as phpnuke or dotnetnuke?
theJazzyBrain
Excellence is not an act, but a habit! Aristotle
|
|
|
|
|
Is database use an option?
If so I would do something like this.
Your site is going to a certain page which loads the texts and images from a database.
Create another page (with login?) that has some textboxes or stuff like that where your family members can alter the text. When submitted you update the database and it should work?
You can google on keywords like content management.
Make sure you design it right. In edit mode what is the current text, where will the new one appear etc...
Good luck.
"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
|
|
|
|
|
Hi,
I am working on a application where I am retrieving some values in a javascript function.
I want to pass these values to a scriptlet code. (Doing all this in a JSP page)
Any ideas on how this can be done???
Thanks in Advance
John:
|
|
|
|
|
In scriptlet program,you don't get the retrieving value.
you can set the retrieving value to a html tag element dynamically.then in process page,you can get this value.
so that...
You are the best!Me too!
|
|
|
|
|
I know that in PHP you can change the maximum for the uploaded file size by editing the php.ini file. Does anyone know how to do this in Perl? I think right now my max is 2 meg. It would be great if I could bump this up a little bit.
|
|
|
|
|
Dear Sirs,
I am using createDocumentFromUrl to obtain data from the web, which is
called several times (>100) for the application I am attempting.
I receive the following IE message when making this call:
This page has an unspecified potential security flaw. Would you like to
continue.
Is there any way to prgramatically surpress this message?
Note that when using the same url in IE directly (rather than from VB), I do
not get any error / warning messages.
Thanks
JC
|
|
|
|
|
A long-time problem for website designers is that of selecting a default page size to code to. At one time 480x640 was standard, then popular wisdom dictated that 600x800 was the best size to assume for most browsers. I'm wondering whether there is now a method in ASP or ASP.Net to determine the display settings of the user in order to size the output accordingly. I've done some looking, but haven't found anything related. Does anyone know of such a method?
"If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City
|
|
|
|
|
I don't think resolution is sent with HTTP headers...I've looked at the HTTP_USER_AGENT , etc
But you can use javascript:
window.screen.width
I believe returns the resolution width of the screen...
You could maybe have your scripts determine width/height on on firts visit and store the resolution settings in a cookie for the session???
HTH
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
I have about 10 reports in Crystal 9 and what to display them in a webpage using classic ASP. Do anyone have some examples on how to do that or could point me in the right direction.
Thanks
|
|
|
|
|
is there a way i can get info from a asp page to an asp.net page with hidden fields. can i read the hidden fields that are on an asp page with my asp.net page
thanks
chad
|
|
|
|
|
Try passing the information as parameters in the URL, for example.
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
|
|
|
|
|
hi everybody,
I want to run desktop application (Developed in vb/vb.net/c#.net)
from Web Page Is there any way to do this. Any example or article...?
|
|
|
|
|
I'm new so please excuse my lack of savy. I first came to the Code Project site because I wanted to learn JavaScript but I dont know if this is really a js task. I've found some HTML code for a drop down list where a user can choose their country.
Example:
====================
<select name="country">
<option value="">Country...</option>
<option value="Afganistan">Afghanistan</option>
<!-- Followed by rest of list in alphabetical order -->
</select>
=======================
How can I get any country selected from the list
to be associated with one of five world postage zones and the user taken to a page of information related to that zone?
I'd be grateful for any advice on this or pointers to information.
Regards and best wishes,
Lila Duncan
|
|
|
|
|
You don't say what your backend server technology is, so this is going to be generic.
When the user submits this page back to the server, the server can have a lookup mechanism where it will look up the country and see what postal zone it is in. The lookup may be an in memory table of somesort, or it may be a database lookup and so on. Once the server knows the postal zone it can redirect the user to the appropriate page.
Do you want to know more?
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums
|
|
|
|
|
Colin Angus Mackay wrote:
You don't say what your backend server technology is, so this is going to be generic.
--------------------
Thanks for the reply.
There is little backend server technology that I have any significant access to or control of, other than what I can set up within the basic web space provided by my ISP as a part of my ADSL subscription. I was hoping that the process could be handled from there, or even more usefully within the code of the pages themselves. If not, the process I'm trying to set up will be outside my scope for a while yet
If I already have javascript on my pages that can call a file from a remote location depending on what choice someone browsing the page makes, then it seems possible that a user could, by similar methods, make a choice from a list populated by a hundred options, which then calls one of 4 possible explanatory html pages from my web-space. Trouble is, if such a possibility exists, I don't yet know how to achieve it. Hence my original question.
Regards and best wishes,
Lila Duncan
|
|
|
|
|
You have a list of countries...and when any of those countries is selected you want to redirect to an HTML page for the zone in which that country falls under???
<select onchange="location.href='"+this.options[this.selectedIndex].value+".html'">
<option>Country...<option/>
<option value="zone_1">Canada<option/>
<option value="zone_1">USA<option/>
<option value="zone_3">UK<option/>
</select>
What this code is doing:
Whenever a option is selected the onchange event is fired and a redirection takes place.
The code assumes you have the 5 global postal zones saved as HTML files, such as: zone_3.html that is why the value of each option for that country is zone_1 , etc...in the above example I assume that Canada and the US are the same postal zone???
HTH
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|