MVC :: Adding An API To Application - Customize Widgets?
Aug 13, 2010
I have created a MVC application and I want to make it customizable by adding an API to it, how do I go about doing this?
So, I have a database table called Orders with a bunch of a fields and my application is a simple form with the ListView control and users can add and delete orders. this API should allow users to add extra columns to ListView control and extra buttons as well.
View 2 Replies
Similar Messages:
Jul 15, 2010
I am designing a dashboard for my own application to serve as a control panel for the end user. I am thinking about using the Dropthings framework or DynamicDashboards which cover all of my internal widgets requirements.
But besides including widgets developed internally by me, I would like for the user to be able to include iGoogle widgets as well.
Is this possible?
What needs to be done in order to host an iGoogle widget?
View 1 Replies
May 31, 2010
am using SSRS reports to generate reports in my Web Application. I wanted to customize the report viewer toolbar, by adding custom controls or web controls to it, such as Dropdownlist, radio button,etc. Remember I dont want to give custom messages to report viewer toolbar as I know IReportViewerMessages is the interface used for this, but want to customize the whole report viewer toobar.
Also I wanted to give the my custom CSS style to report viewer toolbar. Is there any way to do it? And If yes, how to do it? Can anyone provide my code snippet?
View 2 Replies
Sep 8, 2010
I am using Windows Integrated Authentication with impersonation for all my web applications (on IIS 7 and 7.5), and everything is perfect.
Now I would like to enhance the authentication procedures bypassing the login prompt from IIS, and supplying a custom page to collect the Username + Password inputs from Users, but still mantaining the Windows Authentication support (I rely on the WindowsPrincipal in my application for many core activities).
I just would like to replace the IIS popup with my custom authentication page.
First of all I have tried to mix the WIA with Forms Authentication, but - even if I succeed in authenticating users against the Active Directory - the result is not what I was looking for, because I want to mantain Windows Authentication and not migrating the mechanism to Forms Authentication (even if implemented with the AD provider).
The first step I am trying is to use the "LogonUser" function to create the correct WindowsPrincipal and then the "Impersonate" method, but after this step I have no idea about how to persist the authentication data andor to pass the User information to the Windows Authentication. As a result, when I execute the first redirection to another page the information about the user manually logged are lost.
View 6 Replies
May 12, 2010
I am Developing a web Application in ASP.NET 3.5. I have to create UI that customize user. That means, user change their profile Background Color, Fore color, size, etc. How Can I create this!
View 1 Replies
Jan 22, 2010
I create asp.net mvc application and have task to create ability to move parts of page. For example, admin has ability to move poll to top page, to bottom, to center etc. Who tried to make it? My opinion - page has many divs, each div has webusercontrol, divs have position:absolute (or relative, not sure) and thru admin you can set which div has which values.
View 1 Replies
Jul 24, 2010
I want to customize the ajax editor control in my Web application .I followed the following tutorial:
http://www.asp.net/ajax/tutorials/how-do-i-use-the-html-editor-control--cs
but I get the error
"the type or namespace mycontrols could not be found"...
App_Code:
[Code]....
View 3 Replies
Dec 9, 2010
I'm using ASP.NET to develop a webapplication. In this application I'm using a dashboard. And now I try to develop my own widget for this dashbord. But I don't understand how to do the javascript part. In the widget I want to use the OpenLayers JavaScript map. It's created like this
<script>
var map = OpenLayers.Map("mapDiv");
</script>
<div id="mapDiv" />
Like this it works fine if I only want to use one widget at the same time. But if want to use it multiple times in the same dashboard, I get a lot of problem. I have two divs with the same id and two variables with the name map. So the div id is no problem, I generate it dynamically with ASP.NET. But how do I handle the JavaScript part, so that I don't overwrite my "map" variable?
View 1 Replies
Jul 25, 2010
is there any free open source Widgets (iGoogle-like widgets) framework for ASP.NET that I can build my own widgets with and can be used for commercial use (sites developed with it can be sold).I checked dropthings and Kalitte but they require a licence.
View 1 Replies
Feb 7, 2010
is it possible to create kind of widgets that are pluggable in ASP.NET MVC? I'd like to give my users the option to upload and attach a widget that I provide (ie. zip format). Recently I thought about deploying Areas in different project assemblies. Is it still possible with MVC RC2 (later RTM) and is there an option to dynamically attach that areas (say from a admin panel)?
Second question, how would you guys create a dynamic layout where admins could select widgets to display, arrange them, disable, move them etc.? I mean a flexible layout that can be changed via the admin panel without having to touch the code. Here I thought about defining and storing layout widgets paths in a db. Later I could associate these widgets with routes (in db). For each request (controller, action) I would fetch the layout among with associated widgets and output them recursively. Probably I could user RenderAction and PartialViews for that.s my direction correct or should I focus on some other technique?
View 3 Replies
Jan 28, 2010
you must have seen widgets like code which people place inside their HTML and it starts showing a small widget in there, how we can we do it in ASP.net, for example if i want to show some specific data of my site to anywhere some specific code is placed, how can i generate that embeddable code that can start showing my specific block of data to anywhere from any site?
View 2 Replies
Sep 1, 2010
I am using ASP.NET MVC in C#
I have a page where the user can move different Widgets around the page, and I now need a method to save the state of the widgets. I am using jQuery in the HTML page, and the jQuery posts the new page layout using JSON. I am unsure how to read the JSON in the controller.
The code I'm using is based on this example here - [URL], but the code for saving the result is in PHP.
[Code]....
I am willing to consider alternative ways to do this, as I may not have chosen the best way to do this.
View 1 Replies
Jun 25, 2010
I am interested in designing/building a dashboard application which will include widgets that represent applications that might be developed in different languages/architectures (PHP, Java, ASP.NET).
View 1 Replies
Jan 11, 2011
We are facing problem in drag drop widgets.
We are using IE7 version with OS as Windows XP. Drag drop is not working when we publish the web site.
Also these widgets are not working for published web sites on the server with OS Windows 2003 server.
View 10 Replies
Apr 19, 2010
I'm creating an ASP.NET application which uses Facebook Connect and fbml tags. It also uses the LinkedIn widget. When I run this app in any browser, there are no warnings and everything works. However, in IE, a message like this comes up:
Security Warning:
The current webpage is trying to open a site in your Trusted sites list. Do you want to allow this?
Current site:http://www.facebook.com
Trusted site:http://localhost
(same for LinkedIn.com). I know how to fix this from a client perspective and to stop the security warning showing up. However, is it possible to ensure this message doesn't come up as it could be off putting for users who don't know how to suppress this warning? I haven't tried uploading it to my webhost, so not sure if this message will appear for everyone in production. However, I always get it on my local machine.
(None of my pages use SSL, so I don't think that's the issue. I tried using FB's HTTPS urls but that didn't make a difference).
View 1 Replies
Jun 26, 2010
This thread is basically a continuation from my last post. I have a website that uses a TreeView Control. Each TreeNode represents a virtual directory and I wish for the user to be able to create a new Node/Virtual Directory. This site is for family photos. Each family member has their own node with a Child Node called "Albums". Within this "Albums" node, a family member can have as many Nodes/Virtual Directory as they want with each Node/Virtual Directory containing images.Each Virtual Directory path is stored in a Database. So essentially, I'm trying to create my own photo album. My question is....how do I allow a user to create a new Node/Virtual Directory (they don't know that a VD is being created...only a Node).
View 4 Replies
Jul 14, 2010
i am develope web application for factory i need to add google map with location of factory
in contact us web page
View 3 Replies
Feb 18, 2011
Is there any way to add a C# Web Form to an ASP.NET 4.0 Web Application that is written in VB.NET? I had an ASP.NET 2.0 WEB SITE that I recently converted to an ASP.NET 4.0 WEB APPLICATION. It was mostly written in VB.NET with a couple pages that had C# code behinds. I've read the following article (the end section about mulitple languages): [URL]
1) When I converted my site to an application, it didn't seem to add an APP_CODE folder at all
2) I'm not looking to just write a simple class, I actually want to be able to add a WEB FORM with a C# code behind
When I try to add a new item and I select which type of item I want to add, I am only given to option to add a VISUAL BASIC web form. I have a workaround right now. If I need a new web form with a C# code behind, I take one of my old C# web forms and just copy and paste the form and C# code behind into the project and then rename it and change the class name as well. Then i make my changes and do what I need to do. It seems to work, but I was just wondering if there was an easier way.
You might wonder why want to put C# forms in my VB app. I wrote my app in VB (not well versed in C# but I can read it). I have a programmer working for me that is much more efficient with C#. I don't really have the budget to spend weeks/months getting her up to speed with VB
View 2 Replies
Nov 30, 2010
I want to add WCF to existing asp.net application and host both of them in the same virtual directory is it possible ?? Also when i click new item to add app.config file from visual studio its not showing.
View 3 Replies
Jan 16, 2011
I have a website deeloped in ASP.NET and I want it to be accessed via local URL, for eg: http://localhost/website20I tried once but the CMS in my website started giving error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
View 2 Replies
Sep 3, 2010
I will be adding new pages and adding functionality to current pages.
I would basically like to use new technology and but I don't know how should I add it to classic ASP pages
In other words, can I <#--include--> an aspx page in Classic asp page? Or anything of that sort, may be creating a user control in ASP.NET and using it in classic ASP?
View 2 Replies
Jan 25, 2011
how to add the web service in my project and how to use it.
I am planning to use Autocomplete from ajax tool kit which needs a web service. Web service will be prepared and given to me, and i need to use it in my project for autocomplete control.
step by step procedure to add web service in my project and also how can I create a web service if i have to create my own service.
View 13 Replies
Feb 9, 2011
I'd like to add a delay between 2 lines of code because I'm testing an updateprogress template. Ideally, the one-liner.
View 7 Replies
Jan 31, 2011
We have a web application written in ASP.NET for .NET 3.5, using standard web forms.
Going forward we want to start building new features, and over time migrate existing features, in ASP.NET MVC.
Is such a thing doable? Can we add the necessary files to an ASP.NET web application and thus "upgrade" it to be compatible enough with MVC so that we can start adding routes, controllers, views, etc.?
The old site is using a frameset containing a top header, a left menu, and a main content. What I envisioned was to create a new masterpage for all the existing pages, integrating all of those things into each page instead, and then start adding new pages using views instead.
I understand that unless we upgrade to .NET 4 we cannot use MVC 3, so the way I see it we have the following options:
Build a new website, somehow auto logon the new site with the same credentials when logging in on the main site, and link between the sites. I see tons of problems with this solution. Integrate ASP.NET MVC 2 into the existing software, adding the necessary files, and starting to add new content in MVC style, only fixing critical bugs in the old files, and over time migrate them over to MVC. Upgrade to .NET 4 and integrate ASP.NET MVC 3, pretty much the rest the same as option 2. Wait until we can schedule a full rewrite, likely to not happen in any foreseeable future. Don't do it, keep web forms.
Note that a full rewrite is out of scope at the moment, so some transitional period is the only option we can do right now.
Option 2 and 3 are the ones we want, the rest are just for completeness.
View 1 Replies
Jan 7, 2011
I want to add a html control in C# which will display all the text from an html page selectively with the title given in my html page
View 1 Replies