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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  What is doPostBack
Previous Previous
 
Next Next
New Post 7/19/2008 1:42 AM
User is offline crowland
30 posts
10th Ranked


What is doPostBack 

If I remove the following using PageBlaster to replace this with "". will I still be able to access and use my admin account to change content on the website, or will this hose me? None of my pages use this outside of when I am in admin mode, and actually I don't even know if it used there... What is this for?

<script type="text/javascript">//<![CDATA[var theform = document.forms['form'];if (!theform) {    theform = document.form;}function __doPostBack(eventTarget, eventArgument) {    if (!theform.onsubmit || (theform.onsubmit() != false)) {        theform.__EVENTTARGET.value = eventTarget;        theform.__EVENTARGUMENT.value = eventArgument;        theform.submit();    }}//]]></script>

 
New Post 7/19/2008 8:52 AM
User is offline Brandon Haynes
703 posts
brandonhaynes.org
7th Ranked


Re: What is doPostBack 

Hi Crowland,

_doPostBack is the generic ASP.NET generated javascript function to perform a postback.  Although this would (obviously) be heavily used in a DNN administrator context, there will also be places where the function will be called as an ordinary user (paging through a UDT, for example).

I believe you'll be quite sorry if you remove it.  Proceed with caution!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post 7/19/2008 12:14 PM
User is offline crowland
30 posts
10th Ranked


Re: What is doPostBack 

Ok. It would be nice if DNN could just automatically remove anything not being used on the live site when compiling the pages. Seems like there is quite a bit of overhead when you are running live that you only need in admin mode. Of course I know some sites actually use all this stuff...

Thanks!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  What is doPostBack
 


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.

 


WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz
Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca
Icthus Technologies
Building Faith on the Internet
www.icthustech.com

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