I would like to have a gridview with a radiobutton column in order toselect just a row and do some task. I added a templatefield but when I run the application, it let me select all rows, but what I want is select only one. How can I do that? I mean, I want the radiobutton column to work as a group.
i have a gridview with radio button.i need to select only one item through out gridview i have written code that is working fine but that is giving problem in paging i am displaying gridview with 5 records per page.in first page i am able to select only one item but if i move to second page here also i am able to select only one radio button in this mean time if move to first page in that page also radio button is in selected mode .How can i make only one radio button selected in through out gridview and How can i get paging data from gridview(if i select 3rd page value and i moved to first page in that situation i need to get get that 3rd page value aslo ).
I've two radio buttons in my web site for selecting sex, one s for Male & another s for Female, Problem is during the Run time, I was able to select both the Radio Buttons, but as per my need i should select only one radio button. And i should perform validation Wn user not selected even one radio button i should show the error msg, like " select sex "
I want to use radio button on my form for users to select there sex, either male or female. I need this to reflect in the field in my access database any time they choose there sex. can anyone put me through this. Am using asp.net with VB code and an access database
I have a databound Gridview (with a LINQ datasource). The gridview displays questions from the SQL DB to the user. I've inserted a radio button list into the gridview with 3 horizontal radio buttons with fixed values of 1,2,3 for the user to select. I have a question ID, a tempuserID, and AnswerValue columns set up in the database. It all works nicely.
After the user selects radio buttons, I would like for them to push a button to submit the QuestionID, the associated Radio Button Value (AnswerValue) and their tempUserID into the DB. How do I do this? I'm not sure what to do next and what VB/LINQ code to put in the code behind file in the button click event handler. I'm also not sure on what to use for the tempUserID, can I use the sessionID? I'm using VB and here's my code:
How do you save a radio button selection to a DB (within the .aspx page)? I have 5 sets of "yes/no" radio buttons (1 for yes/ 1 for no). Do I just add each radio button as a field into the DB and if its not selected, leave it NULL (or whatever the default value is)... this does seem very efficient.
I have a Gridview with Radiobutton selection and two text boxes and two buttons.
What i need is to like search and extract functions.
My Gridview Initially contains all the data in the table. In one text box, like if i want to search "Learning" in column FIRST NAME and i type "L" in the text box and click the button, all values from the column FIRST NAME starting from "L" should be listed in the Gridview, so that from there user can select "Learning" and click another button to extract values corresponding to it in the another Textbox.
I want to show student attendance report on grid view with present and absent facilty using two radio butons on seprate column.Now i want user can select either present or absent radio button.I tried so much but i failed every time
I want to present a list of delivery options to end users which will be in 3 columns - service description, radio button (to select) and then the price of the service. Also I want to auto postback when the user selects a service from the appropriate radio button - e.g. :
However it does not seem that intuitive to pickup the selected value of the radio button this way, especially with the auto postback - I am having issues trying to access the selected radio button to interpret what the user wants.
It would seem much more appropriate for a RadioButtonList but I can't work out how to override the default formatting, and also how to insert extra table columns for the price etc to keep it all nicely formatted.
So either I need to crack the interpretation of the current setup or to find out is there a way to hijack the default setup of the RadioButtonList?
i have a grid view with radio button...schedule/approve/reject...by defualt schedule radio button is selected....but when i chage radio button selection option to anyth other than schedule it still store only schedule in DB.wats the pblm?
when i click submit button i got this error
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
so i set the enableeventvalidation=false
now i dint receive any error but when i set breakpoint on the funtion which called on buton clik it still got the value as scheduled for the radio button..spent almost half day for this.. all this while this was workin after i add the moralpopupextender am facing this pblm...now i tried removin that extender but still pblm exist.
it was possible to create X number of radio button groups depending on a parameter.
Say if I Selected Fruit as the parameter these groups would need to be created;
APPLE - Green - Red - Pink
GRAPEFRUIT - Yellow - Pink
GRAPE - Green - Purple
And if I were to pick vegetable;
TOMATO - Regular - Cherry
POTATO - Brown - White
So when I pick "Fruit" 3 Radio Groups appear(APPLE, GRAPEFRUIT, GRAPE), and when I pick vegetable 2 Radio groups(TOMATO, POTATO). Obviously this sample data is dumbed down, and my Radio options are going to be retrieved from the DB. Can this be achieved?