日历控制 - 如何获取当天的超链接 [英] Calender control - how to get the day hyperlink

查看:47
本文介绍了日历控制 - 如何获取当天的超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gang,使用dayrender事件我想将显示当天的超链接转换为链接按钮或某种类型的aspx控件,我可以在其中应用一些自定义的javascript。对于我的生活,我无法弄清楚如何做到这一点。演员,CType,DirectCast不工作​​。该控件将其自身呈现为< a href>< / a>文字控制。关于方法的任何提示?

Gang, using the dayrender event I''d like to cast the hyperlink that displays the day to a linkbutton or some type of aspx control to where I can apply some custom javascript to it. For the life of me I can''t figure out how to do this. Cast, CType, DirectCast don''t work. The control renders itself as a <a href></a> literal control . Any tips on an approach?

推荐答案

您可以发布您尝试过的代码以及任何错误消息吗?
Can you post the code you''ve tried along with any error messages?


我现在不在我的机器上,但代码示例类似于
I''m not at my machine now but a code example is something like
展开 | 选择 | Wrap | 行号


在该行上放置一个断点并找出LinkBut​​ton控件存在的索引?


-Frinny
Place a break point on that line and find out which index the LinkButton control exists?



-Frinny


这篇关于日历控制 - 如何获取当天的超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆