populating treeview from a class returning treeview
Hello,
** I have created a class to build and return a treeview.
** On my web page, I have created a 'treeview control' and I want to populate this treeview control from the class that returns the treeview.
** When I debug the application, I see that the class is building the tree perfectly with the nodes and all. The debug watch window shows that the treeview control in the page also gets the data from this 'treeview' returned by the class correctly.
** The problem is the 'TREEVIEW CONTROL' is not displaying anything on the page itself.
eg:
CLASS RETURNING TREEVIEW:
namespace mytree
{
public class buildtree
{
public treeview fill_my_tree()
{
logic written here to fill the tree;
return(mytreeview);
}
}
}
IN MY WEBPAGE:
buildtree tree1= new buildtree();
treeview1 = tree1.fill_my_tree();
PROBLEM: treeview1 in debug mode shows the nodes in the watch window. But, nothing is displayed on the user screen.
Can someone help me? Thanks for your help and time.
FYI: I am developing in c#, VS 2008.
Thanks..
Answers (2)
1 Hi,
The most frequent reasons for an SSL certificate validation to fail are:
- The hostname used in the URL doesn't match the name that's on certificate. Make sure the URL you're using and the URL on the 'Issued to' field of the certificate are the same;
- The certificate expired. Install a valid certificate, or contact the support of the system you're trying to integrate with;
- The Certificate Root Authority that issued the certificate is not trusted by the server. Make sure to Install the Root Certificate on the server;
- The certificate is self-signed. Make sure to Install the certificate as trusted.
Certificate alresdy installed or not?
Accepted 1 Hi Shefali,
This link is helpful to you, is there SSL certificate installed or not
https://technet.microsoft.com/en-us/library/bb124963(v=exchg.65).aspx
0 Hi Nilesh,
I have follow this link "http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/" but not working getting same error.
0 Hi Shefali,
Please gone throw this article
http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/
0 Hi Nilesh, i have check SSL certificate installed or not in my system , its installed, and i have also install new certificate but i dont get where its save how will import it. please suggest me.
Thanks,
0 Hi Shefali
Thank you for @accept my answer
0 Hi Nilesh,
please ,can u explain SSL certificate in detail, how i can check these steps because iam getting exactly check these certification.