Click here to Skip to main content
15,902,114 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCan we convert ASP.Net Project to EXE File ? Pin
hifiger200423-Oct-07 15:33
hifiger200423-Oct-07 15:33 
AnswerRe: Can we convert ASP.Net Project to EXE File ? Pin
Christian Graus23-Oct-07 15:36
protectorChristian Graus23-Oct-07 15:36 
GeneralRe: Can we convert ASP.Net Project to EXE File ? Pin
hifiger200423-Oct-07 15:50
hifiger200423-Oct-07 15:50 
GeneralRe: Can we convert ASP.Net Project to EXE File ? Pin
Christian Graus23-Oct-07 16:10
protectorChristian Graus23-Oct-07 16:10 
AnswerRe: Can we convert ASP.Net Project to EXE File ? Pin
hifiger200423-Oct-07 17:42
hifiger200423-Oct-07 17:42 
Questionapplication servers Pin
steven331123-Oct-07 14:53
steven331123-Oct-07 14:53 
AnswerRe: application servers Pin
Christian Graus23-Oct-07 15:09
protectorChristian Graus23-Oct-07 15:09 
QuestionPassing string to a function [web service] Pin
tranky23-Oct-07 13:55
tranky23-Oct-07 13:55 
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 />
// but here? what i must write for passing the elementID string to the Fill function?<br />
         TreStringheService.GetTreStringhe("0100012",Fill,ErrorHandler,TimeOutHandler);<br />
     }<br />
<br />
// if i can passing a string to the Fill function i can do that<br />
<br />
<br />
<br />
  function Fill(?????)<br />
    {<br />
        var lblMsg=document.getElementById(elementID);<br />
        lblMsg.innerHTML = "TEST";<br />
    }




Pleeeeease help me! Thank u!!
AnswerRe: Passing string to a function [web service] Pin
SABhatti23-Oct-07 14:44
SABhatti23-Oct-07 14:44 
QuestionMultiple actions from one Submit button Pin
kidcanuck23-Oct-07 11:22
kidcanuck23-Oct-07 11:22 
AnswerRe: Multiple actions from one Submit button Pin
led mike23-Oct-07 11:42
led mike23-Oct-07 11:42 
AnswerRe: Multiple actions from one Submit button Pin
SABhatti23-Oct-07 13:21
SABhatti23-Oct-07 13:21 
GeneralRe: Multiple actions from one Submit button Pin
kidcanuck23-Oct-07 13:42
kidcanuck23-Oct-07 13:42 
GeneralRe: Multiple actions from one Submit button [modified] Pin
SABhatti23-Oct-07 13:53
SABhatti23-Oct-07 13:53 
QuestionCross-domain iframe resize (and Sharepoint) [modified] Pin
GuimaSun23-Oct-07 4:22
GuimaSun23-Oct-07 4:22 
QuestionRepeat backgrounf image in Word Pin
coolestCoder23-Oct-07 1:02
coolestCoder23-Oct-07 1:02 
QuestionWCSF in MOSS Pin
Prashant C22-Oct-07 23:43
Prashant C22-Oct-07 23:43 
QuestionHow to create F1 help in web application Pin
hashim.os@quadra.in22-Oct-07 23:41
hashim.os@quadra.in22-Oct-07 23:41 
AnswerRe: How to create F1 help in web application Pin
Christian Graus23-Oct-07 0:28
protectorChristian Graus23-Oct-07 0:28 
GeneralRe: How to create F1 help in web application Pin
hashim.os@quadra.in23-Oct-07 1:50
hashim.os@quadra.in23-Oct-07 1:50 
GeneralRe: How to create F1 help in web application Pin
N a v a n e e t h23-Oct-07 2:06
N a v a n e e t h23-Oct-07 2:06 
GeneralRe: How to create F1 help in web application Pin
hashim.os@quadra.in23-Oct-07 2:35
hashim.os@quadra.in23-Oct-07 2:35 
GeneralRe: How to create F1 help in web application Pin
Paddy Boyd23-Oct-07 3:10
Paddy Boyd23-Oct-07 3:10 
QuestionService Unavailable Pin
ngrj22-Oct-07 21:53
ngrj22-Oct-07 21:53 
AnswerRe: Service Unavailable Pin
pmarfleet22-Oct-07 23:15
pmarfleet22-Oct-07 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.