views:

47

answers:

2

I make a asp.net usercontrol. its name is ucTreeview. in my page it named: uc1:ucTreeview How can i rename uc1?

+2  A: 

When you register the control you're declaring prefix using <%@ Register ...

http://www.15seconds.com/Issue/020319.htm

Faruz
+1  A: 

You need to use the assembly:TagPrefixAttribute This page on MSDN is a concise example of how to do that.

Matt Greer