Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Cybernate

@Cybernate
About
Posts
25
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Design using MVP pattern
    C Cybernate

    Thanks for your inputs. I am not sure if I agree with you on MVP not suited for Web Apps. Regarding the 30 Events statement I was being sarcastic. Thanks for trying though.

    Regards, Cybernate

    ASP.NET design regex architecture question announcement

  • Design using MVP pattern
    C Cybernate

    Thanks Jeremy. I tried to provide my question with an example. I have a scenario where I have to display a view with around 30 fields(some are textboxes and some are Dropdowns) and the Business Object to represent the entity would be something like: [CODE] Parent { PField1 PField2 . . . . PField19 PField20 List<Son> Sons; List<Daughters> Daughters; } Son { SField1 SField2 SField3 } Daughter { DField1 DField2 DField3 DField4 DField5 } [/CODE] Am capturing/displaying the whole business entity in a single view. Now the user can change the base fields of a parent or change the fields of a son/daughter. Now how should I handle the change events for each field in the view, should I delegate the change events to the Presenter and then let presenter update the view. This requires to define 22 events in the View and then 22 delegate events in view and 22 event handlers in the presentation layer. Somehow am not having a good feeling about this design. Can you please advise?

    Regards, Cybernate

    modified on Tuesday, July 28, 2009 4:01 PM

    ASP.NET design regex architecture question announcement

  • Design using MVP pattern
    C Cybernate

    Hi, I am trying to implement a site(Read/Update/Delete operations site) using MVP pattern. Also trying to keep the presentation layer UI agnostic(i.e. Presentation layer should work with a Web Client/Windows Client). Now I have a domain object with around 30 fields/attributes and all of these fields are editable in the UI(View). I want to propogate the change in any field to the Presentation layer. The only solution I can think of is to define 30 events!!! in the View and 30 handlers in the Presentation layer or define 30 setter methods in the presentation layer for the 30 event handlers in the view. Am not comfortable with this design. Can any one provide me a solution or a direction on this?

    Regards, Cybernate

    ASP.NET design regex architecture question announcement

  • How to delay loading the page for 2 seconds?
    C Cybernate

    Create a page which would just have the IMAGE HTML. And then add script as below window.setTimeout("document.location.href=''", 2000) to the window.onload event of first page.

    Regards, Cybernate

    ASP.NET csharp javascript asp-net com tutorial

  • Help needed in finding control
    C Cybernate

    Hi, Assume ID for your datalist control is dlist. Then string szChandu = (dlist.Items[i].FindControl("Label1") as Label).Text; should work. Please note i in the above code is the ith row of the datalist.

    Regards, Cybernate

    ASP.NET help question testing beta-testing

  • Control Slide Show.
    C Cybernate

    add the position attribute to the repeater control as relative and for the user control in Item Template add the position style attribute as absolute with left and top as 0. Also make sure you give a zindex attribute in a progressive way. Then using client side javascript you can change the z-index to give a slide show effect. e.g: . . . . . uc1:\[yourusercontrol\] now use a javascript to get hold of the inner contents and change the zIndex attribute value. Let me know if you need sample code.

    Regards, Cybernate

    ASP.NET database game-dev regex help

  • How to add gridview to placeholder
    C Cybernate

    You should be able to do it without any problems. Are you getting any error? but if you are dynamically changing the hierarchy of controls on apage they can;t make use of the View State. Let me know whatz the problem you are facing.

    Regards, Cybernate

    ASP.NET help tutorial

  • Images not displaying in IIS7 [modified]
    C Cybernate

    First try browsing the image directly using the URL below: http:///facility.imgx?pictureId= This will display if there is any error in the processing and you can start your debugging from there.

    Regards, Cybernate

    ASP.NET sysadmin help question announcement

  • Logout?
    C Cybernate

    You can access the Session normally as you would do in the form 5. As long as the value is added to the session you will be able to access it from anywhere in you code using the session property.

    Regards, Cybernate

    ASP.NET tutorial question

  • Stop execution?
    C Cybernate

    You can use System.Windows.Forms.Application.Exit() for Windows Apps and Response.End for Web Application.

    Regards, Cybernate

    ASP.NET question

  • How to Convert an ASP.NET Using C# Web Application into A Desktop Application
    C Cybernate

    The level of effort depends on how the application was architectured. If the layers of application Presentation/View and other layers are not tightly coupled . all you have to do is to go ahead and create a similar view in Winforms and use the existing Business layers etc. If this is not the case. then you will have to redo most part of the application.

    Regards, Cybernate

    ASP.NET csharp asp-net dotnet com tutorial

  • how to add confirmation check on add button click . [modified]
    C Cybernate

    As an alternative you can use subModal scripts, which provides cusomizable Modal Dialogs.

    Regards, Cybernate

    ASP.NET javascript database tutorial question

  • invoke webservice with xmlhttprequest
    C Cybernate

    You can use WebRequest class to do the same at server end. Or create a proxy for the web service using the wsdl tool provided by .Net to achieve Stong type safety

    Regards, Cybernate

    ASP.NET xml question csharp delphi asp-net

  • Response.Redirect() problem
    C Cybernate

    You can use cookies as well, but Cookies is not a reliable source to store data across requests as client has complete control on them.

    Regards, Cybernate

    ASP.NET help com tools question

  • session state issues
    C Cybernate

    The solution given by Rajesh is appropriate. You can further enhance is as follows to automagically maintain/reset the flags: 1)Define a database level job to scan the users table for the active flags and the time they were marked and then reset the same after a specific amount of time. 2) Or add code to Session_OnEnd to mark the flag 3) or use and asynchronous javascript call on the page_unload event at client side to reset the flag.

    Regards, Cybernate

    ASP.NET database help csharp asp-net sysadmin

  • I need some direction on a web page
    C Cybernate

    Can you post the code for your master page?

    Regards, Cybernate

    ASP.NET com question

  • How to display a jpg on a web page
    C Cybernate

    Because App_Data is a protected ASP.Net folder. Instead place your jpg file in the any other folder which is not a ASP.Net protected folder like (images folder under the root) and try.

    Regards, Cybernate

    ASP.NET question html visual-studio help tutorial

  • Service/Object Locater
    C Cybernate

    Thanks will go over it and let you know my thoughts.

    Regards, Cybernate

    .NET (Core and Framework) regex

  • about array and property
    C Cybernate

    Thanks...

    Regards, Cybernate

    C# data-structures regex

  • about array and property
    C Cybernate

    I am not getting your question. The above post is rather a statement. Can you be a little more specific?

    Regards, Chandra V

    C# data-structures regex
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups