Hi Jan, I'm not sure how much help I can be, but I just got finished doing a project where I load XML transformed by an XSLT dynamically into my #content area. Can you tell me first the goal of the functions you are writing? What are you trying to do?
Lindsay On Jul 23, 1:36 pm, jan timmer <jan.tim...@oriolus.nl> wrote: > Hello all, > > I am trying use the Load function and it looks partly succesful: > the script code is: > > function doCallBack(action, value) > { > if (action == 'projlokatiemutaties') > { > var test = $("#ct100_Inhoud__pnlLokaties"); > var params = "project.aspx?ch=1&ph=1&cb=center&content=" + > value; > test.load(params); > } > > } > > when this code is executed 'project.aspx' is loaded and I am able to > query the params. This happens in the code behind: > > protected void Page_Load(object sender, EventArgs e) > { > HandleCallBacks(); > } > > and: > private void HandleCallBacks() > { > string direction = Request.Params["cb"]; > if (string.IsNullOrEmpty(direction)) > return; > if (direction == "center") > { > string content = Request.Params["content"]; > if (! string.IsNullOrEmpty(content)) > { > ProjectLokaties1.Refresh("", Convert.ToInt32 > (content)); > string html = General.Utilities.RenderControl > (ProjectLokaties1); > Response.Write(html); > Response.End(); > } > } > } > > Projectlokaties1 contains an XML control and the content is being > transformed usingXslt. As far as I can see the html variable contains > the correct value. > However the Response.Write() operations fails completely. As a matter > of fact at this point any Response operation fails. > > Does anybody know what is going on here, or better have a solution? > > Thanks in advance, > > Jan