How To Integrate With DOJO Framework
Dec 30, 2010what's the best way to use Dojo Widget with Asp.NET ? For example: how to bound a grid with a datasource?
View 1 Replieswhat's the best way to use Dojo Widget with Asp.NET ? For example: how to bound a grid with a datasource?
View 1 Repliesi would like to create a web application using DOJO. I'm an Asp.Net developer, but, about javascript framework, i really like Dojo instead the Ajax Control Toolkit by Microsoft. So i'm asking you if exists some Visual RAD Ide for (for example) Dojo, or maybe, how can i integrate / write Asp.Net database driven apps with Dojo? Is it possible and... simple?
View 1 RepliesI have a page which contains an ASP UpdatePanel, and within the UpdatePanel, there is a button styled using Dojo with a dojoType of dijit.form.Button. When the UpdatePanel updates, the button loses all of the CSS styling, so it reverts back to an ordinary looking html button. I'm presuming this is because the dojo methods don't get called on a partial page postback, causing the button to get redrawn by the server and posted to the page, and dojo not being told about any of this. Also, the "dojo/method" script is no longer associated with the button after the update. This is the button:
<button id="btnShowMessages" dojoType="dijit.form.Button" type="button">
Show failure messages
<script type="dojo/method" event="onClick" args="evt">
dijit.byId("dlgFailedMessages").show();
</script>
</button>
This is wrapped in a standard ASP UpdatePanel with an ASP LinkButton causing the update (also located within the UpdatePanel, so nothing is required in the <Triggers> tag). Is there any way of making dojo aware of the partial page update? So that the button keeps it's style and dojo is still able to attach the method to the button.
I'm a MVC[3] noob trying to intergrate html5 framework in the shared [site] layout. Just getting the index page to load is not working. I started from scratch (new MVC3 project). I also compared the web.config files and the controllers to the MVC3 sample project from asp.net/mvc site. Everything appears to be in order.
View 6 Repliesi've tried to get an asp.net dropdownlist control to become a dijit combobox but it's not working. i've tried this:
<asp:DropDownList ID="ddlUserID" dojoType="dijit.form.ComboBox" runat="server"
DataTextField="FullNameAndUserName"
CssClass="stdtext" DataValueField="UserID" AppendDataBoundItems="True"
AutoPostBack="True"
meta:resourcekey="ddlUserIDResource1" EnableTheming="False">
<asp:ListItem Text="(All Users)" Value="0" meta:resourcekey="ListItemResource1" />
</asp:DropDownList>
<script type="text/javascript" src="../scripts/dojo/dojo.js"></script>
<script type="text/javascript">
dojo.require('dijit.form.ComboBox');
</script>
the path to dojo.js is relative to the containing parent page of the ascx control and loads fine according to firebug.
the rendered html is this:
<select id="invoiceReport1_ddlUserID" class="stdtext" dojotype="dijit.form.ComboBox" onchange="javascript:setTimeout('__doPostBack('invoiceReport1$ddlUserID','')', 0)" name="invoiceReport1$ddlUserID">
</select>
<script src="../scripts/dojo/dojo.js" type="text/javascript">
</script>
<script type="text/javascript">
</script>
<script type="text/javascript">
looking at the examples from http://docs.dojocampus.org/dijit/form/ComboBox
i cant see why the resulting select tag is not a combobox.
i've also tried this:
HtmlGenericControl ctrl1 = new HtmlGenericControl("Script");
ctrl1.Attributes.Add("Type", "Text/Javascript");
ctrl1.Attributes.Add("src", "../Scripts/dojo/dojo.js");
this.Page.Header.Controls.Add(ctrl1);
HtmlGenericControl ctrl2 = new HtmlGenericControl("Script");
ctrl2.Attributes.Add("Type", "Text/Javascript");
ctrl2.InnerText = "dojo.require('dijit.form.ComboBox');";
this.Page.Header.Controls.Add(ctrl2);
In the code below, I am trying to apply a Dijit theme to the controls in my .aspx page. However, the controls persist in their normal, unthemed appearance.
Master Page:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Main.master.cs" Inherits="WebJournalEntryClient.Main" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>My Web Application</title>
<link rel="stylesheet" href="dojoroot/dijit/themes/tundra/tundra.css" />
<script type="text/javascript" src="dojoroot/dojo/dojo.js"/>
<script type="text/javascript">
dojo.require("dijit.form.Button");
dojo.require("dijit.form.TextBox");
dojo.require("dijit.form.ComboBox");
</script>
</head>
<body class = "tundra">
<form id="form1" runat="server">
<div>
<div>
This is potentially space for a header bar.
</div>
<table>
<tr>
<td>
Maybe <br /> a <br /> Side <br /> bar.
</td>
<td>
<asp:ContentPlaceHolder ID="CenterPlaceHolder" runat="server"/>
</td>
</tr>
</table>
<div>
This is potentially space for a footer bar.
</div>
</div>
</form>
</body>
</html>
Content Page:
<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="LogIn.aspx.cs" Inherits="WebJournalEntryClient.LogIn" %>
<asp:Content ID="Content" ContentPlaceHolderID="CenterPlaceHolder" runat="server">
<div>
User ID: <asp:TextBox ID = "UserName" dojoType="dijit.form.TextBox" runat="server" /><br />
Password: <asp:TextBox ID = "PassWord" dojoType="dijit.form.TextBox" runat="server" /><br />
<asp:Button ID="LogInButton" Text="Log In" dojoType="dijit.form.Button" runat="server" />
</div>
</asp:Content>
i want to create an Asp.Net application (not mvc) that seems desktop like. I know that i can use a javascript framework like jquery or, better, Dojo.
But i don't know how to approach for doing this !!!
For example: how to populate a dojo grid via server side code that retrive database data ?
Or: how to show a dojo (or jquery) popup via server side code ?
I host a website that has recently been upgraded from .NET Framework 2.0 to .NET Framework 4.0. Within the website, I have an instance of BlogEngine which still requires .NET Framework 2.0. Each website is in it's own application pool. My issue is that when I browse to the blog portion of my website, I receive a 500.19 error with the following information...
The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration The web.conf file that is listed in the error message is the config file that belongs to my root website which is running .NET Framework 4.0. How do I get the two websites to run together in the same website using different versions of the .NET Framework?
I have this cenario:One server (machine) that have framework 3.5. And one site (website) developed for framework 3.5.This site can not be modified (rebuild in other FW version, or others changes).
I'll developer a new webapplication (WAP) in framework 4.0 (using microsoft visual web developer 2010).
As I know, the new webaplication work in the server, if I install framework 4.0 in the server.
My question is: Can I install the framework 4.0 on the machine that already have framework 3.5. And continue have sites working with other frameworks version?Or, should I develop my new webapplication in framawork 3.5 ?If I can install the framework 4.0, do I need make some specify configuration during the installation?
what is Features added in Framework 2.0 over the framework 1.1? i want in Details?
View 2 RepliesDifference between .net framework 2.0 and .net framework 2.0 with service pack 2
View 4 RepliesWe are developping with .net framework 2.0 on our dev station and we deploy on web server and client desktop a 3 tiers smart client app. what is the impact of ugrading to .net framework 2.0 sp2 on our web servers WITHOUT upgrading on dev station and compilation servers?
View 2 RepliesI recently I have upgraded my web application from 1.1 to 3.5.
Now the problem is support DLLs used in this application still in 1.1 only.
There is no way to change it. While accessing from 3.5 it is not showing any error msg.
But not giving expected results.
Is there any way to run this particular assembly in 1.1 and other in 3.5 ?
I have an old Web application which is using net framework 2.0(build with vs2005), now i need to move the old Web application to production server which has .net framwork 3.5 installed. Do I need recompile the web application with vs2008 or i can just go head move the the Web application without recompiling, it will automatically work?
View 4 RepliesIs it possible to call a C# method and asp.net page through php?
View 3 RepliesI've been building an ASP.NET MVC 3 web application for about 11 months now, and I have some content based components that I'd like to separate from the actual HTML views and move to more of a CMS system. This will allow the communications people in my company handle that portion of the content without requiring the web app to be redeployed.I'm not looking for a full CMS system. I have specific places in the web app where I want to be able to include CMS based content, and I'd like to be able to host a blog on the CMS as well.
View 2 RepliesI am working on three tier application.
1.UI
2.BUZ
3.SQL
I want to integrate LINQ in existing application , can any body suggest what should i have to do for integration LINQ.
I am looking for CMS which I can integrate into my Asp.net project. That means that I do not want to integrate my website into the cms because I want to use Visual studio for development. The CMS should dynamicly publish the website structure/definition, content and sitemap from database. Also a Richtext-Control for Editing and Authoring is required. Very important is, that I can use the standard Asp.net Functionality (SitemapProvide, Masterpage, Controls, Global.asax) and that I can control the CMS over API.
View 6 RepliesI want to integrate SAP with ASP.NET C# application. What is the best possible & widely used industrial approaches to carry out this integration?
View 1 RepliesIs there a way to export a EF 4.0 Data Model to EF 3.5?
I looked around and found that we are not able to access EF 4.0 from a ASP.Net 3.5 project here: [URL]
Our project is the 1st to go to .Net 4.0 using Entity Framework and we (the team) were wondering if there was a way for the other projects that "might" need to access our data that are still using the .Net 3.5 framework.
I have two questions, could anybody please answer to those:1) Do I need to install Dotnet framework 2.0 if dotnet framework 3.5 is already installed on the same server?2) Also do I need to install "ASP.NET 2.0 AJAX Extensions 1.0" if higher version is installed on the same server?
View 8 RepliesI have been trawling the internet trying to find a solution but all fingers point to Ajax which is not an option in my environment.
When running complex SQL queries or uploading files i would like to display some kind of messge or animated gif to tell the user its thinking as one or two users are getting impatient.
I am assuming some kind of semi transparent or popup javascript window that over lays the page until the task is complete.
Does anyone have any sample code that can be integrated within my ASP/VB webpage?
Does VS 2010 intergrate better with sql server r2 like are there any benifits of using sql 2008 r2 over plain old sql server 2008. When I installed VS 2010 it installed packages for sql server 2008 R2 and I was wondering why R2. I dont have sql server 2008 R2 just 2005 and 2008 so I'm questioning if I it's worth getting R2. [URL]
View 3 RepliesI have a web application written in ASP.Net. When a user clicks a button in my application I want to open a MS Word file. How could I do this?
View 1 RepliesOne of my client wants to track his cars/cabs from his own house... So i thought of getting help from our fellow users of SO... Is it possible to integrate GPS system in an asp.net web application? If so,How to get started... Any webservice that does it for me? Should i use google maps api?
View 2 Replies