accessing Datalist control from Code-behind file

  • Thread starter Mia Williams via .NET 247
  • Start date
M

Mia Williams via .NET 247

(Type your message here)
I have user control (listpanel control) and I ahve to display the search results inside the list panel user control.. how can I do that? Can i access the list panel control from code-behind file?
 
G

Guest

If i'm reading you right you have a panel control that you want to display
the results from a search query on. In that case the answer is yes and yes if
the answer is otherwise.
1. create the search query (on page, or in a component).
2. have the datalist, datagrid, or repeater in a table on the pannel control
with the pannel.visible=false.
3. bind the result to the control
4. set the pannel.visible = true.
5. have a button to hide the pannel for when the user is done with the
search result.

i hope this helps?
thanks
kes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top