jqtransformplugin和asp.net更新面板 [英] jqtransformplugin and asp.net update panel

查看:51
本文介绍了jqtransformplugin和asp.net更新面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,我尝试如下。

Sir i try like below.

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<link rel="stylesheet" href="jqtransformplugin/jqtransform.css" type="text/css" media="all" />
<script type="text/javascript" src="js/jquery.js" ></script>
<script type="text/javascript" src="jqtransformplugin/jquery.jqtransform.js" ></script>
<script language="javascript" type="text/javascript">
    $(function () {
        $('form').jqTransform({ imgPath: 'jqtransformplugin/img/' });
    });
</script>
<style type="text/css">
body{
font-family: Arial;
}
form{clear:both;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
     <div class="formstyle">
    <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>



按钮点击我有一个消息。框:


at button click i have one msg. box:

ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Data Save Successfully');", true);



请帮我找一个方法,点击按钮之前和之后我得到效果,还有信息框显示。


please help me to find out a way that before and after click button i get the effect and also msg box display.

推荐答案

function (){


' < span class =code-string> form')。jqTransform({imgPath:' jqtransformplugin / img /'});
});
< / script >
< style type = text / css >
body {
font-family Arial;
}
表格 { clear both; }
< / style >
< / asp:内容 >
< asp:内容 ID = Content2 ContentPlaceHolderID = 主要内容 Runat = 服务器 >
< asp:ScriptManager ID = ScriptManager1 runat = server >
< / asp:ScriptManager >
< asp:UpdatePanel ID = UpdatePanel1 runat = server >
< ; ContentTemplate >
< div class = formstyle < span class =code-keyword>>
< asp:Button ID = Button1 runat = server Text = 按钮 < span class =code-attribute> onclick = Button1_Click / >
< / div >
< / ContentTemplate >
< / asp:UpdatePanel >
< / asp:Content >
('form').jqTransform({ imgPath: 'jqtransformplugin/img/' }); }); </script> <style type="text/css"> body{ font-family: Arial; } form{clear:both;} </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <div class="formstyle"> <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" /> </div> </ContentTemplate> </asp:UpdatePanel> </asp:Content>



按钮点击我有一个消息。框:


at button click i have one msg. box:

ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Data Save Successfully');", true);



请帮我找一个方法,点击按钮之前和之后我得到了效果,还有信息框显示。


please help me to find out a way that before and after click button i get the effect and also msg box display.


这篇关于jqtransformplugin和asp.net更新面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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