It worked and thanks for the help..But one thing is not clear for me..The gadget was working in preview mode and why did it show up problem when I tried to add to side bar..Is this a bug ??
On Aug 7, 12:27 pm, Teo <[email protected]> wrote: > I'm not sure setting the name dynamically is possible. Why don't you try > defining the properties in the xml parameter? For example: > var lstitem=listboxeg.appendElement('<item name="item"'+bases[count]+' />'); > > > > > > On Fri, Aug 7, 2009 at 7:20 PM, Yarlee <[email protected]> wrote: > > > Hi, > > > I developed a gadget using designer_en IDE provided by GOOGLE. I was > > using the preview button for testing the gadget. Now when I try to add > > my gadget to side bar by clicking the gadget (google gadget manifest) > > file it says the object does not support this property or method and > > the line number is 13. Please find the lines below > > > 12 var lstitem=listboxeg.appendElement('<item/>'); > > 13 lstitem.name="item"+bases[count]; > > 14 lstitem.height=16; > > > Any help in this regard is greatly appreciated. > > > Thanks, > > Yarlee > > -- > Teo (a.k.a. Teominator a.k.a. Teodor Filimon) > sitewww.teodorfilimon.com| blogwww.teodorfilimon.blogspot.com > GMT +2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" 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/Google-Desktop-Developer?hl=en -~----------~----~----~----~------~----~------~--~---
