如何将 ASP.net ajax AccordionPane 绑定到 XMLDatasource?
我有一个愤怒的老板,如果我在这上面再浪费一天,他就会打我:-P 许多业力都指向 ajax 大师,他可以解决我的困境。
但更详细的是:我想要一个 AccordionPane,它从 XML 源获取一堆链接并从所述源填充自身。
I've got an angry boss that will beat me down if I waste another day on this :-P Many karma points to the ajax guru who can solve my dilemma.
But more detail: I want to have an AccordionPane that grabs a bunch of links from an XML source and populate itself from said source.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能有更性感的方式,但这行得通。 按照您的意愿填充您的数据源。 这仅用于演示目的。 PrettyTitle() 也是如此,关键是要记住手风琴中有两种项目类型。
隐藏代码是:
There might be a sexier way, but this works. Populate your data source however you wish. This was just for demo purposes. Ditto for PrettyTitle() Key is to remember there are two item types in the accordion.
And codebehind is :