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. call formview Databind event from Raisecallbackevent

call formview Databind event from Raisecallbackevent

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
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.
  • T Offline
    T Offline
    Travelthrprog
    wrote on last edited by
    #1

    Hi all, Is it possible to change the formview mode from insert to readonly or from readonly to insert from Raisecallbackevent(asynchronous postback] in asp.net!!! with __doPostback event of hidden button, I am able to do it. But I want to do this asynchronously. Please help

    A 1 Reply Last reply
    0
    • T Travelthrprog

      Hi all, Is it possible to change the formview mode from insert to readonly or from readonly to insert from Raisecallbackevent(asynchronous postback] in asp.net!!! with __doPostback event of hidden button, I am able to do it. But I want to do this asynchronously. Please help

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Just put a transparent div over all the controls. When callback is raised and the control comes to the client side javascript, create an absolute position div with opacity set to almost 0. Stretch it to the whole screen. The page will look like readonly. :cool:

      Abhishek Sur


      My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

      **Don't forget to click "Good Answer" if you like to.

      T 1 Reply Last reply
      0
      • A Abhishek Sur

        Just put a transparent div over all the controls. When callback is raised and the control comes to the client side javascript, create an absolute position div with opacity set to almost 0. Stretch it to the whole screen. The page will look like readonly. :cool:

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        T Offline
        T Offline
        Travelthrprog
        wrote on last edited by
        #3

        with formview div layers does not help. The insert template has to be loaded when we are changing to insert mode. How do I make the Raisecallback event to load formview in different modes? I have this formview inside a usercontrol with gridview. and the parent page has other controls which should be editable.

        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