wijmo控件不起作用我使用jquery [英] wijmo control is not working i use jquery

查看:65
本文介绍了wijmo控件不起作用我使用jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





i使用的jquery如下:



aspx页面:



i used jquery follows:

aspx page:

<head>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <!-- THIS IS FOR SLIDE SHOW-->
<script type="text/javascript" src="http://cdn.jsdelivr.net/jcarousel/0.2.8/jquery.jcarousel.min.js"></script>
<link href="http://cdn.jsdelivr.net/jcarousel/0.2.8/skins/tango/skin.css" rel="Stylesheet" />
<script type="text/javascript">
$(function () {
$('#mycarousel').jcarousel();
});
</script>

</head>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<ul id="mycarousel" class="jcarousel-skin-tango">
<asp:Repeater ID="rptImages" runat="server">
<ItemTemplate>
<li>
<!-- <img alt="" style='height: 75px; width: 75px' src='<%# Eval("ImageUrl") %>' /></li>-->
<asp:ImageButton ID="chr" Height="75px" Width="75px" runat="server" ImageUrl='<%# Eval("ImageUrl") %>' /></li>
</ItemTemplate>
</asp:Repeater>
</ul>

</asp:Content>



我使用了wijmo gridview控件。



一切正常。



T.他的问题是:



如果我使用jquey进行上面提到的幻灯片放映,wijmo gridview无效或显示它的详细信息。我删除了jquery幻灯片放映的东西,wijmo gridview控件工作正常。那么,如何解决这个问题。我需要使用两者都应该工作。请帮忙。


and i have used wijmo gridview control.

everything works fine.

THE PROBLEM IS:

if i use jquey for slide show which i mentioned above, the wijmo gridview is not working or showing it' details. i remove the jquery slide show stuff, the wijmo gridview control works fine. so, how to solve that problem. i needed to use both should work. pls help out.

推荐答案

(function(){
(function () {


('#mycarousel')。jcarousel();
});
< / script >

< / head >

< asp:Content < span class =code-attribute> ID = BodyContent runat = server ContentPlaceHolderID = 主要内容 >
< ul id = mycarousel class = jcarousel-skin-tango >
< asp:Repeater ID = rptImages runat = server >
< ItemTemplate >
< li >
<! - < span class =code-comment>< img alt =style ='height:75px; width:75px'src ='<%#Eval(ImageUrl)%>' />< / li> - >
< asp:ImageButton ID = chr 高度 = 75px 宽度 = 75px runat = < span class =code-keyword> server ImageUrl =' <% #Eval( ImageUrl%> ' / > < / li >
< / ItemTemplate >
< / asp:Repeater >
< span class =code-keyword>< / ul >

< / asp:内容 > ;
('#mycarousel').jcarousel(); }); </script> </head> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <ul id="mycarousel" class="jcarousel-skin-tango"> <asp:Repeater ID="rptImages" runat="server"> <ItemTemplate> <li> <!-- <img alt="" style='height: 75px; width: 75px' src='<%# Eval("ImageUrl") %>' /></li>--> <asp:ImageButton ID="chr" Height="75px" Width="75px" runat="server" ImageUrl='<%# Eval("ImageUrl") %>' /></li> </ItemTemplate> </asp:Repeater> </ul> </asp:Content>



我使用了wijmo gridview控件。



一切正常。



T.他的问题是:



如果我使用jquey进行上面提到的幻灯片放映,wijmo gridview无效或显示它的详细信息。我删除了jquery幻灯片放映的东西,wijmo gridview控件工作正常。那么,如何解决这个问题。我需要使用两者都应该工作。请帮忙。


and i have used wijmo gridview control.

everything works fine.

THE PROBLEM IS:

if i use jquey for slide show which i mentioned above, the wijmo gridview is not working or showing it' details. i remove the jquery slide show stuff, the wijmo gridview control works fine. so, how to solve that problem. i needed to use both should work. pls help out.


我得到了解决方案。实际上我把这个脚本放在母版页中:



< script type =" text / javascript" src =" Scripts / jquery.elevateZoom-3.0.3.min.js">< / script>



但是我在另一个webform中使用了图像缩放。所以我只是从母版页中删除上面的脚本并将其粘贴到所需的webform中。现在工作正常。





谢谢。
i got the solution for that. actually i put this script in master page:

<script type="text/javascript" src="Scripts/jquery.elevateZoom-3.0.3.min.js"></script>

but i used image zooming in another webform. so just i remove the above script from master page and paste it into required webform . now works fine.


thank you.


这篇关于wijmo控件不起作用我使用jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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