.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

RadioButton List Using Silverlight

Posted By: Asim Sajjad     Posted Date: November 26, 2012    Points: 2   Category :Silverlight
Need to create radio button list so that user can select one option from the given list of the collections.

View Complete Post

More Related Resource Links

radiobutton list item make visible true or false in javascript

in my project i have used one radiobuttonlist according different user login , i want to make one of radiobuttonlist item visible true or false..   please help me to solve this issue.   thanks in advance.  

How to insert data into sharepoint list using silverlight application?

Hi all, I am developing an Silverlight application. And i want to insert data into sharepoint list through that silverlight application. I am able to retrieve data from sharepoint list and bind it to combo box. But how to insert data? I am retrieving data using service reference. Can anyone help me? Thanks in advance. Waiting for your valuable response.-Kaustubh

Silverlight Client Object Model - List Fields Names


I'm trying to get the DisplayName of the Fields of a list through the Client Object Model (Silverlight)

I can retrieve the fields of a list as an authenticated user but not as anonymous: getting list.fields as anonymous simply returns Access Denied.

Is there a way to enable list.fields for the Client Object Model?

Or is there any other way of getting the DisplayName of Fields of a List?

How to bind two different list to dropdown base on radiobutton selection

  I have radio button and dropdown column types in sharepoint list, and apart from this i have two list. I want to bind the data to data from the two list base on the selection of radio button. If i select 'Yes' i want to bind from the one of two list, and when i select i want to bind it to another list. Is it possible in sharepoint ?. If yes can you help me out in this

How to change a SharePoint list item Approval Status from Silverlight webpart



I'm facing the following problem:

I have an embedeed silverlight xap application inside a custom visual webpart, that access SharePoint data through Microsoft.SharePoint.Client.Silverlight classes, and I have to modify some fields from an item from a list that has "Require content approval" enabled. I update the item successfully, but its approval status is set to "Pending" afterwards. 

How can I re-approve the content programatically?

Some additional information:

  • SPList item has a moderation information field, but in Silverlight there is only "ListItem" which does not contain such field.
  • When I try to do "item["_moderationinformation"] = something", I receive a PropertyOrFieldNotInitializedException.
  • I can check for Item.ParentList.EnableModeration, but there is neither a field nor a method related to moderation on the item itself.
A possible solution would be to create and call a web service that approves the items, but I'd rather prefer to avoid hosting and calling a ws to cover this functionality.

Any help on this would be greatly appreciated.




how to add radiobutton list in a detailsview or any other datacontrol


I am developing a website of online examination and i want to know how to display question of my paper along with its Answer options as radio button list. And if i use any data control then how to add radiobutton list n bind that list thru database

plz reply its urgent 

Radiobutton in Sharepoint list

We are currently facing a problem with the list connection webpart and was wondering if we could get help with this us.
I have created a list A in sharepoint 2007. I have added the list on a .aspx page in the site and connected it to another list B.  The radio buttons show up on List A now which when selected based on a common item filters the items in List B. The functionality works perfectly fine.
However, List A has been grouped and has lot of items under each grouping. When the user selects midway of this list, it does not collapse but shows the entire list expanded. Is there a way we can force the list to collapse when the user selects a radio button in the list?
Would really appreciate any feedback on this.

Problem with radiobutton list when viewstate disabled



I am having an issue with dropdown list when viewstate is disabled. The selectedindexchanged event fires even for the other events on the page.

I am pasting the code bello. To reproduce the issues I am mentioning please change the selected value of the dropdownlist and then click any button the selected indexchanged event fires even thought we didnot change the value.

<%@ Page Language="C#" AutoEventWireup="true"  EnableViewState="false" %>

<script runat="server">
	protected override void OnInit(EventArgs e) {
			new ListItem("Option 1"),
			new ListItem("Option 2"),
			new ListItem("Option 3"),
	protected override void OnLoad(EventArgs e) {
		SelectedValueOnLoadLabel.Text = OptionsDropDownList.SelectedValue;

	void OptionsDropDownList_SelectedIndexChanged(object sender, EventArgs e) {
		SelectedValueOnSelectedIndexChangedLabel.Text = OptionsDropDownList.SelectedValue;

    protected void btnTest_Click(object sender, EventArgs e)
        SelectedValueOnLoadLabel.Text = OptionsDropDownList.SelectedValue;

    protected void TestButton2_Click(object sender, EventArgs e)
        SelectedValueOnLoadLabel.Text = OptionsDropDownList.SelectedValue;

populate radiobutton list


SqlConnection conn= new SqlConnection();
string qry = "select opt1,opt2,opt3 from ques where QID=" + DetailsView1.DataKey[0];
SqlCommand cmd= new SqlCommand();
SqlDataReader dr= cmd.ExecuteReader();
if (dr.HasRows)
RadioButtonList rb = (RadioButtonList)(DetailsView1.FindControl("RadioButtonList1"));
//string str = Convert.ToString(dr[0]);
rb.Items.Add(new ListItem(Convert.ToString(dr[0])));//(Convert.ToString(dr["opt1"]));


Please tell me the correct way to do this

Cascading DropDown List & RadioButton in ModalPopup Extender


I need help to integrate all of those control in asp.net page. I am using the newest AJAX control toolkit. What I want to accomplish is I have a modal popup panel with cascading dropdown list and radio button inside. The issue is the postback. RadioButton and Cascading dropdown have postback so that will cause the modal panel disappear after the postback. I just want the panel disappear after I click the ok button on the panel and send the data into a field in a page. What I did was I placed the update panel inside the popup panel. If I did that, I would see the dropdown lists automatically refresh every time by accessing the webservice. If I placed the update panel outside, the dropdown would not be triggered. Even I set the trigger for the Update Panel, it will not see that way.

radiobutton List in infopath 2010


Hi, I am having Sharepoint 2010 RTM Enterprise Trial on Windows Server 2008 SP2.

I have 4 radio buttons on my infopath 2010 form, how can i manage them such that only one would be selected at a time ?


Simple Way To Create CheckBox List In Silverlight

We have a requirement to create the Checkbox list control so that user can select multiple options from a given list for his/her choice.

Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

RadioButton inside GridView, How to get it work as normal

Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!

RadioButton Groups, Table Rows And NamingContainers in asp.net

The RadioButtonList. Very handy for inviting users to select just one item from a list although because of the screen real estate it takes up, used less and less in favour of the DropDownList. In plain HTML, the browser knows to enforce the unique selected value amongst a list of radio buttons because they all have the same value for their name attributes.

RadioButton Groups, Table Rows And NamingContainers

(In which AJAX-enhanced CheckBoxes become more useful than RadioButtons but inheritance saves the day, and a simple RadioButton-derived control establishes the purpose of a control's naming container)

The RadioButtonList. Very handy for inviting users to select just one item from a list although because of the screen real estate it takes up, used less and less in favour of the DropDownList. In plain HTML, the browser knows to enforce the unique selected value amongst a list of radio buttons because they all have the same value for their name attributes.

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend