Re: Add DotNetNuke Custom Button

  •  01-28-2008, 11:35 AM

    Re: Add DotNetNuke Custom Button

    Thank you!  One issue:
     
    In the first line of the SetMouseEvents Sub, I'm getting an error:
     
    Type "WebControl" is not defined.
     
    Looks like the correct sub would read like:
     

    Public Sub SetMouseEvents(ByVal control As Web.UI.WebControls.WebControl)

    control.Attributes("onmouseover") = "CuteEditor_ButtonCommandOver(this)"

    control.Attributes("onmouseout") = "CuteEditor_ButtonCommandOut(this)"

    control.Attributes("onmousedown") = "CuteEditor_ButtonCommandDown(this)"

    control.Attributes("onmouseup") = "CuteEditor_ButtonCommandUp(this)"

    control.Attributes("ondragstart") = "CuteEditor_CancelEvent()"

    End Sub

     
     
    Now it's just a matter of figuring out where the provider is pulling images from, and what .css file it's looking at so I can get my style applied within the text editor window.
     
    Any tips?
View Complete Thread