|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Customising the CatalogZone classDo you know if it's possible to customise this class so we could see a list
of all web parts on the right hand pane and then drag and drop them into the appropriate web parts. Rather than using the default interface which present a list of the web parts with a check box next to each one. > Do you know if it's possible to customise this class so we could see a Technically, yes!> list of all web parts on the right hand pane and then drag and drop them > into the appropriate web parts. Rather than using the default interface > which present a list of the web parts with a check box next to each one. Practically, no! -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujini-labs.com http://eduzine.edujinionline.com ----------------------------------------- What do you see are the main issues in doing this?
Could the custom CatalogZone not simply call the Render methods of each contained web parts. However how would you handle the drag and drop from this zone to other zones in the page? Show quoteHide quote "Gaurav Vaish (MasterGaurav)" <gaurav.vaish.nospam@nospam.gmail.com> wrote in message news:%2365GfVxPHHA.4104@TK2MSFTNGP06.phx.gbl... >> Do you know if it's possible to customise this class so we could see a >> list of all web parts on the right hand pane and then drag and drop them >> into the appropriate web parts. Rather than using the default interface >> which present a list of the web parts with a check box next to each one. > > Technically, yes! > Practically, no! > > > -- > Happy Hacking, > Gaurav Vaish | www.mastergaurav.com > www.edujini-labs.com > http://eduzine.edujinionline.com > ----------------------------------------- > > > Could the custom CatalogZone not simply call the Render methods of each The buck stops here.> contained web parts. However how would you handle the drag and drop from > this zone to other zones in the page? Handing the drag-drop and posting it back to the server the latest position of the webpart. Unless I am severly missing out anything... I do not see any public API to take care of these issues... something like OnWebPartMoved(WebPartZone old, WebPartZone new) or something like that... -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujini-labs.com http://eduzine.edujinionline.com ----------------------------------------- Well... I got across something that may be of your interest...
Not quite sure thought :) http://www.codeproject.com/Ajax/AtlasDragNDrop.asp -- Show quoteHide quoteHappy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujini-labs.com http://eduzine.edujinionline.com ----------------------------------------- "Gaurav Vaish (MasterGaurav)" <gaurav.vaish.nospam@nospam.gmail.com> wrote in message news:%23xCSY08PHHA.4412@TK2MSFTNGP04.phx.gbl... >> Could the custom CatalogZone not simply call the Render methods of each >> contained web parts. However how would you handle the drag and drop from >> this zone to other zones in the page? > > The buck stops here. > Handing the drag-drop and posting it back to the server the latest > position of the webpart. > > Unless I am severly missing out anything... I do not see any public API to > take care of these issues... something like OnWebPartMoved(WebPartZone > old, WebPartZone new) or something like that... > > > -- > Happy Hacking, > Gaurav Vaish | www.mastergaurav.com > www.edujini-labs.com > http://eduzine.edujinionline.com > ----------------------------------------- > >
Other interesting topics
Global resources not localized on IIS
How can validator code get the FormView data object Using Custom Control in a FormView Using Ajax control in custom server control How to show initial default values in a detailsview form Validation Groups and Wizard step DetailsView Default Mode Have validators take up no space if control is valid site maps & menu control Why can't I get the FormView control's Paging controls to show? |
|||||||||||||||||||||||