Click here to Skip to main content
15,924,452 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionnewbie aspx.vb question Pin
JimHouse22-May-07 13:27
JimHouse22-May-07 13:27 
AnswerRe: newbie aspx.vb question Pin
Mark Greenwood22-May-07 13:56
Mark Greenwood22-May-07 13:56 
AnswerRe: newbie aspx.vb question Pin
Not Active22-May-07 14:31
mentorNot Active22-May-07 14:31 
Question2.0 GridView selected row question... Pin
wbjohnson22-May-07 12:51
wbjohnson22-May-07 12:51 
AnswerRe: 2.0 GridView selected row question... Pin
kubben23-May-07 7:31
kubben23-May-07 7:31 
QuestionHow hard would this be? Pin
gantww22-May-07 10:45
gantww22-May-07 10:45 
AnswerRe: How hard would this be? Pin
Not Active22-May-07 14:33
mentorNot Active22-May-07 14:33 
QuestionURGENT!!!I have a question about the callback reference, I wonder what i did wrong Pin
Derek Wong22-May-07 7:56
Derek Wong22-May-07 7:56 
my problem is it always say the "StartAsyncCall" object is undefine..this following is my code. I wonder what i did wrong. I have a button in the aspx page, when click, it will call StartAsuncCall function

[Default.aspx]


[Default.aspx.cs]

public partial class _Default : CodeProject.ScriptPage, ICallbackEventHandler
{
private string text = "Create";
private string xmlString = null;
public string js;

protected void Page_Load(object sender, EventArgs e)
{


js = Page.ClientScript.GetCallbackEventReference(this, "arg", "CallBackReturnFunction", "ctx", true);

StringBuilder newFunction = new StringBuilder();
newFunction.Append("function StartAsyncCall(arg,ctx) { js }");
//Register
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "NewMethod", newFunction.ToString(), true);

}

public void RaiseCallbackEvent(string eventArgument)
{
XMLString = eventArgument;
}

public string GetCallbackResult()
{
return null;
}

public string Text
{
get { return text; }
set { text = value; }
}

public string XMLString
{
get { return xmlString; }
set { xmlString = value; }
}

[my javascipt file]
function XmlWriter()
{
return "testing";

}

function CallBackReturnFunction(arg,context)
{
alert("Got it :");
}
AnswerRe: URGENT!!!I have a question about the callback reference, I wonder what i did wrong Pin
Dave Herren22-May-07 8:46
Dave Herren22-May-07 8:46 
GeneralRe: URGENT!!!I have a question about the callback reference, I wonder what i did wrong Pin
Derek Wong22-May-07 11:08
Derek Wong22-May-07 11:08 
GeneralRe: URGENT!!!I have a question about the callback reference, I wonder what i did wrong Pin
Dave Herren22-May-07 16:07
Dave Herren22-May-07 16:07 
AnswerRe: URGENT!!!I have a question about the callback reference, I wonder what i did wrong Pin
Not Active22-May-07 14:35
mentorNot Active22-May-07 14:35 
Questionasp.net deployment Pin
aransiola22-May-07 6:24
aransiola22-May-07 6:24 
AnswerRe: asp.net deployment Pin
Dave Herren22-May-07 7:13
Dave Herren22-May-07 7:13 
GeneralRe: asp.net deployment Pin
aransiola22-May-07 7:18
aransiola22-May-07 7:18 
GeneralRe: asp.net deployment Pin
Dave Herren22-May-07 7:29
Dave Herren22-May-07 7:29 
GeneralRe: asp.net deployment Pin
Dave Herren22-May-07 7:34
Dave Herren22-May-07 7:34 
GeneralRe: asp.net deployment Pin
Marcus J. Smith22-May-07 7:54
professionalMarcus J. Smith22-May-07 7:54 
QuestionFunctionality implemented by Gmail Pin
www.Developerof.NET22-May-07 5:59
www.Developerof.NET22-May-07 5:59 
QuestionHow do you close an IE Window from server side asp.net script Pin
Steven J Jowett22-May-07 5:58
Steven J Jowett22-May-07 5:58 
AnswerRe: How do you close an IE Window from server side asp.net script Pin
kubben22-May-07 6:08
kubben22-May-07 6:08 
GeneralRe: How do you close an IE Window from server side asp.net script Pin
Steven J Jowett22-May-07 6:17
Steven J Jowett22-May-07 6:17 
AnswerRe: How do you close an IE Window from server side asp.net script Pin
Guffa22-May-07 7:11
Guffa22-May-07 7:11 
QuestionCreating Popup menu dynamically Pin
Rajiya22-May-07 5:50
Rajiya22-May-07 5:50 
QuestionAjax Progress barr Pin
Krrish22-May-07 5:35
Krrish22-May-07 5:35 

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.