RadDropDownList is changing automatically. [Resolved]

Posted by Thiru under VB.NET on 3/23/2012 | Points: 10 | Views : 1512 | Status : [Member] | Replies : 1
Hi,

I have two RadDropDownList in a win.form named BranchRadDropDownList and MotherBranchRdDropDownList

if i change any one text -- its automatically changing another RadDropDownList.text

i just loading the same value in both raddropdowlist as:

BranchRadDropDownList.DataSource = mSybergyCommonFun.GLB_DS.Tables("tblBranch")
BranchRadDropDownList.DisplayMember = "Bcde"
MotherBranchRdDropDownList.DataSource = mSybergyCommonFun.GLB_DS.Tables("tblBranch")
MotherBranchRdDropDownList.DisplayMember = "Bcde"


So, both is having the same list but why its changing automatically if i change any one DropDownList -- ?

Expecting your valuable reply please.

regards,
Thiru.




Responses

Posted by: Thiru on: 3/23/2012 [Member] Starter | Points: 25

Up
0
Down

Resolved

I got a Solutions:

BranchRadDropDownList.DataSource = mSybergyCommonFun.GLB_DS.Tables("tblBranch")
BranchRadDropDownList.DisplayMember = "Bcde"

MotherBranchRdDropDownList.BindingContext = New BindingContext
MotherBranchRdDropDownList.DataSource = mSybergyCommonFun.GLB_DS.Tables("tblBranch")
MotherBranchRdDropDownList.DisplayMember = "Bcde"


Regards,
Thiru.

Thiru, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response