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

[Solved] AutoPostBack unavailable

3 Answers 290 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
James Moyon
Top achievements
Rank 1
James Moyon asked on 25 Feb 2010, 04:25 AM
I am building a web application in Visual Studio Team System 2008 using VB.NET 3.5 and RadControls for ASP.NET AJAX 2009 3 1314. My web page has a RadTreeView on one side and a number of fields on the other side, these fields being populated from a database when a node is clicked.

I am attempting to provide a similar functionality with RadTreeView when Javascript is disabled.

However, the AutoPostBack property (mentioned in http://www.telerik.com/help/aspnet/treeview/radtreeview-telerik.webcontrols.radtreeview-autopostback.html) is not recognised as a valid property by my RadTreeView, nor does it appear in the Visual Studio Object Browser. Can you assist in this regard?

In addition, would you have any suggestions as to how to cause the nodes to expand and cause the postback when Javascript is disabled?

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 25 Feb 2010, 08:14 AM
Hello James,

The provided link is for RadTreeView for ASP.NET, not RadTreeView for ASP.NET AJAX.  You can use the NodeClick server-side event, it's demonstrated here. The nodes can be expanded by setting their Expanded property to true.

Regards,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
James Moyon
Top achievements
Rank 1
answered on 25 Feb 2010, 10:07 PM
Yana,

Thank you for your prompt reply, and sorry for the confusion.

I have checked out the example you provided. Unfortunately, the RadTreeView still does not generate any events when clicked if Javascript is disabled.

Is there any way I can make the RadTreeView functional to any extent without Javascript? In particular, is it possible to add hyperlinks dynamically to the nodes in this situation?

Thanks.
0
Yana
Telerik team
answered on 26 Feb 2010, 07:44 AM
Hello James,

I'm afraid that RadTreeView cannot work with disabled javascript at all.

Best wishes,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
James Moyon
Top achievements
Rank 1
Answers by
Yana
Telerik team
James Moyon
Top achievements
Rank 1
Share this question
or