lookup field control - c#

I'm developing a windows application that updates item properties.
what should i have to do if a document library have a lookup field or a people editor?
what is the control to use?

I'd use a combo box where the list contents are loaded dynamically when the user expands the list.
I hope, you are aware of the fact that, if you use SharePoint API (through microsoft.sharepoint.dll), you will only be able to run it on the server? If you need it to run on a remote machine, you have to consider using SharePoint Web Services.

Related

connect vcsharp windows form application with asp.net

kindly tell if there is any way to solve the connectivity of the vcsharp with asp.net. as i am trying to run the c# windows form application on asp.net to make my website more knowlodge able. Is there any other connevtivity option besides aspnet.
You can run web application in windows Forms application. You may embed the WebBrowser control. It makes sense, but if you want to run desktop application in a asp.net web this doesn't make sense IMO.
If you want to benefit from Rich Controls behaviors, you have web widget available within jQuery UI, BootStrap, etc.
Don't mix things
EDITS: According to your first comment, I'd suggest you to search for the web sdk for arcgis or an equivalent. Or You may need to reference dll available in the SDK and use web controls to display data
Plz read this

Fill a web form in an external Internet Explorer instance programmatically

We are currently using jQuery to populate web forms. jQuery receives its information from parsing the results of an executed php script. This works, but is completely dependent on the web server being accessible and functional.
We'd like to see how to consolidate this and create a C# console, WinForms application - or possibly a toolbar/IE addon of sorts down the road.
Right now we are trying to figure out how we can interact with an external Internet Explorer process (most examples we see are in regards to WebBrowser controls). We're ultimately wanting to fetch elements by name/id and populate them with text. From an end-user standpoint, we want to mimic the functionality of roboform.
We are not interested in form submission - just acqusition of the proper instance of IE and form population.
Are there any resources you could point us to that would have an example similar to our desire?
It used to be possible, I did that for IE7: How to connect to a running instance of Internet Explorer. I haven't verified if it still works for IE8+. You may also have some luck using this technique: How to get IHTMLDocument2 from a HWND.

Adding a re-usable 'box' to my asp.net web app

I'm building a basic web application in ASP.NET 4.0 with C# in Visual Studio 2010 Pro. I'm still very new to C#, and am used to Delphi coding. My website already has registration/login, and although I use some asp.net controls, a majority of my pages are dynamically loaded from my SQL database and I manually compile the HTML code from C# and insert it into the document.
Now what I would like to do is implement a poll - or a vote box - an 'object' which can be re-used in different pages. My website's master page already has a permanent left panel which has things which show on every page. One of these will be a small box with a vote of a few questions.
All I need to know is how do I begin to build an independent plugin control for a web page like this? I don't necessarily mean a separate DLL or anything, my existing one can handle everything. But I'd like to re-use the same little voting box in different pages too. So I'm assuming this will be considered a separate page, in a way, which is probably about 120 pixels wide by 80 high. Each vote will be limited to either login account or ip address (which I already have access to). So this solution must interact with the existing asp.net application.
So how do I begin the 'backbone' of such a plugin which can be re-used in multiple pages? I do not plan on distributing this plugin, and I don't even know if this is the correct term for what I need. Just a 'box' which can be 're-used' on multiple pages - which must interact with the asp.net app.
To better explain what I mean, imagine how Facebook has the plugin where you can embed some general info about likes and such. I'd like to make my own box like this - and even be able to embed it in other websites.
It sounds like you just need to make the poll into a user control. The documentation should get you started with them. A control can access everything an ASP.NET page can when it comes to the login information. It won't handle embedding into other pages though – embeddable active content that authenticates against your site is a nontrivial problem.
As I said in the comment, if most of your HTML is creates as a blob that's opaque to ASP.NET, it will probably be nontrivial to insert a user control into the middle of it.

Is there any commercial product that builds on SSRS for a richer user experience in a Windows application?

I have a Windows application that displays SSRS 2008 reports.
There is a limitation in SSRS where one can not adjust the width of a parameter listbox or easily navigate to an item in the list e.g. to find to a specific client in a list of 500 clients you would have to type in the first letter of the client name and thereafter scroll down to the item. Typing in the next letter in the name would cause the selected item to change to the first item starting with that letter.
There is a hack to fix the first issue regarding the column width which involves editing a SSRS style sheet (which I could not get working anyway) but still leaves the issue of navigating to items in the list.
It seems that Microsoft is not interested in attending to these issues as its been this way since the early versions of SSRS.
Due to time constraints developing a custom ReportViewer control will not be possible. Is there any product (of the likes of DevExpress for Windows controls) that can be added on to SSRS to solve these issues?
Thank you.
One of the best ways is to use the ReportViewer control for presentation of data, but the hosting web page/win form for parameter management.
And the ReportViewer control is in local, not remote mode.
SSRS is great for showing the data but the parameters to feed the filters are crap...

access to standalone app with more stable database

Does anyone have experience of rapidly translating an access application into a standalone windows application? My current thoughts are to create an SQL database and a gui in c# and vb, or adobe flex 3.
As with acces, the GUI would mainly comprise of controls such as radio buttons, combo box (populated from a table), check boxes, text boxes, text areas and data grids. It will also need the ability to create reports as access does.
Any advice based would be appreciated.
Happy new year.
Use the upsize wizard (tools menu) to port the data to SQL Server
Carry on using Access as a front end
Change the schema as needed, hide change behind views for Access
Write a new GUI in asp.net or WinForms
sqlite may be the choice of database. It is simple, a self-contained, embeddable, zero-configuration SQL database engine. you don't need any database server as sqlite is file-based.
I guess vb.net 2008 can be used as it is very easy to generate GUI.

Categories