|
Forums » .NET » ASP.NET »
|
Problem with data binding to ttree view |
Posted Date: 20 Jun 2012 Posted By:: Kishan Varma Member Level: Gold Member Rank: 2107 Points: 3
Responses:
5
|
Hi,
We are facing a problem while binding data to Tree view. In our form we have two drop downs from which selection of users is done and the data is displayed in a tree view on a pop up, it is working fine for all the users but for one user we are unable to bind the data. No error is being showed. can anyone say what could be the problem
Regards, Kishan Varma
"You are never a loser until you quit trying"
|
Responses
|
#676482 Author: Devaraj T N Member Level: Gold Member Rank: 18 Date: 20/Jun/2012 Rating:  Points: 2 | Check that selectedvalue of dropdownlistlist value for that user is correct and check wheather primary and foreign key of the user is correct in the database. It will be a small mistake but cost more time. Debug your code step by step and analyse, you can find the problem easily.
Regards, Devaraj T.N
Regards, T.N. THEAAVARAAJ Senior Software Engineer, Microsoft Certified Technology Specialist. Email:devabe2005@gmail.com
| #676485 Author: Pawan Awasthi Member Level: Diamond Member Rank: 4 Date: 20/Jun/2012 Rating:  Points: 2 | Hi Kishan, You have not given that what kind of error you are getting while binding with the specific user. There could be issue with the id for the user and accordingly the data is not getting binded with the tree view for that user. So you need to debug in the selection index changed event handler for your dropdown list so that you can find out. Else send the code so that we can check and provide you the resolution of the issue. Hope it will be helpful to you.
Regards, Pawan Awasthi(DNS MVM) +91 8143683708 (pawansoftit@gmail.com) Outstanding Contribution Award..NTT Data Inc
| #676494 Author: Rajalingam Member Level: Silver Member Rank: 619 Date: 20/Jun/2012 Rating:  Points: 2 | Hi kishan,
you debug your code(dataset) before bind the drop down to particular user. Check whether your dataset have value or empty before bind drop down
| #676541 Author: Asheej T K Member Level: Diamond Member Rank: 2 Date: 21/Jun/2012 Rating:  Points: 2 | Hi, If it is for one user then most probably issue is with security. Did you try to ask the user to check his access from other systems?
Regards, Asheej T K Microsoft MVP[ASP.NET/IIS] DotNetSpider MVM
Dotnet Galaxy
| #677901 Author: AnnieCalvert Member Level: Bronze Member Rank: 3297 Date: 28/Jun/2012 Rating:  Points: 2 | Do Data binding without hierarchy creation.It is the easiest method of binding.In this process Data is added to container that implements I List or I Binding List interface. http://www.dapfor.com/en/net-suite/net-grid/tutorial/data-binding
|
|
| Post Reply |
|
|
|
 | | This thread is locked for new responses. Please post your comments and questions as a separate thread. If required, refer to the URL of this page in your new post. |
|
|
|
|
 Follow us on Twitter: https://twitter.com/dotnetspider
|
|