Last post Jan 04, 2006 07:20 AM by thecrispy1
Jan 03, 2006 06:56 AM|mike_1103|LINK
Ok this will be a total newbie question but I thought that I would post here to see if I can get an answer. I am using the templates for DNN 4.0 and have added a new module template and have been able to play around with it. I have added a link button to
the defualt datalist that is used in the templates. I have given the link button a command name (Hold) and want to update the item next to the button to change it's status. I am pretty happy that I know the code to do this. The only issue that I have is how
do I capture the ItemID next to the button? I need to pass this to the code. Do I do this in the HTML or in the
Sub lstModule_ItemCommand code?
If anyone could help or needs some more info to answer my question please let me know. Thanks in advance for any assistance.
Jan 04, 2006 07:20 AM|thecrispy1|LINK
Mike, I am not exactly sure what you are asking. If it is a list item you, like it seems, you need to name an action and pass command arguements, then in the code grab those arguements. Check out the Forum module (core) and see the Forum_ManageForum.ascx
and its .vb file.