Click here to Skip to main content
15,354,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i use DevExpress component
I have one detailrow template inside a devexpress gridview,in that detail row i have one page control whit 2-tab .. in one tab i have a checklistbox
how can get the selected item of checklistbox and save it ..

i cant and dont know how access the selected item of listbox that inside in pagecontrol ..
What you have tried so that code so that we could help you..

1 solution

i should define pagecontrol and ASPxListBox
later use ASPxListBox

define like this

ASPxPageControl pagecontrol = Projectgrid.FindDetailRowTemplateControl(e.VisibleIndex, "ASPxPageControl1") as ASPxPageControl;

ASPxListBox list = pagecontrol.FindControl("ASPxListBox1") as ASPxListBox;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900