<telerik:RadGrid ID="rgRequirements" runat="server" Width="100px" CellSpacing="0" GridLines="None" EnableEmbeddedSkins="True" Skin="Black" > <MasterTableView AutoGenerateColumns="False"> <NoRecordsTemplate> <asp:Label ID="nocourses" runat="server" Font-Size="16px" Text="No courses are currently selected for this organization."></asp:Label> </NoRecordsTemplate> <Columns> <telerik:GridTemplateColumn HeaderStyle-HorizontalAlign="Center" ><!-- Some Column Definition --> </telerik:GridTemplateColumn> </Columns> </MasterTableView> </telerik:RadGrid>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then ' Some code omitted. fill_requirements() end if End SubSub fill_requirements() Dim dt As DataTable = New DataTable dt = ThisMethodReallyReturnsData() Me.rgRequirements.DataSource = dt 'Grouping declared here Me.rgRequirements.GroupingEnabled = True Dim groupExpression As GridGroupByExpression = GridGroupByExpression.Parse("Module Group By Module") Me.rgRequirements.MasterTableView.GroupByExpressions.Add(groupExpression) Me.rgRequirements.DataBind() End Sub Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load'No related code End Sub Protected Sub rgRequirements_NeedDataSource(ByVal source As System.Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) LoadGrid() End Sub Protected Sub LoadGrid() ' dtRequirements is a global variable dtRequirements = MethodThatHasDataAsWell() Me.rgRequirements.DataSource = dtRequirements Me.rgRequirements.GroupingEnabled = True Dim groupExpression As GridGroupByExpression = GridGroupByExpression.Parse("Module Group By Module") Me.rgRequirements.MasterTableView.GroupByExpressions.Add(groupExpression) End SubUnhandled exception at line 6, column 74203 in http://localhost:30710/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ContentContent_rsmTrainingRequirements_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:c9cbdec3-c810-4e87-846c-fb25a7c08002:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2013.2.611.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:8a277cf4-155d-4ba9-b3c0-d6f62646e5f2:16e4e7cd:ed16cbdc:f7645509:583660290x800a138f - Microsoft JScript runtime error: 'undefined' is null or not an objecthttp://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx
I am able to produce the drag and drop feature perfectly. However when
I place that same RadTreeView inside of a multipage, the radtreeview
becomes disabled and then I am unable to do anything with this. The
placement of the code is the only thing that changes.
I'm hoping someone has seen this before. My assumption is there is something with the RadPageView that causes the javascript not to find the RadTree. Anybody experiences this before?
var gridId = "<%= My_RadTreeView.ClientID %>";
my guess is the gridId can no longer be found? Any help is welcomed!
I have verified that all the code is placed inside of a RadScriptBlock so if anybody has the answer i'm open!
<Telerik:RadNumericTextBox ID="txtQtyShp" runat="server" DataType="System.Int" DbValue='<%# Bind("qtyshp") %>'></telerik:RadNumericTextBox>
<asp:RegularExpressionValidator ID="vldQtyShp" runat="server" Display="Dynamic"
ErrorMessage="Please enter valid number." ValidationExpression="^\d+(\.[5])?$"
ControlToValidate="txtQtyShp">
</asp:RegularExpressionValidator>
Thanks,
Tom Usselman
ErrorMessage="Please enter valid number." ValidationExpression="^\d+(\.[5])?$"
ControlToValidate="txtQtyShp">
</asp:RegularExpressionValidator>
A | B | C | D
-------------1 | 2 | 3 | 45 | 6 | 7 | 89 | A | B | CA-B | C | D-----------1-2 | 3 | 45-6 | 7 | 89-A | B | C