Home All Groups Group Topic Archive Search About

Render TreeViewControls in .net 2003

Author
19 Jul 2005 2:36 PM
kk
hi,

I want to create treeview control in .net 2003 in my webcontol library
project. I can use System.Windows.Forms.TreeView , but i cannot able to
add my treeview control in aspx page. Is there any other solution to
create treeview control in asp.net 2003 and add in my aspx page.

I cannot do
System.Windows.Forms TreeView tr = new System.Windows.Forms TreeView
Control.add(tr) in my aspx page...

I have tried also using render method to render my treeview control as
follow:

private override RenderWebpart(HtmlTextWriter output)
{
tr.RenderControl(output);
}

I cannot succeed using above two methods.
Please help me how to create and add TreeViewControl in .net 2003 in
aspx page.


Regards,
Karthik.k
karth***@gsdindia.com

Author
19 Jul 2005 7:28 PM
bsg92056
you will need to place a directory in the root of you website here is the
name of the dir webctrl_client
google the dir above the results will explain why it is needed and how to
obtain it


Show quoteHide quote
"kk" wrote:

> hi,
>
> I want to create treeview control in .net 2003 in my webcontol library
> project. I can use System.Windows.Forms.TreeView , but i cannot able to
> add my treeview control in aspx page. Is there any other solution to
> create treeview control in asp.net 2003 and add in my aspx page.
>
> I cannot do
> System.Windows.Forms TreeView tr = new System.Windows.Forms TreeView
> Control.add(tr) in my aspx page...
>
> I have tried also using render method to render my treeview control as
> follow:
>
> private override RenderWebpart(HtmlTextWriter output)
> {
> tr.RenderControl(output);
> }
>
> I cannot succeed using above two methods.
> Please help me how to create and add TreeViewControl in .net 2003 in
> aspx page.
>
>
> Regards,
> Karthik.k
> karth***@gsdindia.com
>
>
Author
21 Jul 2005 9:50 AM
kk
hi,

thanks for your reply.
I download IE WebControls and installed it.
But i can't see Microsoft.Web.UI.WebControls.dll in GAC.


I tried to add by using
C:\windows\microsoft.net\framework\v1.1.4322>gacutil.exe -i
"path\Microsoft.Web.UI.WebControls.dll"

But it asks for strong name.
I think we can't add this dll manually.....it should be added
automatically.
What may be the fault.........?

Is there any way to rectify this....

Any Help...

Regards,

KARTHICK.K
kart***@gsdinda.com
Author
10 Aug 2005 11:38 AM
Mrs. Conni Drejer
hi,

I have the exact same problem - maybe you have found a solution since? If
that's the case, I would be gratefull to hear the answer from you.

Conni Drejer
c*@shape-it.dk

Show quoteHide quote
"kk" wrote:

> hi,
>
> thanks for your reply.
> I download IE WebControls and installed it.
> But i can't see Microsoft.Web.UI.WebControls.dll in GAC.
>
>
> I tried to add by using
> C:\windows\microsoft.net\framework\v1.1.4322>gacutil.exe -i
> "path\Microsoft.Web.UI.WebControls.dll"
>
> But it asks for strong name.
> I think we can't add this dll manually.....it should be added
> automatically.
> What may be the fault.........?
>
> Is there any way to rectify this....
>
> Any Help...
>
> Regards,
>
> KARTHICK.K
> kart***@gsdinda.com
>
>
Author
18 Aug 2005 1:48 PM
kk
hi,

I install new exe file iewebcontrols.msi downloaded from the following
link.

http://www.microsoft.com/downloads/details.aspx?FamilyID=FAC6350C-8AD6-4BCA-8860-8A6AE3F64448&displaylang=en

Install as per the instructions in README.TXT.

It will register everything including dll and all.

But I was not able to get tree structure...The nodes are displayed
horizontally...If its working for you reply me...

Regards

KARTHICK.K