Hi. can anyone help me how i manage to build a link in the Archive.ascx that can create a link to insert new blog entry. My problem is that when i put the link down in the calendar and it looks like this and is equal to the code in the file blog.ascx:
Private Sub lnkAddEntry_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
lnkAddEntry.Click
Response.Redirect(EditUrl(
"", "", "", "Edit_Entry"))
End Sub
redirects to an empty page. The problem is the mid!!!
http://localhost/DotNetNuke/Events/tabid/104/ctl/Edit_Entry/mid/527/Default.aspx that is the correct link
and http://localhost/DotNetNuke/Events/tabid/104/ctl/Edit_Entry/mid/529/Default.aspx that is the link i want to create redirecting to the same page to create a new blog entry. How can i Edit_Entry/mid/529/Default.aspx equal to Edit_Entry/mid/527/Default.aspx.
Thanks