Click here to Skip to main content
15,906,625 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBrowser back button.. Pin
SamRST14-May-08 4:14
SamRST14-May-08 4:14 
AnswerRe: Browser back button.. Pin
Christian Graus14-May-08 15:03
protectorChristian Graus14-May-08 15:03 
QuestionFailed to load viewstate Pin
Premchand MR14-May-08 3:57
Premchand MR14-May-08 3:57 
AnswerRe: Failed to load viewstate Pin
Christian Graus14-May-08 15:03
protectorChristian Graus14-May-08 15:03 
Questionjavascript to make the browser's title bar blink Pin
deostroll14-May-08 3:50
deostroll14-May-08 3:50 
AnswerRe: javascript to make the browser's title bar blink Pin
Expert Coming14-May-08 6:11
Expert Coming14-May-08 6:11 
GeneralRe: javascript to make the browser's title bar blink Pin
deostroll14-May-08 23:10
deostroll14-May-08 23:10 
QuestionClient method was not called Pin
ganeshMohan14-May-08 3:29
ganeshMohan14-May-08 3:29 
I have tried a callback method in asp.net 2.0 with the help of following

Serverside code
---------------------
sOK = this.ClientScript.GetCallbackEventReference(this, "message", "ShowServerTime", "context", "OnError", true );
-------------------
void ICallbackEventHandler.RaiseCallbackEvent(string eventArgument)
{
//some internal proces
}
--------------------------------
string ICallbackEventHandler.GetCallbackResult()
{
return "OK"
}
-----------------------
Clientside Code


function fnTest()
{
if(confirm("Are u sure?"))
{
<%=sOK%>;
}

}
function ShowServerTime(timeMessage, context)
{
alert(timeMessage);

}
function OnError()
{
alert('An unhandled exception has occurred:\n');
}



----------------------------------

my problem is client side method ShowServerTime does not called

if any one known about this help me

thanks in advance

Known is a drop , Unknown is an Ocean

QuestionCannot use a leading .. to exit above the top directory Pin
MHASSANF14-May-08 3:09
MHASSANF14-May-08 3:09 
AnswerRe: Cannot use a leading .. to exit above the top directory Pin
eyeseetee14-May-08 3:14
eyeseetee14-May-08 3:14 
QuestionRe: Cannot use a leading .. to exit above the top directory Pin
MHASSANF14-May-08 3:18
MHASSANF14-May-08 3:18 
AnswerRe: Cannot use a leading .. to exit above the top directory Pin
eyeseetee14-May-08 4:32
eyeseetee14-May-08 4:32 
AnswerRe: Cannot use a leading .. to exit above the top directory Pin
Expert Coming14-May-08 6:14
Expert Coming14-May-08 6:14 
Questionwhy cant i access a session variable Pin
Meax14-May-08 2:57
Meax14-May-08 2:57 
AnswerRe: why cant i access a session variable Pin
Christian Graus14-May-08 3:01
protectorChristian Graus14-May-08 3:01 
GeneralRe: why cant i access a session variable Pin
Meax14-May-08 3:06
Meax14-May-08 3:06 
QuestionProblem while Loading image from external site Pin
sreeraghavendra14-May-08 2:29
sreeraghavendra14-May-08 2:29 
AnswerRe: Problem while Loading image from external site Pin
Christian Graus14-May-08 2:39
protectorChristian Graus14-May-08 2:39 
Questionsearch result highlight Pin
Pankaj Garg14-May-08 2:27
Pankaj Garg14-May-08 2:27 
AnswerRe: search result highlight Pin
eyeseetee14-May-08 2:36
eyeseetee14-May-08 2:36 
QuestionAdd new record to database using C# [modified] Pin
Poonam Gandash14-May-08 2:07
Poonam Gandash14-May-08 2:07 
AnswerRe: Add new record to database using C# Pin
eyeseetee14-May-08 2:19
eyeseetee14-May-08 2:19 
GeneralRe: Add new record to database using C# Pin
Poonam Gandash14-May-08 2:28
Poonam Gandash14-May-08 2:28 
GeneralRe: Add new record to database using C# Pin
eyeseetee14-May-08 2:36
eyeseetee14-May-08 2:36 
GeneralRe: Add new record to database using C# Pin
Poonam Gandash14-May-08 3:03
Poonam Gandash14-May-08 3:03 

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.