It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to use .net winform control in asp.net.I wrote the control and displays in asp.net.Is it necessary I have to create a package and deploy in client machine? or since .net framework available in client machine without package it will work.
While this is possible, by hosting a UserControl as Active-X - I generally don't recommend it for a variety of reasons:
It's basically an Active-X control. There have been a lot of security concerns around this technology.
It will only work in Internet Explorer. Internet Explorer has been hemorrhaging market share over the past few years.
Generally it's possible to achieve what you want using JavaScript + HTML. What specific example can you think of where current web standards cannot solve it?
You can learn more about using a WinForm UserControl as an Active-X object here.
In reality, you are better off using browser-based technologies, such as HTML, JavaScript, SVG, etc. If that isn't good enough - then alternative technologies like Silverlight are a much better choice. It's cross-platform, more modern, and designed to run in the browser.
This blog explains how to do it, especially how to package the dll and deploy it (using gacutil).
And, obviously, you will have to have the .net framework on the client computer.
However, in the 2010's I'd would highly suggest you to use more manageable tools, like SilverLigth, Flash, or event Html + Javascript (jQuery is your friend)
You can not do what you are wanting to do. WinForms controls have no way to render as HTML.
You can't use a WinForms control in ASP.Net.
ASP.Net controls render to html on a webpage. WinForms controls run in a message loop on the client machine.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have some experience branding SharePoint sites through SharePoint Designer using JavaScript, jQuery, HTML, and CSS. Now I am starting a new job in which all development is Visual Studio and instead of modifying master and .aspx pages like a website, I now have to understand code behind pages, event receivers, templates, webparts, etc. None of these things are too difficult to grasp individually but staring down a large solution file with a hundred of these nodes is intimidating.
I decided to ask this question when I went to find the allitems.aspx page for a list to modify the structure of the view, an easy task in SharePoint Designer but in Visual Studio I see no lists or view/form pages.
Can anyone explain, or show me an explanation, of how all of these moving parts and pages of C# code become the SharePoint website the customer sees?
You need to look on SharePoint from the developer's point of view. Ask you team what strategy do they use for deployment as there is several possibilities.
If they use backup/restore strategy you still can apply your
previous experience as before.
But if they use WSP's, features and C# (or/and PowerShell) code for
deployment, i.e. create everything from scratch, you need to learn
Visual Studio. For instance schema.xml files for lists, modules for
custom css, xslt, master pages. Look books recommendation at this question and
check especially this book, it has a chapter devoted to branding
deployment as WSP.
first you need to install VS on the same machine "SP Server machine"
second you need to add references to the SharePoint SDK dlls found in the program files.
third start by playing with SPWeb and SPFile and other classes.
If you have more specific question I can try to help you.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
we are in the process of determining what would be the best technology to write our signage player . Although we are a C# house with some experience in Java, all the talk has been about Java and Mono. Also the platform we are going to build on would be a linux box.
The player has to be very intelligent and support scheduling, content change triggers by external applications (by web services), time synchronization of content, content show in different portions of the screen, video/live streamed feed etc.
We will also need to create a designer to allow the design team to create webgl content.
There is some OpenGl experience in the company so we could leverage this.
Would this be a good choice?
JD
That would be an excellent choice IF and only IF you have a good grasp on Javascript or your timeline isn't too tight in case you don't dominate Javascript. If going on a linux box, chances are you're better off with a custom build of Firefox or Chromium running your app alone without the browser parts (menus, tabs, etc).
My team here is working with HTML5+Javascript+Canvas/WebGL on the client side almost exclusively now because it is very fast to develop and needs almost no setup.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have create a web site and I need to read data which is created by rfid reader.
this device has some dll which can be use in windows application.
I want to know that is there any way to use those dll in my site in order that I read data from RFID reader? if not is there any way to use that device in web site?
Reading dll's on a clients machine is seen as big security risk and there is not really allowed. It is possible to use ActiveX controls (basically dll's compiled into cab files) which the user can then enable and download, this then will allow you to talk to the ActiveX control which talks to the dll's, which talks to the RFID.
I would rather suggest you use something like Silverlight with out of browser mode, which you can run on the client machine with elevated privilages, then you can talk to com object.
A much better way to go.
ASP.NET application is Server side application with specific security restrictions applied.
So basically, as the question is very generic so my answer too: you can do it, it's enough to be sure that your architecture fits yuor ASP.NET security/permission requirements.
Cause I immagine DLL is kind of COM component where you push signals and read alphanumeric characters specifying your RFID (passive or active) identifier.
Regards.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I would like to build my own html gui editor, but I can't figure out the basic structure for the application.
Does anyone know of any sample code for building an editor? I would like to use Visual Studio 2010.
The part I don't know is how to build a wysiwyg area to display a page that is being designed.
Any help is appretiated
Most editors are based on the WebBrowser control that comes with Visual Studio. For more info see:
http://www.codeproject.com/KB/miscctrl/csEXWB.aspx
Or if you are more adventurous there are also solutions involving WebKit and Gecko browser engines discussed here:
Is it possible to Embed Gecko or Webkit in a Windows Form just like a WebView?
There is also MSHTML : http://msdn.microsoft.com/en-us/library/aa753630(VS.85).aspx
The editor provided with MSHTML offers
a "what you see is what you get"
(WYSIWYG) HTML editing environment
with a rich set of capabilities. It
can be activated from C++, Visual
Basic, and script. You can use a
number of techniques to customize the
MSHTML Editor. These techniques are
available in C++ only.
Here is a .net wrapper: http://www.itwriting.com/htmleditor/index.php
The HTMLEditor is written in C#.
Unlike the .Net webbrowser control, in
versions prior to .NET 2.0, this is
not an ActiveX control. Rather it is
an ActiveX Document. Even if you are
not interested in MSHTML, you may be
interested in the HTMLEditor as an
example of advanced .NET / COM
interop. It's also not suitable for
embedded web browsing - use the
ActiveX for that.
However, it is a pretty cool control.
It allows editing as well as read-only
display, supports advanced features
like print templates and edit
designers, gives easy access to the
HTML DOM, and lets you load HTML
simply by assigning a string to a
property.
SO user leppie made a very nice editor xacc.ide.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
So i am using visual studio 2008, asp.net 3.5, with the basic toolkit provided.
Now i have made the gui which a lot of functionality but the design is very basic.
and looks too old.
I need to give it a new look, a new feeling new designs....
like the gridview, the buttons the textboxes, the menus look basic...
this is not working for me.
Please let me how should i go about doing this.??
1) i have herd about tool kits but dont kno which ones are good..(dont want the really expensive ones) but if it is really good my company is ready to spend.
2) will the new VS 2010 or asp.net 4.0 make a difference.
3) The ajax toolkit or silverlight toolkit is any good?
4) i also need to show Charts and graphs now, currently using MS charts.. but now i need
which is good.
Your best bet is to ask very specific questions at a more appropriate forum.
For ideas on designs, look for examples online and do something similar to what you like.
http://www.thecssawards.com/
http://www.csselite.com/
For questions on how to implement a specific design in html/asp.net/whatever, post a very specific question here.
For UI guidance on how to make something specific look better, post a question on http://ui.stackexchange.com. Include a SMALL screen shot of the applicable controls (not the whole page, just the part you're asking about, or at least highlight the part you're asking about).
.NET 3.5 vs .NET 4 will have no real effect on the design of your site. Whether your choose HTML or Silverlight will have a huge effect, but neither is generally better for all sites and switching between them basically means rewriting everything, so you wouldn't do it just for design reasons.
I assume you are referring to UI control libraries.
Some of the commercial libraries that I know off and widely used include:
Telerik RAD Controls
Infragistics
DevExpress
They all have a good range of controls from Menu to Charting.