best approach to create webpart? | jeckels | 2010-10-20 16:38 |
Status: Closed | ||
Hi Ben, I can't think of any easy way to create the <div> in JavaScript without using a different id that would also have the collision problem. If you find yourself adding the same webpart multiple times, we could add a special substitution, just as we support <%=contextPath%> and <%=containerPath%>, that assigns a GUID for the single webpart instance. You could use that instead of hard-coding a semi-unique id value. Does that sound like a good way to go? Thanks, Josh |
||