The original aspx code is as follows(doesn't use AJAX):
<asp:datalist id=....>
   <itemtemplate>
       <img src=''>
       <a href='' ><%#DataBinder.Eval(Container,"DataItem.username")%></a>
...</asp:datalist>

Well, here, if I want to see a man's info,page will directly redirect to the showInfo.aspx  page,and the querystring is passed easily.
But I want to use AJAX,which means,I just put my mouse on, a float-out frame( maybe a 'div' or table created by _javascript_)will popup,showing the person's info.This ,too,will have to pass the username to the server side so different person's info can be shown. My prob is,how can I pass the username to the server side?

2006/6/26, Matan Mazursky < [EMAIL PROTECTED]>:
When do you pass the paramater? If it is during the event of mousein/out then place AJAX script inside the event. The options are to pass a form that is hidden to a php file, which will therefore allow a server discussion of a parameter being passed to the server.
Matan Mazursky


I use a DataList first to bind data(eg.students info).For each
student,I place a link(sure the link is part of the DataList's
ItemTemplate) below,on which I put my mouse will popup the detailed
info of the student,and it disappears once I move my mouse out.This may
pass a parameter to the server side such as student's name.But how can
I pass this parameter?I don't quite understand.Can anyone help?I'd
appreciate your help a lot.              E








--
----Wang E----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to