超链接navigatorurl与eval和导航窗口的高度和宽度 [英] Hyperlink navigatorurl with eval and Height and width of navigated window

查看:89
本文介绍了超链接navigatorurl与eval和导航窗口的高度和宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



带有eval的Navigatorurl很简单。它工作正常。但我也想要这个url参数,如高度,宽度,可调整大小等。请给我一些示例。

Hi,
Navigatorurl with eval Is easy.It works correctly.but I also want Parameters like Height,width,resizable etc.with this url.Please Give me some Example for this.

推荐答案


带有导航网址
你不能设置宽度,高度,可调整大小等。这些都是弹出窗口的所有属性。我建议你去客户点击超链接的事件,并从数据绑定事件中添加客户端点击属性。

Hi,
with "Navigate URL" you cannot set Width, Height, resizable etc. these are all properties of popup window. i would suggest you to go for "Client click" event of the hyperlink and add the client click attribute from databound event.
hyperlink.Attributes.Add("onclick","window.open('www.abc.com','height:100px,width:100px,');");



更多关于window.open是此处 [ ^ ]



希望它有所帮助。


more on window.open is Here[^]

hope it helps.


这篇关于超链接navigatorurl与eval和导航窗口的高度和宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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