Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Help!! Create selector View modes: 
User avatar
Member
Member
marko-softing - 4/17/2009 6:45:25 AM
   
Help!! Create selector
Hello,

I need to create a selector so that it get data from a XML source, and paste a url into the database. So i copy paste the SelectImageDialog control to do that, i modify it and get a javascript error:

function SetUrl(newUrl, selectorId, window)
{
wopener.SetUrl(newUrl, selectorId, window); //Object doesn't support this property or method
}

So please help or give me an other option to create this control.

User avatar
Member
Member
marko-softing - 4/17/2009 7:00:09 AM
   
RE:Help!! Create selector
Forget to say that in firebug the error is:

wopener.SetUrl is not a function

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/28/2009 7:29:37 AM
   
RE:Help!! Create selector
Hi,

Could you please check the page where are you getting this error for the SetUrl function? It has to be defined on the page where are you using it. I hope it will help.

Best Regards,
Juraj Ondrus