I am creating a module that has a GridView control in it. Within the GridView control I have a hyperlink field that when clicked will navigate to another .ascx control in my project.
I can hard code the link like this and it works but will break when I move to production:
DataNavigateUrlFormatString="~/tabid/54/ctl/UserDetail/mid/371/Default.aspx?LoginID={0}
I am able to get a button click to work with this syntax:
Response.Redirect(Globals.NavigateURL(PortalSettings.ActiveTab.TabID,
"UserDetail", "mid=" & CStr(ModuleId)))
Ideally what I want to do is put this syntax within the GridView controls DataNavigateUrlFormatString property.
Any Suggestions?
"UserDetail", "mid=" & CStr(ModuleId)))
Response.Redirect(Globals.NavigateURL(PortalSettings.ActiveTab.TabID,