Hi !
I'm trying to use the ASP.NET 2.0 GridView+FormView component inside a DNN module. To be sure, the code works fine in a ASPX page, and I want to port it into a DNN module.
I have a link button within each cell of a gridview that are bound to data items. The <item template> is:
<ItemTemplate>
<asp:LinkButton id="LinkButton1" runat="Server" CommandName="Select"><%#Eval("Task")%></asp:LinkButton>
</ItemTemplate>
where "Task" is the name of the field in the database.
In a stand-alone ASPX page, when the user clicks on the link, the PostBack argument is
"Table1$item19$LinkButton1"; the FormView is able to interpret the select command and show the item's details.
The good news is that the View code works and grid is displayed on my DNN module when inserted on a page.
However, the bad news is that the PostBack argument is now
"dnn$ctr370$View_ModuleName$Table1$item19$LinkButton1" and no action is obtained from the FormView.
Any hint to correct this is welcome !