|
So, why did you name your post 'PHP' ?
There are multiple frameworks for a variety of reasons, and more than one survives for various reasons. IMO, ASP.NET is plainly the best, but platforms like PHP have their adherents, and even classic ASP survives, probably more because of people who refuse to upgrade their skill set than any possible advantage they could have.
However, if your presentation to your boss will consist of replies you got from online forums, then either you lied to get your job, or your boss is really stretching to ask you for such a presentation.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
I'm using the IE7 browser,I use the window.close to close the browser. Below is my sample code
strscript = " { window.opener=top;window.close();}"
Me.ClientScript.RegisterStartupScript(Me.GetType(), "closescript", strscript)
How can i remove the confirmation message on IE7? Any idea or suggetion
Thanks
|
|
|
|
|
You cannot remove that message. Its that simple.
Wout Louwers
|
|
|
|
|
You should be able to remove the dialog if you set the window.opener=self
Now if you are talking about having multiple tabs open, I am not sure what can be done with that dialog.
Ben
|
|
|
|
|
On http://www.asp.net/ajax/showcase/ when you hover over a showcased site a window will popup giving more detail about the site. What control is providing this functionality and where can I find a sample.
Thank you,
|
|
|
|
|
Looks like an AjaxControlToolKit.HoverMenuBehavior but you can build your own with plain ole VB, I am looking for my old VB6 project that used MouseEnter and MouseLeave, mine was not this fancy but when the mouse Entered a control on my form, a callout type window opened and I was able to put info / instructions in the callout window, its buried somewhere on an external HD, if you are interested, I have to dig it out, it was simple unless someone here can get this Java for you easily.
Sys.Application.add_init(function() {
$create(AjaxControlToolkit.DropShadowBehavior, {"Opacity" .2,"TrackPosition":true,"id":"ctl00_MainContent_ctl03_rptShowcases_ctl23_dse"}, null, null, $get("ctl00_MainContent_ctl03_rptShowcases_ctl23_img"));
});
Sys.Application.add_init(function() {
$create(AjaxControlToolkit.HoverMenuBehavior, {"DynamicServicePath":"/ajax/showcase/Default.aspx","OffsetX":-25,"OffsetY":-40,"PopDelay":150,"id":"ctl00_MainContent_ctl03_rptShowcases_ctl23_hme","popupElement":$get("ctl00_MainContent_ctl03_rptShowcases_ctl23_info")}, null, null, $get("ctl00_MainContent_ctl03_rptShowcases_ctl23_img"));
});
|
|
|
|
|
Looking at the controls more closely I can created the desired popup by using the Animation control. I appreciate your response. Thank you.
|
|
|
|
|
Hi Guys,
Is ASP.net has the tool to convert ASP.net project into an exe file? How?
I need to convert one of my ASP.net project and place it in the scheduler.
Thanks
hifiger2004
|
|
|
|
|
No, that's not at all possible. You're talking about a rewrite. If your app is well written, you'll really just need to provide a winforms presentation layer.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
Ah I see. Because I have a purpose of converting it to exe file just in case if there's some tool outthere that will convert one of my aspx pages.
The content of the aspx page is only to write data from table to XML. I am doing it in aspx to eliminate additional tool like VB or Delphi just only for xml writing.
Or how about a way of converting aspx into an exe file, still the same, no?
Thanks
hifiger2004
|
|
|
|
|
hifiger2004 wrote: Or how about a way of converting aspx into an exe file, still the same, no?
Obviously, no. Your ASPX is a factory for generating HTML. You want to replace that with a windows form. Your logic is the same, you just need to write the form to call it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
I think I have to create another small program using the other dev tool.
Thank you Chris
hifiger2004
|
|
|
|
|
I am new to asp.net and C# and I just want to know what application servers are out there. I know there is IIS but are there any others. Also how much does IIS cost? or is free?
|
|
|
|
|
And you posted this here after I answered you in the ASP.NET forum because..... ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillionOneHundredAndFortySevenMillionFourHundredAndEightyThreeThousandSixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it )
|
|
|
|
|
Hello!
Can you help me?
I've this situation:
I use a web service through ajax. The service is "TreStringheService" and the web method is "GetTreStringhe", and that method accept one string parameter (in this case is 0100012).
<script language="javascript" type="text/javascript"><br />
<br />
function CallWebMethod()<br />
{ <br />
TreStringheService.GetTreStringhe("0100012",Fill,ErrorHandler,TimeOutHandler);<br />
}<br />
<br />
function TimeOutHandler(result)<br />
{<br />
alert("Timeout :" + result);<br />
}<br />
<br />
function ErrorHandler(result)<br />
{<br />
var msg=result.get_exceptionType() + "\r\n";<br />
msg += result.get_message() + "\r\n";<br />
msg += result.get_stackTrace();<br />
alert(msg);<br />
}<br />
<br />
function Fill(result)<br />
{<br />
var lblMsg=document.getElementById("lblMsg");<br />
lblMsg.innerHTML = "TEST";<br />
}<br />
</script><br />
<br />
<input type="button" onclick="CallWebMethod()" title="CLICCAMI" /><br />
<span id="lblMsg" style="font-weight: bold; color: red;"></span><br />
<br />
<br />
Now, what i'll want is to passing to the Fill function a string parameter that is the element id, so i can say to the function the right element to use, for example:
<input type="button" onclick="CallWebMethod('lblMsg')" title="CLICCAMI"/> <br />
<br />
function CallWebMethod(elementID)<br />
{ <br />
<br />
TreStringheService.GetTreStringhe("0100012",Fill,ErrorHandler,TimeOutHandler);<br />
}<br />
<br />
<br />
<br />
<br />
function Fill(?????)<br />
{<br />
var lblMsg=document.getElementById(elementID);<br />
lblMsg.innerHTML = "TEST";<br />
}
Pleeeeease help me! Thank u!!
|
|
|
|
|
change as under:
<input type="button" önclick="CallWebMethod('lblMsg')" title="CLICCAMI"/><br />
<br />
var lblMsg;
function CallWebMethod(elementID)<br />
{<br />
<br />
lblMsg=document.getElementById(elementID);<br />
<br />
TreStringheService.GetTreStringhe("0100012",Fill,ErrorHandler,TimeOutHandler);<br />
}<br />
<br />
<br />
<br />
function Fill()<br />
{<br />
lblMsg.innerHTML = "TEST";<br />
}<br />
-----
|
|
|
|
|
Hi everyone,
First time poster to this forum so be gentle. I'm admittedly not the best coder and I'm having troubles getting multiple actions out of one submit button on my html form. I need the (single) button to do two things:
1. link to the FormMail.pl script on my server to mail the completed form to myself.
2. Activate PayPal by submitting their "hidden" form variables and redirect to their site so the user can pay.
I know that there's a Javascript solution to this. Can anyone please help me out? It would be greatly appreciated.
|
|
|
|
|
kidcanuck wrote: First time poster to this forum
And you posted in the correct forum. Believe it or not that actually indicates some level of intelligence around here.
This is not a big site for javascript. I think you would be better off at places like webmonkey.com, dynamicdrive.com or any of the other Javascript oriented sites[^].
|
|
|
|
|
If I am getting it right, why you need two actions? In my opinion, you can send the mail to your self in click event of the button, after sending mail you can do paypal stuff and redirect wherever you want.. is'nt that right?
-----
|
|
|
|
|
That might work, are you suggesting I have one form submit (the Paypal one I'd assume), and attach an action to the click event of the button that will send the other form to my FormMail script? Like I said I'm pretty new at this. How would you suggest I write the javascript function to attach to the click event?
|
|
|
|
|
no, I am talking about server side click event of the submit button. Now tell me what is paypal's requirement? Are they getting the value from the form or from the query string?
If they can get the value from the query string then from server side click event you can redirect to their URL and pass the required values in query string.
And if they are getting values from the form then you can achieve that as under:
1. Add a classic ASP page to your application.
2. Set action of the form to paypal's url
3. Now before submitting the form, open your page that send the email using window.open in javascript and pass all form values for your email in query string. In that page get the values from the query string and send email.
4. Aftr opening the new window submit the form using document.formname.submit in javascript
-- modified at 20:06 Tuesday 23rd October, 2007
-----
|
|
|
|
|
Hi,
I am moving some applications to a Sharepoint hosted homepage, but when I change them to use https (it is interpreted as a cross domain), the inner pages (SharePoint uses iframes) aren't correctly resized, it appears smaller than the original version (without https). For many reasons, we wouldn't like to change the main page to https.
Do you have any tip ?
I saw some solutions on the net but that doesn't work with firefox\mozilla.
Thanks for any help.
-- modified at 12:11 Tuesday 23rd October, 2007
|
|
|
|
|
Hi,
I am trying to repeat image in word (containing HTML) for some table cells. But the image is not displayed in MS Word. It displays in IE / other browsers. I am using background-image and repeat x for this.
I searched for the same and found that background images are not supported in MS Word. Is there any workaround for this.
Thanks !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Is it possible to implement WCSF (Web Client Software Factory) concepts in MOSS 2007?
Thanks
PRT
|
|
|
|
|
I have already created help file using robohelp and set map ID for each topic. So different id's and .htm files are there. I want to open the help file to the corresponding topic for each aspx page, when I press F1 key. But I don't know how to connect the map id through my web page. I tried with 'onHelp' event in script. But it only opens the help file, not the corresponding topic. Is using 'onHelp' in , the right way? Or any other better way is there to trap the F1 key? Please explain what are the steps for the corresponding problem.please give information for the corresponding problem.
hashim
|
|
|
|