ASP.Net - Populate dropdownlist from sharepoint list - asp.net

I have an site with a dropdownlist where I need to use a sharepoint list as a datasource.
The site is NOT a part of the sharepoint, but is running besides it.
Any ideas how to go about this?

Related

signalR and gridview reload page in asp.net webform

How do I use the signal R when the information in the database has changed the entire page to reload?
Or how can one bind the grid view again?

How to maintain Treeview state on postback

I am working on asp.net using C# 4.0. I am working on the treeview control where data is loaded from the sql database on click of the node. I am facing a issue when i redirect to some other page and come back i am not able to load the treeview with same data which i previously loaded before the page postback. can any one help on this. thanks in advance.

How to make a multi page server control in asp.net?

I recently tried to create an ASP.Net server control. This server control should has at least two pages. One page for registration (Users can register) and one for asking questions. It is important to make it with ASP.Net Server Control.
The plan is to make this server control and web designers can easily drag and drop this server control into ASP.Net WebForms or MVCs and set properties like back-color or header image in properties tab. I wonder if its possible to have two pages in a server control dll file with all events, viewstates and properties.
Please some one tell me how to create a second page in a server control dll file? And another question is how to move between those pages?
As per my understanding you should go for MultiView or ASP:Wizard control ?
Maybe you are looking something like this from codeproject.

AjaxToolkit: Can't drag and drop a ajax toolkit control to a webform

I set a reference to AjaxControlToolkit.dll and this added all of the toolkit's controls to my toolbar. I then tried to drag and drop one of the controls to my webform and nothing happened-no error message, no control added to the form. Double clicking the control also did nothing.
The web site compiles with no errors, I also tried to bounce VS2008. I am running Developers Edition on Windows Server 2008.
I was able to add a Script Manager control
This worked w/o issue on my other computers.
Also, make sure you drop the tools into the source tab of your ASP page. As many of these controls has no graphical representation.
Ajaxtoolkit controls in VS2008 are extenders of other controls. Add the parent control first.

ASP.Net MVC View within WebForms Application

I am adding functionality to an ASP.Net webforms application and we've decided that new development will be done MVC with a view to move all functionality over eventually.
Obviously, MVC and WebForms play together rather nicely when it comes to accessing an MVC action via a URL. However, I'd like to display the MVC view within an existing tab (telerik) control on a WebForm page. This view will be using js/css file so that will need to be considered also.
Well I'd use jquery/js to load the tab dynamically on page load / select tab. If add a js function to the required handler you can fire an ajaxGet to retrieve the html from your MVC action URL.
If needed I can get some sample code. Are you using jQuery in your ASP.Net app or MSAJAX ??
Cheers
ian

Resources