Well guys i am writting my custom module and i am using the data list under data list i have use the
<asp:LinkButton ID="Lable16" OnClick="Lable16_click1" CommandArgument='<%# Eval("recId") %>' Text="Read More.." CssClass="readMore" runat="server"></asp:LinkButton>
and in code behind i use
protected void Lable16_click1(object sender, CommandEventArgs e)
{
Navigate("recId", e.CommandArgument.ToString() , "detailPage");
}
when i execute my code its giving me the following error
Error: Annoucement_Module is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: f:\DotNetNuke_Community_05.05.00_Install\DesktopModules\Annoucement_Module\annoucementListing.ascx(18): error CS0123: No overload for 'Lable16_click1' matches delegate 'System.EventHandler' ---> System.Web.HttpCompileException: f:\DotNetNuke_Community_05.05.00_Install\DesktopModules\Annoucement_Module\annoucementListing.ascx(18): error CS0123: No overload for 'Lable16_click1' matches delegate 'System.EventHandler' at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---
When i change to the function in to
protected void Lable16_click1(object sender, EventArgs e)
{
Navigate("recId", "2" , "detailPage");
}
its working fine
i need to pass the record id with each record how can i get rid of i did not find any clue in internet i hope you guys help me on it
Regards