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  
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Tab Strip Control - register a postbackevent
Previous Previous
 
Next Next
New Post 6/9/2007 11:52 PM
User is offline Christos Christodoulou
17 posts
10th Ranked


Tab Strip Control - register a postbackevent 

Hello,

I'm using the tab strip control, and i want to find out how i can fire a postback by registering it before loading the tab.

I tried these lines of code to register a postbackevent

line 1: dim deleg as New DotNetNuke.UI.Utilities.ClientAPIPostBackControl.PostBackEvent(AddressOf Dummy_Function)
line 2: DotNetNuke.UI.Utilities.ClientAPI.RegisterPostBackEventHandler(dummy_Control, "dummy", deleg, False)

But i get this error: "Object reference not set to an instance of an object."

with stack trace: at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Page objPage, String strVar, String strValue, Boolean blnOverwrite) at DotNetNuke.UI.Utilities.ClientAPI.RegisterPostBackEventHandler(Control objParent, String strEventName, PostBackEvent objDelegate, Boolean blnMultipleHandlers) at Dummyform.Dummy_Tab_SetupDefaults()

I'm really new to this, if someone can point to me to the right direction i would appreciate it

Thanks in advance

 
New Post 6/11/2007 11:34 AM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: Tab Strip Control - register a postbackevent 

I am confused as to what you are trying to solve.   It sounds like you want a callback to occur, before a tab loads.  Are you using the DNN TabStrip or another control.  If DNNTabstrip, what rendering mode are you using?  If I had to take a guess at your error, I'd say you are calling the registerpostbackeventhandler before teh dummy_control is attached to the page.  For more information see the following links.

This document covers the DNNTabstrip.

This document covers client callbacks.


 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Tab Strip Control - register a postbackevent
 


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.

 


Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com

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