Replacing Lightbox

I’m trying to use a different lightbox form.

calendar.aspx.vb

Scheduler.Lightbox.SetExternalLightboxForm("test.aspx", 640, 180)

At the moment, test.aspx is nothing but a default aspx with “hi” in the window. When I click to open the lightbox I get the following error. Line: 14. Error: Object doesn’t support property or method ‘setValues’

test.aspx

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="test.aspx.vb" Inherits="Workorders.com.test" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    hi
    </div>
    </form>
</body>
</html>

test.aspx.vb

Public Class test
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

End Class

Defining form with .SetExternalLightboxForm requires implementing client-side setValues/getValues interface
scheduler-net.com/docs/fully_cus … iew_sample

You can use a different approach if you want to
scheduler-net.com/docs/lightbox. … a_lightbox

Okay, I was successful at doing this with the java script code from the example in the article but I need the .net server side (not mvc) and am don’t quite understand how the page to first avoid the set and getValue error. I tried the following but still get the error and nothing seems to pass over to the page.

        Private _id As String
        Property id As String
            Get
                Return _id
            End Get
            Set(ByVal value As String)
                If Not _id  = value Then
                    _id  = value
                End If
            End Set
        End Property

hi,
here is a working example
s3.amazonaws.com/uploads.hipcha … aspnet.zip