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
  1. Home
  2. Web Development
  3. ASP.NET
  4. User control communication

User control communication

Scheduled Pinned Locked Moved ASP.NET
questiondatabasewinformscareer
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sris 426
    wrote on last edited by
    #1

    Dear all, This is an interview question. I have 2 user controls placed in my web page say usercontrol1 and usercontrol2. In usercontrol1 i have all filter parameters (which user will selects) and a submit button.User selects and clicks on submit button. After clicking on submit button we need to show the data in usercontrols2.....How?? Inorder to achive above we should not use query string,sessions,viewstate...Then what we should use.Please give your ideas. Can we use Events and delegate mechanism here??? Thanks, Srinivas Mateti 9440071311

    D 1 Reply Last reply
    0
    • S sris 426

      Dear all, This is an interview question. I have 2 user controls placed in my web page say usercontrol1 and usercontrol2. In usercontrol1 i have all filter parameters (which user will selects) and a submit button.User selects and clicks on submit button. After clicking on submit button we need to show the data in usercontrols2.....How?? Inorder to achive above we should not use query string,sessions,viewstate...Then what we should use.Please give your ideas. Can we use Events and delegate mechanism here??? Thanks, Srinivas Mateti 9440071311

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Delegates. That is what I use whenever I have to do something like that.

      50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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