Datalist Control
-
Hi Guys, I want to display all the cities from a SQL table so that the user can select multiple cities as 'Prefferd Area'. On submitting the form all the cities selected should go to a table where the selection is stored userwise. I have achived the displaying of this thing by using Datalist control. Even I was able to show the selection made by the user earlier, if he clicks on the option again. ( I have entered dummy data in the table manually). My problem is how will I come to know, which cities are selected by the USER on submit click as I am not getting the individual check boxes on submit click event. Can any one help me out??? Chintan
-
Hi Guys, I want to display all the cities from a SQL table so that the user can select multiple cities as 'Prefferd Area'. On submitting the form all the cities selected should go to a table where the selection is stored userwise. I have achived the displaying of this thing by using Datalist control. Even I was able to show the selection made by the user earlier, if he clicks on the option again. ( I have entered dummy data in the table manually). My problem is how will I come to know, which cities are selected by the USER on submit click as I am not getting the individual check boxes on submit click event. Can any one help me out??? Chintan
Why not just use a listbox or a tree? You can get a list of items selected in a listbox. You could also display it as a tree, and checking the necessary nodes, will get saved for you. Just thought that this would be a easier method for you. Tarakeshwar CCIE Q(Routing and Switching), MCSE Security
-
Why not just use a listbox or a tree? You can get a list of items selected in a listbox. You could also display it as a tree, and checking the necessary nodes, will get saved for you. Just thought that this would be a easier method for you. Tarakeshwar CCIE Q(Routing and Switching), MCSE Security
Hi, Thanks for replaying so fast. I have already used the listbox control with multiple selection allowed. But my client doesn't want this. He wants check box selections. How do I do it??? Chintan
-
Hi, Thanks for replaying so fast. I have already used the listbox control with multiple selection allowed. But my client doesn't want this. He wants check box selections. How do I do it??? Chintan
Use the Tree Control, with the tree control u can have check boxes. The person can select what he wants, and those that are selected can be saved Tarakeshwar CCIE Q(Routing and Switching), MCSE Security
-
Use the Tree Control, with the tree control u can have check boxes. The person can select what he wants, and those that are selected can be saved Tarakeshwar CCIE Q(Routing and Switching), MCSE Security
Hi, Thanks a lot... I have done this successfully this DataList Web Control and really it's easy to use. I was not knowing how to do it... It's done Thanks a lot... Chintan