Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi Dear All


I have an ASPxPageControl. In this ASPxPageControl there are some dynamically created tabpages. The number of tabpages may vary in some situations. Each tabpage contains a dynamically created checkbox list. Here I would like to save the selected values of check box list items to the sqlserver database on a button click. Here I used devexpress Pagecontrol. In my devexpress version there is no AspxCheckboxlist available.because I use an older version. could any one please tell me how to save the selected value into the database...


Thank You...
Posted
Updated 22-Jun-17 0:45am
Comments
j snooze 9-Jun-15 17:46pm    
You should be able to get the checkboxes from the Request.Form. That should have all the objects posted on the postback.

1 solution

You Have several options, but without seeing the code ?

I'd recommend making a CustomControl to put your DevEx control in and then expose your selected value through a property if using web forms.

Developing Custom ASP.NET Server Controls[^]
 
Share this answer
 
Comments
Richard Deeming 22-Jun-17 15:31pm    
This question was posted over two years ago, and the user doesn't seem to have come back since then.
Thomas Nielsen - getCore 23-Jun-17 3:36am    
Oh, my bad. Thanks. Annoying that problems are not marked as resolved in relation to cruise altitude benevolent intent :)

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



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