Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0asp:imagebutton does not fire event Clickasp:imagebutton does not fire event Click
Previous
 
Next
New Post
10/18/2006 2:49 AM
 

Hi,

I'm a newbie, currently i'm trying to create a simple module. The problem is the asp:imagebutton does not fire event Click. it is however fire Load event. I've also changed it to asp:Button. still it doesn't fire Click event. Below is the ascx code:

----------------------------------------------------------------

<%@ Register TagPrefix="dnn" TagName="Label" src="~/controls/LabelControl.ascx" %>
<%@ Control language="vb" Inherits="YourCompany.Modules.OrderHistory.ViewOrderHistory" CodeFile="ViewOrderHistory.ascx.vb" AutoEventWireup="false" Explicit="True" %>
<table border="0" width="100%">
    <tr align="center">
       <td class=Normal align=center width="*">
         <asp:label id="lblSearch" cssclass="SubHead" resourcekey="Search" runat="server">Search:</asp:label>
         <asp:textbox id=txtSearch Runat="server"></asp:textbox>
         <asp:dropdownlist id=ddlSearchType Runat="server" />
         <asp:ImageButton ID="btnSearchOrder" runat="server" ImageUrl="~/images/icon_search_16px.gif" /></td>
 </tr></table>

----------------------------------------------------------
<%@ Register TagPrefix="dnn" TagName="Label" src="~/controls/LabelControl.ascx" %>below is the vb code:

<%@ Control language="vb" Inherits="YourCompany.Modules.OrderHistory.ViewOrderHistory"         Protected Sub btnSearchOrder_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnSearchOrder.Click
            BindData(txtSearch.Text, ddlSearchType.SelectedItem.Value)
        End Sub

Is there anyone who can help me to solve this problem??

/Dita











Search:






 
New Post
10/18/2006 1:13 PM
 

Check your cache settings for both the page and module.

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0asp:imagebutton does not fire event Clickasp:imagebutton does not fire event Click


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out