G
Goldenrate
Hi,
I'm developing a application using DNN platform. I created a simple NAV
based on LinkButton and populated the NavigateUrl property programmatically.
The problem is that I have to click twice on each link before the event is
fired.
Does anyone has any ideas?
Here is the ASP code:
/********************************************/
<tr>
<td><asp:LinkButton ID="LinkButton1" runat="server"
onclick="LinkButton1_Click">My Inbox</asp:LinkButton></td>
<td><asp:LinkButton ID="LinkButton3" runat="server"
onclick="LinkButton3_Click">My
Notifications</asp:LinkButton></td>
</tr>
/****************************/
Here is the C# code:
/************************************************/
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(57,"","aspm=inbox"));
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(57, "",
"aspm=notifications"));
}
/*******************/
Thanks,
I'm developing a application using DNN platform. I created a simple NAV
based on LinkButton and populated the NavigateUrl property programmatically.
The problem is that I have to click twice on each link before the event is
fired.
Does anyone has any ideas?
Here is the ASP code:
/********************************************/
<tr>
<td><asp:LinkButton ID="LinkButton1" runat="server"
onclick="LinkButton1_Click">My Inbox</asp:LinkButton></td>
<td><asp:LinkButton ID="LinkButton3" runat="server"
onclick="LinkButton3_Click">My
Notifications</asp:LinkButton></td>
</tr>
/****************************/
Here is the C# code:
/************************************************/
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(57,"","aspm=inbox"));
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(57, "",
"aspm=notifications"));
}
/*******************/
Thanks,