iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I need readio button column inside grid view. I trying to implement it using template:
<Intersoft:UXGridView ItemsSource="{Binding SomeSource, Mode=OneWay}" AutoGenerateColumns="False" >
<Intersoft:UXGridView.Columns>
<Intersoft:UXGridViewTemplateColumn Header="SELECT">
<Intersoft:UXGridViewTemplateColumn.CellTemplate>
<DataTemplate>
<Intersoft:UXRadioButton GroupName="sel" IsChecked="{Binding Path=IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"></Intersoft:UXRadioButton>
</DataTemplate>
</Intersoft:UXGridViewTemplateColumn.CellTemplate>
</Intersoft:UXGridViewTemplateColumn>
...
Radio button showings fine and is clickable, but looks like grouping not working and all radio button can be checked at same time. Is it possible to have radio button standard functionality - so only one can be checked per grid?
Please try to use CheckedState instead of IsChecked property of UXRadioButton. The CheckedState property gets or sets the value that determines the checked state of the control.
I tried to reproduce the reported problem in my local test by adding UXGridViewTemplateColumn and put UXRadioButton as the data template. I’m binding the CheckedState property of UXRadioButton by using following snippet code.
<Intersoft:UXGridViewTemplateColumn Header="Discontinued" Binding="{Binding Discontinued}"> <Intersoft:UXGridViewTemplateColumn.CellTemplate> <DataTemplate> <Intersoft:UXRadioButton CheckedState="{Binding Discontinued}" /> </DataTemplate> </Intersoft:UXGridViewTemplateColumn.CellTemplate> </Intersoft:UXGridViewTemplateColumn>
However, my efforts to replicate the problem were not successful.
I’m willing to advice you further but in order to do so I would need you to elaborate on your specific scenario and possibly provide me with a running simple sample and a step-by-step guide that I can use to observe the problematic behavior.
I’m really sorry for the delay in sending this.
The reported problem has been forwarded to the team for further investigation. I will let you know any news I heard from the team regarding this.
Edited on February 26, 2013 01:25 AMReason: Update Latest Status
The ClientUI development team suspects that this problem may cause by the UXRadioButton. The bug has been forwarded to be investigated further and filed under Bug 1255.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname