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. Implementing problem

Implementing problem

Scheduled Pinned Locked Moved ASP.NET
3 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.
  • H Offline
    H Offline
    Haim Nachum
    wrote on last edited by
    #1

    hi. im wondering how to implement a website im building. in short at has a login screen which a user can login and see a page with left div with information of some sort, middle div that holds couple of tabs, each tab should fill the div with a table of that tab(customers for example). the user will be able to add a client to the table, delete and edit. the other tabs should do the same, that is show table with edit,delete and insert. in my current implementation i use a user control for each tab. the user control have the table in it and the delete,insert,edit buttons in it. when the user delete a record for instance , id like to call a method in the user control that deletes this record and sends back 1 or 0 uppon success or failure. than using JS in the client i will remove that row in the table. likewise in the other buttons for insert and edit. the problem now is that i cant call to a method in the user control directly from JS because of .net limitations. any suggetions to overcome the problem or to use a different implementation?

    Y 1 Reply Last reply
    0
    • H Haim Nachum

      hi. im wondering how to implement a website im building. in short at has a login screen which a user can login and see a page with left div with information of some sort, middle div that holds couple of tabs, each tab should fill the div with a table of that tab(customers for example). the user will be able to add a client to the table, delete and edit. the other tabs should do the same, that is show table with edit,delete and insert. in my current implementation i use a user control for each tab. the user control have the table in it and the delete,insert,edit buttons in it. when the user delete a record for instance , id like to call a method in the user control that deletes this record and sends back 1 or 0 uppon success or failure. than using JS in the client i will remove that row in the table. likewise in the other buttons for insert and edit. the problem now is that i cant call to a method in the user control directly from JS because of .net limitations. any suggetions to overcome the problem or to use a different implementation?

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      How about using WebService to perform Add/Delete operations? You can use js to call webservices.

      Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

      H 1 Reply Last reply
      0
      • Y Yusuf

        How about using WebService to perform Add/Delete operations? You can use js to call webservices.

        Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

        H Offline
        H Offline
        Haim Nachum
        wrote on last edited by
        #3

        i thought about doing that. but im not quite sure if this is the best implementation. isnt using webservice can cause an overhead? is it conventional to use webservice for that reasons?

        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