Widgets - How To Make Embeddable Code
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
Similar Messages:
Mar 3, 2011
I was trying to create a Document Viewer that will support multiple Office Documents like (OpenOffice, Microsoft Office, PDF, and TIFF).Does anyone has an idea how to do this without using Flash or any software that will require a browser to download something? I am also looking for an Open Source Embeddable Document Viewer - Non Flash like the ff. Google Docs Viewer - [URL] viewer Zoho Viewer - [URL] Can any one give me so that I can start my project not from scratch.
View 4 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
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
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
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
May 11, 2010
This works and returns false ===> (username: <%= this._securityAccesspageBase.DirectReportAccesses.Count > 0 ? false :true%> )
This works doesnt work I was expecting false for the visible property:
[code]....
View 4 Replies
Aug 3, 2010
how can i optimized this code? i dont like to have case statement, is there a way i can improve this code?
protected void ddlFilterResultBy_SelectedIndexChanged(object sender, EventArgs e)
{tring selVal = ddlFilterResultBy.SelectedValue.ToString().ToLower();
itch (selVal)
{
case "date":
[code]...
View 6 Replies
Mar 25, 2010
As the title says, I wan't to run some code when the application starts. I have a vague idea that there is probably an event in the application life cycle but I am a bit unsure and could do with pointing in the right direction. So how do I make code run when the application starts?
View 5 Replies
Aug 17, 2010
I have a textbox (txtbox1) which has some value in it. I want to empty the value of textbox. Is that possible in code behind?
View 2 Replies
Sep 3, 2010
I need to create a code that reads the QueryString and set a value on the Session and on the end of the page I need to clear the Session.
How can I make a code like this to run on all .aspx pages?
View 6 Replies
Sep 21, 2010
is there a way i can optimized this code and make this extensions on web.config settings so i can read from there and in future if i need to add or remove i should be able to do easily?
if (fileExt.ToLower() == ".rtf" ||
fileExt.ToLower() == ".xls" ||
fileExt.ToLower() == ".doc" ||
fileExt.ToLower() == ".png" ||
View 5 Replies
Sep 23, 2010
Recently, I have read an excellent tutorial from asp.net, MVC music store.
I have discover that we can access to variable in strongly typed views like this:
[Code]....
It is very powerful!
Can we do the same with Web Form in aspx pages?
I ask this question because I think that ASP controls for data are very strict like gridview; in fact my real problem is that I want to make a loop in my apsx code and I think that I can't in Web form...
View 3 Replies
Aug 26, 2010
I have an asp.net mvc project, its build just from views, controllers, models, and other files. I have any codebehind file in my views. Does it makes sense to create them for using sometime? Is it some situation when they giving more abilities and advantage for developer?
View 3 Replies
Sep 2, 2010
I have a simple table
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
and a link
<a href=#>Click me</a>
Is it possible to make the whole block of html code disappear all in once after clicking the link in c#? I was thinking about a placeholder but i'm not sure
View 4 Replies
Feb 9, 2010
I was looking for a chat program, and I found it here in Code Project,Build a Web based Chat using ASP.NET Ajax (http://www.codeproject.com/KB/ajax/aspnetchat.aspx)The code is working perfectly,except 2 issues,can anybody tell me how can I overcome these issues?1-how can I get for example the last 2 hours chat from the database, when a new user enters to the chat room? I tried the getlastmessage stored procedure, but because of the refresh, it keeps showing the messages over and over. any solutions?2-In firefox after I hit the enter on keyboard I see two messages instead of one. sometimes it happens in IE too.
View 1 Replies
Mar 29, 2010
I can't seem to make the RCE work with the following code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> [code]....
View 7 Replies
May 10, 2010
I have two classes (say someclass.cs and someclass.generatedcode.cs). How do I make the someclass.generatedcode.cs inside of someclass.cs (something like a code behind) in visual studio?
View 12 Replies
Nov 19, 2010
Still new. What can I add to my site to get picked up by serch engines without paying for services? Right now if I do a search My site does not appear.
View 8 Replies