URL Navigation and SQL Insertion After RadioButtonList Selection
- by SidC
Good Morning,
I have a radiobuttonlist in my ASP.NET webforms application that is used as a voting tool. The concept is as follows:
Users will vote for the blurb in the contentplaceholder using the radiobuttonlist. My list item values are 1 through 3 and my list item text is something like low, medium and high.
Questions:
1. I want to save and accumulate votes for a given blurb. The blurb ID is referenced in a meta tag on the content page. How do I reference the meta tag in my SQL insert statement?
2. When the radiobuttonlist is used, can it cause the next content page to be loaded after the SQL insert is done? That is, I don't necessarily want the user to make the radiobuttonlist selection, then have to click a separate button to cast vote and move to next page. I want all that done in the radiobuttonlist. Is this possible?
Thanks,
Sid