MVC :: Is It Possible To Create Kind Of Widgets That Are Pluggable In MVC
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
Similar Messages:
Jul 20, 2010
How to create a user control for this kind of layout. I have a css. But dont know how to create a control for this kind of display. Title is the department name and below mentioned radio buttons are status for each department. Now department can be multiple as present in database. This one box can contain only two department list and new box needs to be created as soon as 2 departments are filled into this. How can I create user control for this type to bind it from datatable. I am reading about DynamicDataField but seems to be of no use. Here fields encircled is department and its statuses
View 1 Replies
Mar 28, 2010
I m trying to create a custom textbox with a enum kind property in it(like textmode).the enum values will come from database..but enums cant be dynamic..is there another way out??
View 3 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
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
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
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
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
Feb 26, 2011
1 new website attach with existing website..where attached website is behave as pluggable. and used anywhere in any website?
View 7 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
Jan 5, 2010
I want to learn WPF but do not know what kind of application for WPF. Is it Web application or Windows application?
View 3 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
Jul 25, 2010
In all the samples I've seen on how to set up nhibernate, the cfg.xml doesn't include any information on any kind of proxy, but when I step through to tutorials, I get errors saying a proxy hasn't been configured.
Whut?
Current hibernate.cfg.xml
XML Code:
<?xml version="1.0" encoding="utf-8" ?><hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory> <property name="connection.connection_string">Data Source=DREWSQLEXPRESS;Initial Catalog=Venue;Integrated Security=True;Pooling=False</property> <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property> <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> <property name="show_sql">true</property> </session-factory></hibernate-configuration>
View 3 Replies
Jan 18, 2010
I want to alert a user of a new message using some kind of USB device (e.g. a flashing light). Is it possible to control a USB device from ASP.NET or Silverlight?
View 3 Replies
Jan 10, 2011
I have limitations to host Windows Services in my web hosting provider. But i need run small task frequently.
Do we have any other framework/api which provides similar infrastructure like "Windows Services" from ASP.NET?
View 4 Replies
Mar 15, 2011
I want to use the checkbox in my project to select different kind of qualification(Graduate,Postgraduate,Diploma,etc) how i do this
View 2 Replies
Sep 3, 2010
I have two user controls attached to my Master page. (vb.net)
These user controls display ads, and the pnly difference between them is the width of the ads they should diplay.
Is there some way in which I can just register one user control, but use it twice, and then pass different integers to them?
In other words, instead of having this:
@
Register
Src="Ads240.ascx"
TagName="Ads240"
TagPrefix="uc240" %>
[Code]....
but kind of send different values to them (like "Usercontrolparameter=120")
I have looking at properties and the like, but I don't know if they can let me reuse the user control file with different values.
View 3 Replies
Nov 23, 2010
I got a new task for different kind gridview. I don't know how to create this type gridview?. If anyone gridview masters
View 2 Replies
Jan 4, 2011
to find out online training or any kind of videos for WCF.
View 2 Replies
Jun 1, 2010
the more i read about pattern the more i get confused!
In particular i'm trying to get the relationship between Registry and Repository.
Is it correct to say that a possible implementation of a Registry uses a Factory to return an appropriate Repository which, in turns, uses an underline DataMapper to performe the CRUD operations against a database?
If no, which kind of relationship exists between repository and registry ?
View 1 Replies
Jan 24, 2011
I have a nested table structure, a part of which is rendered by a ajax call that returns HTML from the server. The markup looks like this:
<tr>
<td><table cellpadding="0" cellspacing="0" border="0">
<%-- Content will be displayed from ajax call 1 --%>
<%-- Content will be displayed from ajax call 2 --%>
</table>
</td>
</tr>
</table>
.. more html
The ajax call returns the following html
<tr>
<td class="wpss_checkboxtd"><img width="16" height="16" src="../../images/someimg.png"></td>
</tr>
<tr>
<td class="wpss_checkboxtd"><img width="16" height="16" src="../../images/someimg.png"></td>
</tr>
In jquery, I need to insert this html for which i need an element to traverse to so that I can call the html() of that element. Unfortunately, if I use a div, for example:
<table cellpadding="0" cellspacing="0" border="0">
<div id="divAjax1">
<%-- Content will be displayed from ajax call 1 --%>
</div>
<div id="divAjax2">
<%-- Content will be displayed from ajax call 2 --%>
</div>
</table>
the classes are setup such that the div or a span causes other issues.
View 3 Replies
Nov 5, 2010
I have this next gridview on my page : First name, Last name, ID.
It gets populated with data, and everything works great. I now wish to add a row just under the header (or above it- but I've been told it's impossible) with three checkboxes- one for each column.
Thing is- I geuss I would have to implement it programatically and I wasn't sure how could I pull this off.
View 3 Replies