Posted on May 18, 2011 (permalink)
Posted on May 19, 2011 (permalink)
protected
void
Button1_Click(
object
sender, EventArgs e)
{
RadTreeNode node = RadTreeView1.FindNodeByText(
"a"
);
Response.Write(node.Attributes[
"CompanyNode"
]);
}
function
getAttribute()
treeView = $find(
"<%= RadTreeView1.ClientID %>"
var
node= treeView.findNodeByText(
)
value= node.get_attributes().getAttribute(
alert(value);
node.Attributes["CompanyNode"]); but i need the scenario like. i clicked on a node and i have that value. clickednode.value. in this case how i can access its attribute where i dont know its attribute name node.Attributes[ attribute name????]); With Regards, Faisal
Posted on May 20, 2011 (permalink)
for
(
i = 0; i < node.get_attributes()._keys.length; i++)
alert(node.get_attributes()._keys[i]);
//returns the attribute name.
Back to Top
UI controls for ASP.NET AJAX, MVC, WPF, Silverlight, Windows Forms and Windows Phone. Visual Studio productivity tools. Reporting and data layer solutions.
HTML5 / JavaScript tools for Web and Mobile applications
Functional, Performance, Load and Mobile Software Testing
CMS, Mobile Web, Ecommerce, Emarketing, Social Media
Project management software inspired by Agile best practices
It seems you haven't bookmarked any pages. Fix that by clicking the button below