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