Aug 29, 2017, 10:09 AM
[CLOSED] Only display a blank page when clicking on event action in server side code
My development environment:
- Visual Studio Ultimate 2012
- DNN 7.04.1
- Ext.net 4.3
- .NET Framework 4.0
- Browers: FireFox, Chrome last version
If I click on
but click on
=> I only have this problem for DNN 7.04.1 + Ext.net 4.3 but it's ok for DNN 7.04.1 + Ext.net 2.5
Please help! Thanks.
- Visual Studio Ultimate 2012
- DNN 7.04.1
- Ext.net 4.3
- .NET Framework 4.0
- Browers: FireFox, Chrome last version
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="View.ascx.cs" Inherits="VTT_PROMAN_PartnerManagement.View" %>
<%@ Register TagPrefix="ext" Namespace="Ext.Net" Assembly="Ext.Net, Version=4.3.0.0, Culture=neutral, PublicKeyToken=2e12ce3d0176cd87" %>
<ext:ResourceManager runat="server" />
<script runat="server">
protected void Button2_Click(object sender, DirectEventArgs e)
{
this.Window1.Show();
}
</script>
<h1>Simple Ext.NET Window Sample</h1>
<p>The following sample demonstrates how to configure a new Window Component and "show" the Window if closed.</p>
<ext:Button
runat="server"
Text="Button1"
Icon="Application"
OnClientClick="#{Window1}.show();"
/>
<br />
<ext:Button
runat="server"
Text="Button2"
Icon="Application"
OnDirectClick="Button2_Click"
/>
<ext:Window
ID="Window1"
runat="server"
Title="Hello World"
Icon="Application"
Height="185"
Width="350"
BodyStyle="background-color: #fff;"
BodyPadding="5"
Hidden="true"
Modal="true">
<Content>
This is my first <a target="_blank" href="http://ext.net/"> Ext.NET</a> Window.
</Content>
</ext:Window>
If I click on
Button1
(Client Event) -> it workbut click on
Button2
(Server Event)-> only display a blank page.=> I only have this problem for DNN 7.04.1 + Ext.net 4.3 but it's ok for DNN 7.04.1 + Ext.net 2.5
Please help! Thanks.
Last edited by fabricio.murta; Sep 22, 2017 at 10:03 PM.
Reason: double post, no feedback should be required