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. General Programming
  3. C#
  4. Updating WebPage Control from seprate class

Updating WebPage Control from seprate class

Scheduled Pinned Locked Moved C#
csharphelpquestionannouncement
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.
  • Z Offline
    Z Offline
    zinc_z
    wrote on last edited by
    #1

    Hi , I want to update controls on web page from my C# class library. I am using this same library for my desktop GUI application and I solved this same problem by creating delegates and using Invoke() mechanism in my Form class. But could't find any equivalent for Web Page controls. is there any way around to update my web page control like textBox from my Class library ? ( I dont want to write that class in my CodeBehind class ) Thanks in Advance, ZINK

    C#

    M 1 Reply Last reply
    0
    • Z zinc_z

      Hi , I want to update controls on web page from my C# class library. I am using this same library for my desktop GUI application and I solved this same problem by creating delegates and using Invoke() mechanism in my Form class. But could't find any equivalent for Web Page controls. is there any way around to update my web page control like textBox from my Class library ? ( I dont want to write that class in my CodeBehind class ) Thanks in Advance, ZINK

      C#

      M Offline
      M Offline
      Mark Greenwood
      wrote on last edited by
      #2

      Do you mean that you want to update the controls which are displayed on the web page or do you mean that you want to be able to update the CONTENTS of the controls when what they are displaying has changed?

      Z 1 Reply Last reply
      0
      • M Mark Greenwood

        Do you mean that you want to update the controls which are displayed on the web page or do you mean that you want to be able to update the CONTENTS of the controls when what they are displaying has changed?

        Z Offline
        Z Offline
        zinc_z
        wrote on last edited by
        #3

        Like If I have DataGrid on web page , I want to add or remove the enteries of that data grid from my class library ... Is it possible to do ? and if if yes then how.. ???

        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