|
Hello,
How do I have a web page viewed by the user in a language other than English? What special care do I need to take? Is it possible that the user can see this page without downloading any fonts or something?
Thanks
Hitesh
|
|
|
|
|
I want to know how to fill nodes in TreeView Control by using ASP;)
KT
|
|
|
|
|
Hey Folks:
Im pretty new to application development in ASP andVBScript.
IM having trouble with sessions.
I have the global.asa and am trying to access a report number variable from that file for all the pages thats dependent on it.I have used Server.transfer to load the second form after the first is completed..But yet my trouble is when the second form is loaded it opens a new session.
Where is the mistake??Please suggest possible places where I might have made errors
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
I don't believe the problem is yours. I've run into this problem also when the browser is set to reject cookies. As an alternative you can always pass the numer as a querystring.
|
|
|
|
|
now thatssomething i wanted to find out..How do i pass on info from one form to another using query string..well letsassume my report number is 789 and its stored in the textbox txt_reportnumber..
So this means Response.write("txt_reportnumber")would give me the value out on screen.Now instead of it giving out on screen if i want it available in another form how do i pass it in query string..
i mean
Response.redirect "form2.asp?reportnumber=??"
I mean i have tried about 4/5 times.
"form2.asp?reportnumber=23" will work.But if instead of 23 i wanted to pass a variable value collected in the form thats submitting this response i dont know how to do it.
pLEASE HELP ME IN THIS.sEND ME SOME CODE OR SOMETHING AND I CAN FIGURE IT OUT THEN.
regards
PradS
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
How can I make simple countdown effect:
10, 9, 8, 7, ... 3, 2, 1, 0
The span beetwen digit appearance should be 1 second...
Thank you in advance
Goran
|
|
|
|
|
|
I created a button on my asp.net page that when clicked did the following
private void Button1_Click(object sender, System.EventArgs e)
{
// access the registry
Microsoft.Win32.RegistryKey s;
s=Microsoft.Win32.Registry.LocalMachine.OpenSubKey( @"Software\ODBC\ODBC.INI\ODBC Data Sources" );
// make sure we have a path there
if (s!=null)
{
string []xx = s.GetValueNames();
Label1.Text="";
// walk list
for (int i=0;i
|
|
|
|
|
I use a form to display combos and edit boxes. I read all the details using javascript. I do NOT wish to submit the form ever, although when the user presses ENTER the default action is to POST the form. How can I stop this please?
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
in the form tag, put onSubmit="return false;" , or just get rid of the form tag all together. If you are not submitting it, you dont need it.
|
|
|
|
|
|
Hi all,
I would like to know what is Microsoft Visual C++ .NET standard?
Is it new version of Microsoft development studio?
If so what is new with this or what I can do more?
Can I compile application built with VC++ 6.0 if I install MS VC++ .NET standard?
thanks
regards
/rsasalm
|
|
|
|
|
I'm trying to do the following 2 things:
1. log the referrer.
I've tried the following, but get a object expected error.
Request.UrlReferrer.ToString();
Any ideas?
2. I have 2 domain names pointing to one site and I want to find out which is being requested. The URL would be www.one.com or www.two.com, but I'm not sure how to get this from the Request object.
Any code examples would be cool.
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
- You may not always have a referrer, e.g. if the user types in the URL. In this case, the "UrlReferrer" property will probably be
null ; - Look at
Request.ServerVariables.Item("SERVER_NAME") , which should contain either "www.one.com" or "www.two.com" depending on the domain;
|
|
|
|
|
Hi !
I have a table with 2 columns ; the first's width is 60% and the second's 40%. I need to know the real width of the columns in pixels after the construction of the table ! How can I do this ?
Thanks for any help.
Emmanuel Derriey
|
|
|
|
|
What would happen if you assigned an ID to both of the columns and then used the DOM to check the width after load of the page?
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
... I retreive : "60%" for the first, and "40%" for the second...
Emmanuel Derriey
|
|
|
|
|
Try accessing the clientWidth property, instead of the width property.
|
|
|
|
|
I tried, as well as offsetWidth, but neighter clientWidth nor offsetWidth give me the good width...
Emmanuel Derriey
|
|
|
|
|
thanks!
prefer having source codes!
asp best!
here in cp.com have such stuffs,but they do not meet all my demands!
|
|
|
|
|
David Wulff's forum code is pretty good. What were problems with that?
..this is a VB Programmers' world and we all are just visitors - Someone in a MSJ article
|
|
|
|
|
I agree. Plus the fun of customizing that forum to fit your demands.
|
|
|
|
|
|
When for example I've been filling in a form for my address, I've seen it where I select the country, and the state/county combo box auto fills will all the country states/countys.
Anyone know how I could do this please?
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
Jeremy Davis wrote:
When for example I've been filling in a form for my address, I've seen it where I select the country, and the state/county combo box auto fills will all the country states/countys.
I have seen this on the Microsoft site and a few others.
Basically there are two ways; Server side or client side. Each has it's advantages and disadvantages.
Server Side
This way you submit the form onChange of the Country drop down list. The server then loads the State/County drop down list with all the States and Counties that match the selected Country.
The disadvantage is that this requires a server round trip and people with low-bandwidth will get irritated having to wait for the page to load just to select a state. The advantage over the client-side is that you don't have to pre-load all the possibilities into a JavaScript array. Also it is easier to code. It is also cross-browser compliant.
Client Side
This way you pre-load all the states and counties for all the countries into a JavaScript array on the client side. onChange of the Country drop down you just use DHTML to fill the State/County drop down list with the relevant entries.
The disadvantage is naturally that pre-loading all of those states/counties can be a serious page bloater. You could end up with hundres of kilobytes of unused records. The advantage is that it is quick and no server round trip is needed. This is however not cross-browser compatible without serious extra work.
Saying all of that the best option is not to offer an automatic State/County list but rather just use the standard text box and let the user fill it in. Less coding, no server roundtrips and no pre-loading. People will prefer it, especially on slow lines.
The only exception of course is an intranet where response time is not an issue. Use the JavaScript method then.
You can always validate the State/County that the person types in on the server-side onSubmit of the form if State/County data must be valid.
If you need code for either of the above two, I recommend Google. The JavaScript method has quite a bit.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge
Tim Smith wrote:
Over here in the third world of humor (a.k.a. BBC America),
peterchen wrote:
We should petition microsoft to a "target=_Paul" attribute.
|
|
|
|