DataGrid In Composite Control

N

nikboss

I have put datagrid in composite control in CreateChildMethod().
Databinding is done in page that contains my composite control, and it
is done only if !IsPostBack. I have problem in post back because grid
is created but no data is there, like thay are not reloaded from
viewstate. Any suggestion?
 
A

avnrao

i guess EnableViewState is default to true..but just to check..are you
setting it?
can you post your composite control code and page to repro and try out..

Av.
 

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
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top