Hi All,
I got my problem solved by the ue of 2 fields: say the variable field names as CHK_VW - (a flag field) and ADD_FLG - (name of the radio buttons).Suppose if approve is clicked then store the value as 1 into 2 fields CHK_VW and ADD_FLG and if rejected is clicked store the value as 2 into the 2 fields by checking if the view is User_View. Here is the code:
public void ADD_FLG_Changed(object sender, XmlEventArgs e)
{
XPathNavigator xpath = MainDataSource.CreateNavigator();
string x=e.Site.Value;if (CurrentView.ViewInfo.Name.ToString() == "User_View")
{ e.Site.SelectSingleNode(
"../CHK_VW", NamespaceManager).SetValue(x);
string y = e.Site.SelectSingleNode("../CHK_VW", NamespaceManager).Value;}
}
Then Set a rule for Conditional Formatting (which will be present display tab for radio button properties) in the radio buttons for the Approver_View as:
If CHK_VW isequalto "2" Then Disable the Controls(Radio Buttons).
That's it,,,ur job is done....Thank You