|
I don't know a direct answer to your question, but you could look into building your own webservice proxy and reading the SOAP standard so that you can encode it yourself. Might be a bit of overkill though.
Why are you wanting to do this?
regards,
Paul Watson
Bluegrass
South Africa
Brian Welsch wrote:
"blah blah blah, maybe a potato?" while translating my Afrikaans.
Crikey! ain't life grand?
|
|
|
|
|
I can't use the web services directly as the user is normally only online once or twice a day. I plan on using a queue of method calls that are executed against the server side object when the user does connect, and are then committed on the client side if the server operation was successful.
I think that for convenience, if I can get it right, it would be best to call a method on a SOAPSerializer and have that read the WSDL and generate the XML string which I can then queue.
Hallelucination - when you think you see God
|
|
|
|
|
since I'm not sure exactly how to "word" the question properly for the subject I put some keywords ...
I'm using an iframe as a placeholder for some html, selected from a menu; a very basic configuration.
I'm trying to remove the frames from my pages and I think that the replacement is the iframe, which is working fine.
I can use some basic javascript to load a page into my iframe, when the user click on some text.
<p id="load_load_musique" onclick="load_musique()" >Musique</p>
and
...
function load_musique()
{
parent.document.getElementById("content_id").src="musique.html"
}
...
The question I'm really asking, is that I want to make the clickable text look like a normal link, with the cursor, I know that I can do this by adding onmouseover, onmouseout, which is working ok, but seems wrong. and Can I change the cursor ?
Thanks for anything...
Max.
Maximilien Lincourt
"Never underestimate the bandwidth of a station wagon filled with backup tapes." ("Computer Networks" by Andrew S Tannenbaum )
|
|
|
|
|
You have to use styles.
I think that there is a style that can be configured as such:
<br />
<span style="cursor:hand;">Clickable text</span><br />
Check the MSDN documentation for further information but I think that this works...
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Would you recommend any tutorial/reference on how to install and enable HTTPS with IIS? I know how to use "makecert.exe" to generate a test certificate for testing. I know how to use "Network Monitor" to sniff for passwords and stuff. I know how to bring up "Certificates" snap-in from "MMC" (Microsoft Management Console). But then how do I proceed from tehre..? There're many folders under "Certificate" snap-in. For example: Personal, Trusted Root CA, Intermediate CA... etc. None of which appears to be appropriate for the purpose of assigning a certificate to my web server. How do I proceed from here to enable SSL for my site?
Thankyou!
|
|
|
|
|
Hello Friends,
Output of my ASP page can be properly printed using Landscape format.
So, I would like to provide a Print button on my ASP page, which on clicking should open a Print dialog box with its 'Orientation of Page' property set to 'Landscape', OR if this is not possible then directly starts printing the page with default property except orintation which should get set to
'Landscape'.
Can anybody tell me is this possible in ASP?
Thanks in advance.
Pranoti
|
|
|
|
|
You can't currently. For one, any browser that lets a page print without prompting the user is a bad browser. There is also no way (without using ActiveX, Java, etc.) to change the initial values in the Print dialog when using the print method.
Even with CSS there is no way.
Your best bet is to have a blurb at the top of the page to tell the user what to do. You can use CSS to hide this blurb when printing, too. Lets say your stylesheet to which your linking is defined like so:
body { font-family: arial; }
.blurb { border: 1px solid black; background-color: gray; color: red; }
@media print
{
.blurb { display: none; }
} In your printable page, have something like this at the top, right after body:
<div class="blurb">To optimize your print-out,
click the File->Print menu in your browser, click on Properties,
then select Landscape. Click OK twice.</div>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Land record in format using in India specially in Uttar Pradesh.
|
|
|
|
|
Nice and...
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
I have a fields called validfrom and validto
something like
SELECT * from table where form.date1 and form.date2 fall between "VALIDDFROM" and "VALIDTO"
So I have a validfrom date January and a validto date of december in the db in same record
but my user types in feb to march
as
feb - march falls inside the jan - dec
that result is pulled to the broweser?
- Michael Fasani
www.michaelfasani.com
|
|
|
|
|
if U need to make it in february or january then used function date("m") or goto http://www.asp101.com/articles/john/expirationdate/default.asp, u find everything. If not find then mail me at himadrish@yahoo.com, else take sunbath in bay area. BE COOL PLS.
Ur site is not running
Himadrish Laha
|
|
|
|
|
Hello,
I would like to write a page with c# in which the user can upload a file to the server. When I tested this on my machine it worked, but when the page was tested on the server, the user could not upload the file. It said access to the folder on the server was denied. Does anyone know how to set permissions so that any user can upload to the server from this page?
Thanks,
RC
|
|
|
|
|
Hello,
I had the same problem a few days ago!
The user on the server that executes the scripts doesn't have write acces to the directories. I don't think that you can change the permissions directly, you'll have to ask the server administrator to set permissions.
Hope this helps.
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
I need to be able to import text files and manipulate them
|
|
|
|
|
What's your point?
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
Fascinating. What's your question?
- Mike
|
|
|
|
|
Hello,
I'm building a site which requires a user to login. I've seen pages where the user is prompted to enter the username and password in a modal dialog.
I want a similar solution, but I can't seem to find any documentation on this subject.
Does anyone know a tutorial or something?
thanks
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
I think you are referring to the standard authentication dialogs which browsers pop up in response to a page that uses an HTTP authentication scheme (not JavaScript), the most common of which is called "Basic Authentication" (there's also "Digest Authentication").
This requires configuration of the web server, or a server-side script that accesses HTTP headers directly.
- Mike
|
|
|
|
|
thanks for your answer!
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
I very like JScrip.NET with Class-based Objects function. It looks like clearly. Now JScrip.NET 's syntax has became close to with other OPP languages as C#, VB.NET. I want to translate some old JavaScrip functions to JScrip.NET.
But I don't now that what does JScrip.NET require about client web browsers. If these requirements are too high, may be I will have to consider again.
Please help me.
Thank you
Trong Tuan
|
|
|
|
|
JScript.NET is NOT a replacement for JScript. JScript.NET - for one - is a compiled, type-safe language. Also, JScript is an automation language, which uses dispatch interfaces to attach to late-bound functions and classes.
If you like having classes, you can create these even in JScript by declaring a function, use the this property, and define methods. You don't to use the .NET BCL like you do in JScript.NET, but I gave you just a couple reasons why this isn't feasible or possible above.
For more information about how to create JScript classes with properties and methods, see http://caucuscare.com/~roth/JAVASCRIPT/ch07_05.htm[^] (randomly pulled from google after checking its validity).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
I guess this is a simple problem for which I do not have an answer. The following is taken from "global.asa" for an ASP application. It simply calls a method that parses an XML file (LoadSiteConfig). This method is included in loadsiteconfig.vb. However, it appears that the method LoadSiteConfig is not called on application start. I'm suspecting there's some syntax error the way I included the source "loadsiteconfig.vb" using the "src" attribute:
<script language="vbscript" runat="server" src="loadsiteconfig.vb">
sub Application_OnStart
LoadSiteConfig()
end sub
sub Application_OnEnd
end sub
</script>
Here's what "loadsiteconfig.vb" looks like:
Function LoadSiteConfig()
... parses an XML file using Server.CreateObject("microsoft.XMLDOM") ...
End Function
Am I doing the right thing? The way I included the ".vb" file in "global.asa"?? I'm having some trouble to trace where it went wrong that the function is not called it appears. Thanks!
|
|
|
|
|
Doesn't a Function have to return a value in VBScript? I don't use them often enough to be sure, but I seem to recall that functions have to be used on the right side of an assignment operator, while Subs can be called as freestanding entities. Try changing the Function to a Sub in loadsiteconfig.vb and see if that helps.
"Your village called - They're missing their idiot."
|
|
|
|
|
does anyone know how to use the Javascript fireEvent method? - I'm having some problems implementing it with an object in IE 6.
- here's an example of what does work.
<script>document.onkeydown = doalert<br />
function doCalc(){<br />
var evtObj = document.createEventObject();<br />
<br />
evtObj.ctrlKey = true;<br />
evtObj.keyCode = 70;<br />
<br />
document.fireEvent("onkeydown",evtObj);<br />
}<br />
function doalert(){<br />
document.forms.temp.field1.innerHTML = document.forms.temp.field1.innerHTML +String.fromCharCode(window.event.keyCode)<br />
}<br />
</script><br />
</component><br />
<form name="temp"><br />
<textarea name="field1">hello</textarea><br />
</form>
I am using microsofts dhtml editor in IE 6 and I'm trying to emulate the "tab" key in tables - so that it moves to the next cell... - one way of doing this is by replacing the "tab" key click with the "ctrl" + "down arrow" keys, now for some reason I cannot get IE to apply these keystrokes to the object and for that matter I cannot get it to recognize that the "ctrlKey" value is set to true (for a case where I would like to press "ctrl" + "f"...)
if someone can please help me out that would be greatly appreciated.
Thank you,
webProgrammer
|
|
|
|
|
Does anyone know if it's possible to do *anything* other than a standard form post with a file input field? I'd ideally like to base64 encode the file data into an xml file and send the xml file off to the server, rather than using the standard multipart/form-data method.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|