on 08-24-2007 7:55 AM
HI all,
I am using tree control of SAP PDK .Net.
I need to add icon to tree node.
Can any one has idea how to add ?
Any help appreciated?
Sunil Pawar
Hi Sunil,
please have a look at the following classes and properties
It mentions the IconSource Porperty (with get and set methods)
Tree Node Class:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/SAP.Web~SAP.Web.UI.Controls.TreeNode_properties.html
AbsractTreeNode Property :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/SAP.WebSAP.Web.UI.Controls.AbstractTreeNodeTypeIconSource.htm
with respect,
amitl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sunil,
Please note the differences between programming in EP and in a regular ASP.NET application
IconSource :Determines the URL where this icon gets its data
as the portal application resides in EP and not in regular ASP.NET
you would need to give relative URL's from within the PCD :
eg :
ROLES://pcd/myfolder/myimage.jpg
if you host your images in an externat IIS / web server you could use
http://myintranet.myfirm.com/myportalapps/images/mytreeicon.jpg
with respect,
amit
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.