accessing Datalist control from Code-behind file

  • Thread starter Thread starter Mia Williams via .NET 247
  • Start date 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?
 
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
 
Back
Top