how to make plugins

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandeepdhankar10
    New Member
    • Dec 2008
    • 36

    how to make plugins

    hi experts,

    i have a .net user control. and i am using this in web page.. i want to make a plugin for my control so that it can be run in other Browsers as well.. like opera, mozilaa, netscape etc.. it is working fine in IE..

    pls heklp me out how to make a plug in for my control...

    thanks inadvance and wishing u all HAPPY NEW YEAR..
    Last edited by Frinavale; Jan 9 '09, 02:44 PM. Reason: Moved to ASP.NET
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Is your user control a Web User Control or a regular User Control?

    If it's a web user control, just test it in every browser that you want it to work in....and modify it so that it works properly.

    What specific problems are you having with your control?

    Comment

    • sandeepdhankar10
      New Member
      • Dec 2008
      • 36

      #3
      i am using .net window user control.. and when i embed this to web page.. and open in IE.. it works.. but as we know mozilla, opera etc doesnot support activex ..and my control is not coming in these. so i need to create a plug in for those.. so that it also work in these bworsers

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        I don't know how to do that, sorry. I would assume that you would have to check if the browsers you want to create plug-ins for will allow you to. Mozilla provides support for developers and you might be able to get an idea of how to create Mozilla plug-in there. I'm not sure if you'll be lucky developing plug-ins for Opera and Safari.

        An easier way to get around this is to create a Web User Control instead of using the Windows User control. This way it can be accessed by any web browser without the need for creating plug-ins.

        -Frinny

        Comment

        • sandeepdhankar10
          New Member
          • Dec 2008
          • 36

          #5
          Thx for the suggetions sir.. But i think making a web user control will not solve my problem.. b/c webuser control does not have that functinallity that window control has..

          actuly i made a window user control that fetch the imge from the server and show in a picture box.. its work same like glance and live look etc...
          but these are made in java..
          but i m using .net/.. which has some comptibilty issue with other browsers..

          but there may b some way to create plug ins. like macromedia flash.. has..
          so that it can b open in any browser .....


          sir if web user control can have this kind of funtionality .. then pls help me out and show me right path for this..

          or tell me any suggestion or advive so that i can make plug in..

          thanks..

          sandeep

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            A PictureBox?
            There is an Image control for ASP.NET that will display images.... dynamically if you want it to.

            What are your requirements?
            Are you trying to stream video?

            Comment

            • sandeepdhankar10
              New Member
              • Dec 2008
              • 36

              #7
              i need to fetch the images from the server via. web service .. and dispaying them in brower with out refreshing the page.. continueosly

              its same as glance and live look..

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                The page is going to have to updated if you need to refresh the image...but the whole page doesn't have to refreshed.

                You could place the Image control in an UpdatePanel so that only that section of the page is refreshed. You could then place a Timer on the page that calls a method that refreshes the image after a set amount of time passes. Please keep in mind how much bandwidth is going to be used when determining how much time should pass before the image should be refreshed.

                If you have a video...you could look into using Silverlight to stream video instead of updating a picture all the time. Silverlight is supported in most major browsers now and it only takes a minute or so to download and install the user's first time accessing a Silverlight application.

                -Frinny

                Comment

                • Curtis Rutland
                  Recognized Expert Specialist
                  • Apr 2008
                  • 3264

                  #9
                  You could also use silverlight to make an image viewer plugin.

                  Silverlight is basically a direct competitor to Flash. Silverlight can handle webservices and web requests as well. It's a good way to get a rich experience in the browser.

                  If you decide to go this way, let us know, and we can help you out.

                  Comment

                  • sandeepdhankar10
                    New Member
                    • Dec 2008
                    • 36

                    #10
                    thanks and thanks alot for reply.. i m in deep trouble of plugins..
                    b/c i m not able to find the way to make plugins for my control..

                    so if there is any other alternative thorugh which i m able to run my project in every browser and os then i m ready to change and move towards that...

                    pls tell me how to and what to do.. for that... is it much better then ajax???

                    i just want speed and universality in my project..

                    so give me guidenace

                    thanks

                    Comment

                    • Curtis Rutland
                      Recognized Expert Specialist
                      • Apr 2008
                      • 3264

                      #11
                      OK, for speed and compatibility, you should use .NET 3.5 and AJAX.

                      Put an Image control and links or buttons to navigate through the pictures inside an UpdatePanel control, so they will update the page asynchronously.

                      This will give you an example of how to use an UpdatePanel.

                      Comment

                      • sandeepdhankar10
                        New Member
                        • Dec 2008
                        • 36

                        #12
                        sorry i have dotnet 2.0 .. is it ok for that...
                        pls give me some exmples ...
                        so that i can proceed further.. and what about the silverlight...

                        i need that which enable me to run my project on every plateform (window,linux, mac, etc ) and every browsers (ie, opera, firefox etc)..


                        thanks

                        Comment

                        • Frinavale
                          Recognized Expert Expert
                          • Oct 2006
                          • 9749

                          #13
                          Hey iA...have you tried using SilverLight in Opera?
                          Silverlight doesn't seem to be supported in Opera...

                          Originally posted by sandeepdhankar1 0
                          sorry i have dotnet 2.0 .. is it ok for that...
                          pls give me some exmples ...
                          Sandeep,

                          What version of Visual Studio are you using?

                          Originally posted by sandeepdhankar1 0
                          i need that which enable me to run my project on every plateform (window,linux, mac, etc ) and every browsers (ie, opera, firefox etc)..
                          If your website runs in a web browser (other than IE) than it is Platform independent (because it's run in a browser and is not specific to an Operating System).

                          Comment

                          • sandeepdhankar10
                            New Member
                            • Dec 2008
                            • 36

                            #14
                            i am using visual studio 2005

                            Comment

                            • Curtis Rutland
                              Recognized Expert Specialist
                              • Apr 2008
                              • 3264

                              #15
                              Well, you won't be able to do AJAX or Silverlight in VS 2005.

                              MS does have a free version of VS 2008 for ASP.NET called Visual Web Developer.

                              The thing is, the AJAX controls are part of .NET 3.5, and so is Silverlight.

                              If you're stuck on 2.0, I do have an idea.

                              You could use the Javascript XmlHttpRequest object in some javascript functions to get links for your pictures.

                              Comment

                              Working...