Archives

Archives / 2004 / May
  • Step by step guide for developing custom server control with custom collection editor

    This guide is step by step instruction to create custom web control. The describe control contains complex property (Collection of classes) that the user can edit using custom type editor. Collection data will be preserving by control as control sub Html tags. This guide also contains most common issues relating to development such a control. The control that we about to develop name is commands and it part of NWAF framework that I'm working on. This control task is to let users to set commands to server control events laid down on web page. Commands has a property holding collection of classes that containing control name, event name and command name set to specify event. The user can add command to control events by using custom editor. Our custom editor show controls on page in hierarchal view. Choosing a control show it server side events and while selecting given event the user can set command name for that event. Controls event commands persist as inner HTML under commands control tags. The HTML output of our control should look like:

  • Step by step guide for developing custom server control with custom collection

    This guide is step by step instruction to create custom web control. The describe control contains complex property (Collection of classes) that the user can edit using custom type editor. Collection data will be preserving by control as control sub Html tags. This guide also contains most common issues relating to development such a control. The control that we about to develop name is commands and it part of NWAF framework that I'm working on. This control task is to let users to set commands to server control events laid down on web page. Commands has a property holding collection of classes that containing control name, event name and command name set to specify event. The user can add command to control events by using custom editor. Our custom editor show controls on page in hierarchal view. Choosing a control show it server side events and while selecting given event the user can set command name for that event. Controls event commands persist as inner HTML under commands control tags. The HTML output of our control should look like:

  • Looking for new job offers

    I'm about to finish my existing contract and I'm looking for new one. Currently I'm in Israel but I consider relocation to USA (west coast preferred but not a must). Yes, I need visa sponsorship and all that … But I'm positive sure that I can contribute a lot J

  • Loading dynamic user controls from Page_Load cause ViewState problems.

    I've seen couple of post on that issue lately so I decide to comment on that Issue. ViewState holds controls state as they where before server side processing of page finished. Controls state is saved by SavePageStateToPersistenceMedium to hidden field and retrieves from hidden field by LoadPageStateFromPersistenceMedium.

  • PreRender event not firing on ImageButton

    Well there is a bug in ImageButton OnPreRender that simply don’t call base.OnPreRender so your event handler will never run. If you want to workaround this problem you can create your own ImageButton. Your new web custom control should overload OnPreRender and PreRender event.

  • Naked objects and competitive intelligence

    I already post about naked objects. I really found the idea of letting users controlling the flow between objects instead of predefined application flows predefined by analysts and programmers. As I thought about naked objects and talked about it with others I found out that naked objects actually "invented" for competitive intelligence (CI) solutions. CI work is about identifying entities in your business environment and relations between those entities. Those entities could be Companies, figures, products, countries, organizations and so on. Finding different relations between entities usually helps analysts to drive into conclusion about "research target" intensions, movements, etc' that might harm or benefit their company. Searching after entities and links is very dynamic process. Usually its hours of reading that pop-up pre-defined as new entity types. The user need to draw "CI picture" that holds all instances of pre-defined entities, pre-defined links as well as new entity types and links which both of them contain new properties and methods. This "CI picture" is complex and dynamic objects graph that should be adjusted any time in the analysis process.

  • Smart client assembly wont download to client until all opened explores closed.

    We found out (using gacutil /ldl) that new versions of smart client assembly aren't being download to the client although we place in the server assembly with newer time stamp. After long research we found out that if one of explores that was opened while the smart client assembly download is still open the assembly file can't be removed (gacutil /cdl). Just after closing all explorers window we managed to down load smart client assembly and saw it using gacutil. I've no idea why opened explorer windows should influence explorer window that that he is the chosen one (to download smart client assembly J ).