tag:blogger.com,1999:blog-11488063.post114044589733421237..comments2024-02-29T17:48:48.371-05:00Comments on Technology, running N'At: Creating a custom server control for ATLASyortchhttp://www.blogger.com/profile/16893980775814282835noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-11488063.post-1158264441204920702006-09-14T15:07:00.000-05:002006-09-14T15:07:00.000-05:00Ignore my previous comment Jorge. It works on Fire...Ignore my previous comment Jorge. It works on Firefox as well! that was just a javascript error in my code ...Okay, I need sleep :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1158263292713962512006-09-14T14:48:00.000-05:002006-09-14T14:48:00.000-05:00Finally!!! after so much of googling I found your ...Finally!!! after so much of googling I found your blog! excellent work Jorge.<BR/><BR/>But as kinsey said it doesn't work in Firefox. Could you please let us know if you have any solution for this problem?<BR/><BR/>Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1153159893533020592006-07-17T13:11:00.000-05:002006-07-17T13:11:00.000-05:00Hi, I followed your example code and managed to ge...Hi, I followed your example code and managed to get things to work, the only proble is, it only works in IE.<BR/>I've got a post about it <A HREF="http://forums.asp.net/thread/1343161.aspx" REL="nofollow">here</A><BR/><BR/>Any thoughts?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1152115453518129122006-07-05T11:04:00.000-05:002006-07-05T11:04:00.000-05:00Hey, Jorge BalderasThank you very much for this kn...Hey, Jorge Balderas<BR/>Thank you very much for this knowledge share. It helped me a lot with implementing some of my requirements. Keep sharing your remarkable thoughts.<BR/><BR/>LiorAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1144782709004555232006-04-11T14:11:00.000-05:002006-04-11T14:11:00.000-05:00Colin,To programatically add DraggablePanel contro...Colin,<BR/>To programatically add DraggablePanel controls, you need to:<BR/>1. Add a HTML control (e.g. a div or td element) with the runat server attribute:<BR/>>td id="queueList" runat="server"<<BR/><BR/>2. Then you also need in your XML-Script to add the DragDropList behavior to this HTML element (the control id needs to match the HTML element id):<BR/><BR/><control id="queueList"><BR/><behaviors><BR/><dragDropList dataType="HTML" acceptedDataTypes="'HTML'" dragMode="Move"><BR/><dropCueTemplate /><BR/><BR/>3. Finally you can programmatically add DraggablePanel instances to the Controls collection of your HTML element:<BR/><BR/>this.queueList.Controls.Add(draggablePanel);yortchhttps://www.blogger.com/profile/16893980775814282835noreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1141223068029132582006-03-01T09:24:00.000-05:002006-03-01T09:24:00.000-05:00Yes you need to add the Microsoft.Web.Atlas.dll as...Yes you need to add the Microsoft.Web.Atlas.dll assembly, you can get it from <A HREF="http://msdn.microsoft.com/asp.net/info/future/atlastemplate/" REL="nofollow">here</A>:yortchhttps://www.blogger.com/profile/16893980775814282835noreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1141222665663469872006-03-01T09:17:00.000-05:002006-03-01T09:17:00.000-05:00I'm a little new to Atlas, but I'm having problems...I'm a little new to Atlas, but I'm having problems implementing iScriptControl. Is there a DLL I need to reference? I get a "Namespace could not be found" for the following line. Thanks.<BR/><BR/>public class DraggablePanel : System.Web.UI.WebControls.Panel, iScriptControlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1141164269210378712006-02-28T17:04:00.000-05:002006-02-28T17:04:00.000-05:00The code to add controls dynamically in your page ...The code to add controls dynamically in your page is fairly simple, here's a sample:<BR/><BR/>for (int i=0; i<5; i++) {<BR/> DraggablePanel panel = new DraggablePanel();<BR/> panel.Controls.Add(new Label(i.ToString()));<BR/> //list is a runat server div element<BR/> this.list.Controls.Add(panel);<BR/>}yortchhttps://www.blogger.com/profile/16893980775814282835noreply@blogger.comtag:blogger.com,1999:blog-11488063.post-1141162413912776282006-02-28T16:33:00.000-05:002006-02-28T16:33:00.000-05:00Hi, this is exactly what I've been looking for, bu...Hi, this is exactly what I've been looking for, but do have any sample pages that I could at? Thanks.Anonymousnoreply@blogger.com