This is a migrated thread and some comments may be shown as answers.

confused between

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jaws1021
Top achievements
Rank 1
jaws1021 asked on 24 Jun 2010, 12:15 AM

I am using telerik rad controls.. for example radGrid.. here the two different ways to use this I am seeing and confused between those..

<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>
 <RadG:RadGrid ID="RadGrid1" GridLines="None" runat="server" ></RadG:RadGrid>

OR

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" > </telerik:RadGrid>

For example I know that snerious that working first one just fine but for example for this one I am trying to get this work http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx   with using RadG it is saying for example  RadNumericTextBox is not know element...  If I use telerik one, that time still giving error.. so I am confused ..

1 Answer, 1 is accepted

Sort by
0
Accepted
Vinkel
Top achievements
Rank 1
answered on 24 Jun 2010, 12:39 PM
Ajax Telerik controls are in a single assembly - Telerik.Web.UI.dll. Hence go register it and use the common tag prefix to use all controls.

<telerik:RadControlName ... />

-J
Tags
General Discussions
Asked by
jaws1021
Top achievements
Rank 1
Answers by
Vinkel
Top achievements
Rank 1
Share this question
or