CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 7/22/2007 11:47:23 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 9 Views: 53 Favorited: 0 Favorite
10 Items, 1 Pages 1 |< << Go >> >|
aliasncnu
Asp.Net User
How to enable IntelliSense of my custom server controls7/22/2007 11:47:23 AM

0/0

Hi,

I have build a server control (a Column within a Grid) that extends from a third-part library, shown as follows:

   public class RequiredGridBoundColumn : Telerik.WebControls.GridBoundColumn
    {
        private bool _isRequiredField = true;

        public bool IsRequiredField {
            get {return _isRequiredField;}
            set {_isRequiredField = value;}
        }    
This class is placed in a App_Code diretory inteasd of a Assembly. 
I found IntelliSense is invalid after register this class in the .aspx so I must remember properties inherited from base class as well as the one defined in RequiredGridBoundColumn.
What further steps do I need to take to let VS enable IntelliSense of my custom server control?
 
Thanks  a million.
Ricky.
albertpascual
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/22/2007 7:20:58 PM

0/0

You should create a unique library (dll) for those controls, so you can drag and drop to the toolbox


Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
aliasncnu
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/23/2007 12:36:13 AM

0/0

Hi, this server control is within its parent control, Grid.

It is not be added into toolbox in the thirty party library.

Currently I manually insert the markup as follows:

                <radG:RadGrid ID="RadGrid1" >

                <itcacUI:RadGridBoundColumn DataField="CGROUP_RATIO" DataType="System.Double" HeaderText="??????"SortExpression="CGROUP_RATIO" UniqueName="CGROUP_RATIO" IsRequiredField="True" EnableRangeValidation="True" MinValue="0" MaxValue="100" InputType="Integer">
                </itcacUI:RadGridBoundColumn>

                </radG:RadGrid>

So if I put it into a Assembly, and register this Assembly in the .aspx, the IntelliSense will automatically be enabled?

Thanks,

Ricky.

albertpascual
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/23/2007 1:33:33 AM

0/0

Yes, that's the easiest way, you can do it using the App_Code as you were doing it, but there are more steps to follow, the easiest way is just wrap your Telerik controls inside your own WebControls dll and you got it made.


Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
aliasncnu
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/23/2007 1:43:05 AM

0/0

Thanks, I'll try!

Ricky.

albertpascual
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/23/2007 2:59:07 AM

0/0

Let me know how it goes.


Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
aliasncnu
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/24/2007 12:56:03 AM

0/0

Hi, Albert.

I try to implement your suggestion (this is my first time to create a library). But I think of a further question.

Scenario:

My custom control extends Telerik's built-in control so I must reference it, say Telerik.dll, but I do not install Telerik.dll as a Global Assembly. Hence, I would reference it somewhere in my file system.

My custom control is intended to be used in a web site, so the assembly containing it should be put into bin directiory in which Telerik.dll redise as well.

Question:

How I specify my assembly to reference the Telerik.dll in the bin directory of the web site?

Thanks a million.

Ricky.

albertpascual
Asp.Net User
Re: How to enable IntelliSense of my custom server controls7/26/2007 2:25:00 AM

0/0

Ricky,

Sorry for the delay. The telerik controls can be install in the GAC or in the bin directory. When creating a library use reference the assembly and they'll be come dependent, so everytime you reference you library, will copy the dll or reference from the GAC, when publish will copy those.

You should removed them from the GAC so you can handle them better


Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
aliasncnu
Asp.Net User
Re: How to enable IntelliSense of my custom server controls8/2/2007 2:29:51 PM

0/0

Hi, Albert.

I'll come back to resolve this issue recently.

Thanks again for your kindly reply. If I make further advance, I'll tell you.

Ricky.

aliasncnu
Asp.Net User
Re: How to enable IntelliSense of my custom server controls8/5/2007 4:31:05 AM

0/0

As you said, the intellisense works, if my custom controls are made up as Library rather than just placing within App_Code.

Thanks a million.

BTW: I find that original properties of Telerik controls I extends become invisible on VS designer, how do I make them visible? (Properties appended by me are categorized as Misc)

Regards,

Ricky.

10 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
RibbonX: Customizing the Office 2007 Ribbon Authors: Robert Martin, Ken Puls, Teresa Hennig, Pages: 696, Published: 2007

Web:
How to enable IntelliSense of my custom server controls - ASP.NET ... What further steps do I need to take to let VS enable IntelliSense of my custom server control? Thanks a million. ...
Walkthrough: Developing and Using a Custom Server Control In some visual designers such as Visual Studio 2005, a custom control also has IntelliSense support without any work on your part. Creating the Server ...
CodeProject: Using WTL with Intellisense. Free source code and ... ListCtrl - A WTL list control with Windows Vista style item selection ... Try this simple workaround to enable IntelliSense for all headers: ...
TheMSsForum.com >> Asp >> Problem with Intellisense in VWD 2008 ... I would like to use the same approach..for my custom sorting...to avoid re ... when using the PassWord recvovery server control do we need to set the ...
intellisense in html view - ASP.NET Forums NET » Custom Server Controls » intellisense in html view ... I have used is pretty straight forward, I don't know what would enable/disable intellisense? ...
15 Seconds : Creating a Server Control for JavaScript Testing NET, I came to the conclusion that a custom server control would be the .... See my included source code for a complete source file of the server control. ...
Safari Books Online - 0596008473 - Visual Studio Hacks Customizing Visual Studio > Enable IntelliSense for HTML and XML Documents ... configuration files or want to add IntelliSense to your custom controls, ...
Dr. Dotnetsky's Cool .NET Tips & Tricks #16 NET Server Controls (Wrox) fame, has a very interesting post on his blog about the ... Web Forms page to enable intellisense support for Mobile controls. ...
How to create a custom theme in Visual studio 2005???? - Community ... I would like to write my own custom theme. I have read Ben Tieds intro to Chameleon. ... How to get the intellisense in visual studio 2005. ...
Adding Design Time Support to ASP.NET Controls You do not need to do anything to enable IntelliSense in a code-behind class ... Part of the challenge of providing design-time support for custom server ...




Search This Site:










why do we often use sql authentication to connect to sql server?

how to search datas from membership(aspnet_profile table)

salt + hash w/o ssl...js hashing?

user login name

force fully login after logout -help

event order for authentication

forms authentication across pages

runtime error

preventing multiple users use the same account

mixing windows security and forms security asp.net 2.0

connecting to a remote sql server from web server

specifying connection string independent of root directory

encryption/decryption password using md5

can't seem to create a user

page.user.identity

problem with loginview

duration of "remember me" cookie set by asp:login control

creating user, prevent login, simple but confusing

how to redirect depending on role

problem using cursorlocation for recordset

formsauthentication question?

create user wizard, previous button not visible?

iprincipal to read other user's role?

can we get client's ip address at server side.....?

being asked to login when ms word document accessed

calling user control causes logout on page refresh

logout programatically

user.indentity.name reports previous account name for renamed ad user

encryption & decryption functions

asp.net 2.0 login form problem

  Privacy | Contact Us
All Times Are GMT