[CLOSED] Set NavigateURL on HyperLink during a DirectEvent

  1. #1

    [CLOSED] Set NavigateURL on HyperLink during a DirectEvent

    Whenever I change NavigateURL during a directevent, the rendered page always shows "#" as the href. Is there something special that needs to be done?
    Last edited by Daniil; Aug 08, 2011 at 1:26 PM. Reason: [CLOSED]
  2. #2

    Please provide a sample to reproduce.

    Here is my sample which doesn't reproduce the issue.


    <%@ Page Language="C#" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <script runat="server">
        protected void ChangeUrl(object sender, DirectEventArgs e)
            this.HyperLink1.NavigateUrl = "http://rambler.com";
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
        <form runat="server">
            <ext:ResourceManager runat="server" />
                Target="_blank" />
                Text="Change url" 
                OnDirectClick="ChangeUrl" />

Similar Threads

  1. Replies: 5
    Last Post: Mar 19, 2014, 3:35 AM
  2. change HyperLink NavigateUrl by Java Script
    By BLOZZY in forum 1.x Help
    Replies: 2
    Last Post: Aug 09, 2011, 11:32 AM
  3. Replies: 1
    Last Post: Jun 09, 2011, 7:04 PM
  4. [CLOSED] Adding a button directevent in a directevent method
    By ogokgol in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 31, 2011, 10:29 AM
  5. [CLOSED] [1.0] Button and NavigateUrl
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 20, 2011, 10:52 PM

Posting Permissions