Click here to Skip to main content
15,907,326 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionpurpose <input type="hidden" part in asp_guest Pin
khasiguy26-Jun-06 10:01
khasiguy26-Jun-06 10:01 
AnswerRe: purpose <input type="hidden" part in asp_guest Pin
Tirthadip26-Jun-06 19:38
Tirthadip26-Jun-06 19:38 
QuestionUser authentication using Webservices Pin
Filipe Peixinho26-Jun-06 7:57
Filipe Peixinho26-Jun-06 7:57 
Questionasp.net - crystal report Pin
hari@harikrishnan26-Jun-06 7:42
hari@harikrishnan26-Jun-06 7:42 
QuestionCan no longer debug my project. Pin
Goalie3526-Jun-06 7:35
Goalie3526-Jun-06 7:35 
AnswerRe: Can no longer debug my project. Pin
swilly126-Jun-06 8:54
swilly126-Jun-06 8:54 
GeneralRe: Can no longer debug my project. Pin
Goalie3526-Jun-06 9:08
Goalie3526-Jun-06 9:08 
Questionproblem with RegisterClientScriptBlock Pin
ToddNeal26-Jun-06 7:32
ToddNeal26-Jun-06 7:32 
I am trying to use the ICallbackEventHandler interface.

I create a callback function as below:

string src = Page.ClientScript.GetCallbackEventReference(
this,
"arg",
"ClientCallback",
"ctx",
"ClientErrorCallback",
false);

string mainSrc = @"function PrintComplete(arg, ctx)
{alert(arg); " + src + "; }";

Page.ClientScript.RegisterClientScriptBlock(
this.GetType(),
"PrintComplete",
mainSrc,
true);


Now I add a button to my page and hook it up to a click event handled on the page along with the callback funtions.


test


function ClientCallback(result, context)
{
alert(result);
}
function ClientErrorCallback(error, context)
{
alert("Error in callback");
}
function test()
{
PrintComplete(5, "test");
}




This all works fine. Now if I try to call the test function from another script created with RegisterClientScriptBlock I get the call into PrintComplete but no call back to the server.

Any ideas? Is there a difference when running a script on the page versus a RegisterClientScriptBlock script?

Thanks,
Todd
AnswerRe: problem with RegisterClientScriptBlock Pin
Guffa26-Jun-06 8:21
Guffa26-Jun-06 8:21 
QuestionAdrotator in ASP.net Pin
ravindradonkada26-Jun-06 7:18
ravindradonkada26-Jun-06 7:18 
AnswerRe: Adrotator in ASP.net Pin
Sushant Duggal27-Jun-06 0:23
Sushant Duggal27-Jun-06 0:23 
QuestionHow to keep Track of Updates..! Pin
wEb GuRu...26-Jun-06 6:30
wEb GuRu...26-Jun-06 6:30 
AnswerRe: How to keep Track of Updates..! Pin
Hain Kurt26-Jun-06 7:34
Hain Kurt26-Jun-06 7:34 
GeneralRe: How to keep Track of Updates..! Pin
wEb GuRu...26-Jun-06 7:38
wEb GuRu...26-Jun-06 7:38 
QuestionWeb Parts Personalization Pin
Chris McGlothen26-Jun-06 5:57
Chris McGlothen26-Jun-06 5:57 
QuestionQuestion on Dynamic Controls on a UserControl in ASP.NET Pin
OrbitalThread26-Jun-06 5:35
OrbitalThread26-Jun-06 5:35 
AnswerRe: Question on Dynamic Controls on a UserControl in ASP.NET Pin
Paddy Boyd26-Jun-06 6:12
Paddy Boyd26-Jun-06 6:12 
QuestionFree open source Rich Text Editor Pin
NaNg1524126-Jun-06 5:31
NaNg1524126-Jun-06 5:31 
AnswerRe: Free open source Rich Text Editor Pin
swilly126-Jun-06 7:52
swilly126-Jun-06 7:52 
QuestionAdding a new row to a datagrid issue Pin
leckey26-Jun-06 5:13
leckey26-Jun-06 5:13 
AnswerRe: Adding a new row to a datagrid issue Pin
Tirthadip26-Jun-06 23:58
Tirthadip26-Jun-06 23:58 
QuestionError while calling javascript from asp.net web page Pin
Sandeep Akhare26-Jun-06 5:06
Sandeep Akhare26-Jun-06 5:06 
Question[ASP.net v2] [C#] Treeview .... Pin
lio5526-Jun-06 5:00
lio5526-Jun-06 5:00 
AnswerRe: [ASP.net v2] [C#] Treeview .... Pin
Hain Kurt26-Jun-06 7:30
Hain Kurt26-Jun-06 7:30 
Questionpointing to an asp file from an iFrame in asp.net page Pin
Grapes-R-Fun26-Jun-06 4:52
Grapes-R-Fun26-Jun-06 4:52 

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.