Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Events in .ascx controls don't fire unless logged on user is administrator?
Previous Previous
 
Next Next
New Post 7/12/2006 7:38 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Events in .ascx controls don't fire unless logged on user is administrator? 
Using 4.3.1.

This problem is driving me nuts!

I have a user control in my own module which has a dropdownlist control. I am using the selectedindexchanged event to assign a value.

I am having the following problem :-

The event doesn't seem to fire unless my logged on user has administrator rights. Obviously the module will be used by people WITHOUT admin rights.

Why is this happening?

Regards

Mike


 
New Post 7/13/2006 4:37 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Re: Events in .ascx controls don't fire unless logged on user is administrator? 
O.K. I have done some testing and I can seem to confirm this is a problem with both 4.3.1 and 4.3.2.

To reproduce :-

1) Create a new module

2) edit the default view control page and strip out the datalist control and associated code and put on a dropdownlist control.

3) Add in a few items to the dropdownlist control and set autopostback=true

4) Create an event handler for the  selectedindexchanged event

5) Put a line of code in there and set a breakpoint on it.

6) Create a new security group, assign it to a user.

7) Create a page and set the newly created security group for view rights.

8) Put the module onto this page.

9) Log in as the user and choose a different item from the dropdownlist control. Nothing happens. The selectedindexchanged event does not fire.

10) Assign 'Administrator' rights to the user.

11) Log back in as the user and try 9) again. Bingo the event fires!


If I do the same on 4.0.3 it works as I expect i.e. the user doesn't need Administrator rights in order for the event to fire.

Can someone confirm that this is a bug or if there is anything I need to change in the web.config file?

I have spent a couple of days trying to find whats wrong. Perhaps this is already a known issue.

Had I known that 4.3.1 was infact a "beta", I wouldn't have upgraded.


Mike
 
New Post 7/13/2006 4:58 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Re: Events in .ascx controls don't fire unless logged on user is administrator? 
I have just noticed that the Manage Users in Role part of DNN on 4.3.1/4.3.2 also shows the same problem.

1) Log in as administrator

2) Go to security roles.

3) Click on the "users" icon of a role.

4) Try and choose a different user from the dropdownlist control.

It doesn't work.

Hoorah! I don't think I'm going mad!


Mike


 
New Post 7/13/2006 6:15 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Re: Events in .ascx controls don't fire unless logged on user is administrator? 
After reading some threads in the chat forum, it would appear that this issue is probably already known.

I am going to downgrade to 4.0.3.

It would have been nice to have read a list of issues with the release candidate. Could have saved me a lot of time.

Mike


 
New Post 8/20/2006 11:10 PM
User is offline Chris McAnally
16 posts
www.ranchviewcs.org
10th Ranked


Re: Events in .ascx controls don't fire unless logged on user is administrator? 

Did you ever figure out a solution to this problem?

 

 Mike Grace wrote
After reading some threads in the chat forum, it would appear that this issue is probably already known.

I am going to downgrade to 4.0.3.

It would have been nice to have read a list of issues with the release candidate. Could have saved me a lot of time.

Mike


 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Events in .ascx controls don't fire unless logged on user is administrator?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP