To do Ajax like php

Last post 06-04-2009 6:30 PM by MeTaLCaM. 0 replies.

Sort Posts:

  • To do Ajax like php

    06-04-2009, 6:30 PM
    • Member
      point Member
    • MeTaLCaM
    • Member since 06-04-2009, 6:15 PM
    • Posts 3

     Hello Everybody,

    sorry for my poor english, but I've a real problem.

     As I use to do in PHP, I use Ajax (not Ajax.Net), with a url like "blabla.php?type=xxx".
    And in the blabla.php page, there is a "if" condition, (if type=a, a text is written, if type=b, another text is written, etc etc).

     It's easy to make that with PHP, but It's not the same with ASP.Net, because all the content of the written text should be on the code behind, (and I don't want to use a thousand lines of "Response.Write()").

    SO someone told me that the solution should be to use User Controls. I didn't find a really good solution, because using user controls means the creation of a lot of ascx pages...

     Some ideas ?

    Thank you

    Filed under: ,
Page 1 of 1 (1 items)