Dear all,
I replaced DNNTabStrip with UltraWebTab infragistics component but I have a problem in it
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="IFrameTabs.ascx.vb" Inherits="DataCircle.DNN.Modules.IFrameTabs.IFrameTabs" %>
<%@ Register TagPrefix="igtab" Namespace="Infragistics.WebUI.UltraWebTab" Assembly="Infragistics.WebUI.UltraWebTab.v2" %>
<igtab:UltraWebTab id="UltraWebTab1" runat="server">
<Tabs>
<igtab:Tab Text="New Tab">
<ContentTemplate>
<IFRAME id="Iframetab1" runat="server"></IFRAME>
</ContentTemplate>
</igtab:Tab>
<igtab:Tab Text="New Tab2">
<ContentTemplate>
<IFRAME id="Iframetab2" runat="server" src="http://www.google.com"></IFRAME>
</ContentTemplate>
</igtab:Tab>
</Tabs>
</igtab:UltraWebTab>
If I write src in IFrame like in Iframetab2 it worked well but I don't want that.
I want to get its src from my DB.
So Itried to write this code in VB codebehind like in IFrame DNN module:
but this error apeared to me :
Error: IFramTab is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DataCircle.DNN.Modules.IFrameTabs.IFrameTabs.Page_Load(Object sender, EventArgs e) in C:\DNN3\DesktopModules\IFrameTabs\IFrameTabs.ascx.vb:line 74 --- End of inner exception stack trace ---
which line 74 is Iframetab1.Attributes.Add("src", strSource1)
Iframetab1.Attributes.Add("src", strSource1)