Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/260.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何在Telerik中创建一个简单的弹出窗口?_C#_Asp.net_Telerik - Fatal编程技术网

C# 如何在Telerik中创建一个简单的弹出窗口?

C# 如何在Telerik中创建一个简单的弹出窗口?,c#,asp.net,telerik,C#,Asp.net,Telerik,如何在Telerik中创建一个简单的弹出窗口 aspx中的C#代码是什么: =========== <telerik:RadWindow ID="modalPopup" runat="server" Width="360px" Height="360px"> <ContentTemplate> <div style="padding: 10px; text-align: center;">

如何在Telerik中创建一个简单的弹出窗口

aspx中的C#代码是什么:

===========

 <telerik:RadWindow ID="modalPopup" runat="server" Width="360px" Height="360px">

           <ContentTemplate>

                <div style="padding: 10px; text-align: center;">

                     <telerik:RadButton ID="rbToggleModality" Text="Toggle modality" OnClientClicked="togglePopupModality"

                          AutoPostBack="false" runat="server" Height="65px" />

                </div>

                <p style="text-align: center;">

                     The format of the dates are incorrect.  Please use two digit month and

                     a four digit year for proper formatting.

                </p>

           </ContentTemplate>

  </telerik:RadWindow>

日期的格式不正确。请使用两位数的月份和月份 四位数的年份,用于正确的格式设置。

使用jquery尝试telerik弹出窗口

<asp:Button ID="Button3" Text="open the window" runat="server"    
OnClientClick="openWinContentTemplate(); return false;" />

<script type="text/javascript">
                function openWinContentTemplate() {
                    $find("modalPopup").show();
                }
</script>

函数openWinContentTemplate(){
$find(“modalPopup”).show();
}

您正在寻找类似的产品吗?
<asp:Button ID="Button3" Text="open the window" runat="server"    
OnClientClick="openWinContentTemplate(); return false;" />

<script type="text/javascript">
                function openWinContentTemplate() {
                    $find("modalPopup").show();
                }
</script>