CreateChildControl() fires First

H

hsnkamal

i have develop a sharepoint web part using class library.i add
controls programatically.when i select a item in dropdownlist and save
it to the datase.it sved the first item of the dropdownlist,not the
selected item.as my experience this happen due to the inoder sequence
of CreateChildControl() fires.Can any one help to solve this materr?
 
H

hsnkamal

Where are you adding the controls?
Where are you binding the data?

Ensure that the control is created inCreateChildControls.

i have created grid inside the create childcontrol().and also i have
bind it there.i anable the editbutton and at the edit event i have
added a dropdown list to the cell
 

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

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top