Hey
I've created a new module ("AskUs" is the module name) using visual studio 2005 and DotNetNuke Starter Kit.
In ViewAskUs.ascx, I added a Label control and a button. On the click event of the button a method will change the text of the Label control. But it only changes the text if user is Host (I haven't tryed if the user is Admin).:
protected void Button1_Click(object sender, EventArgs e)
{
lblWelcome.Text = "Hello the world";
Debug.WriteLine("TESTING");
}
What am I doing wrong? I want this code to be executed for all users...
PS: Even if being a Host the Debug.WriteLine code in the method wasn't executed (nothing appear in the output window), why?
moonshiner