Hey everyone.

I've created a widget called PointMarker and integrated it in my
asp.net website.

Im creating an instance of the widget calling:

        $.extend($.ui.PointMarker, {
            getter: ["getPointsArray"],
            defaults: $.extend({}, $.ui.mouse.defaults, {
                ContainerId: '#pointsHolder',
                TextCallback: MapViewer1.PointsTextCallback
            })
        });

        $('#pointsHolder').PointMarker({ ContainerId:
'#pointsHolder' });


Now, my problem is that "#pointsHolder" is inside an update panel that
refresh's from time to time.
On the update panel, i dont make any change on the "#pointsHolder"
div, but after the refresh of the updatePanel, the widget dont work.
for instance, i have properties in the widget that loses its values
after the refresh.

Ive already tried to run the widget initialization code  (above) after
the panel refresh, but although it does run the "_init" function of
the widget,  the objects arent initialized.

its my first custom widget, so maybe something simple im missing.

Appreciate the help.

Regards.

PS: sorry the english.

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=.


Reply via email to