i 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?
I 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:
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 fairly inexperienced with JavaScript and jQuery,but I need both for the ASP.Net website I'm working on. I am slowly figuring it out, but I've been relying heavily on StackOverFlow.Does anyone know of any tool (preferably free) that makes debugging JavaScript and jQuery easier?I've been using Firebug which has been helpful,but I guess I'm just spoiled by Visual Studio's debugger and intellisense.Is there anything like that for JavaScript and jQuery?It would sure make my life easier if there were?
I am trying to get the .NET Framework Configuration Tool installed on my server. I am running windows server 2008 with .NET 3.5 SP1 and Visual Studio 2008.
I have dowloaded and installed the lastest version of the Windows SDK but the .NET Framework Configuration Tool is still not installed.
I searched the drive on the server for the mscorcfg.msc file and it is not there but the mscorcfg.dll is there.
After the installation of Windows SDK the program manager now shows the Windows SDK v7.1 option with a group of programs under it, but none are the .NET Framework Configuration tool.
Does anyone know how I can get the .NET Framework Configuration tool installed?
i'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 thought I heard that in .net 4 we would be able to reference asp:textbox's by id and not have to use clientid to get the value. I can't find this documented anywhere. Just wondering if anyone knows if this works and what the syntax is?
I thought I heard we would be able to get the value of an asp:textbox by id with javascript in the .net 4 framework? was I mistaken? if not does anyone know the syntax?
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?
We 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?
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?
Is 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?
i have an app runs on framework 1.1 but now i have to move to framework 2.0 ... because i need to update dropdownlist with autocompleate mode but ajax control toolkit just work with .net 2.0 ... the problem is they ask me that i have to be done asap i have problem to convert my app to .net 2.0 and if i have lot of problem how can i handle the dropdownlist wiht autocomplete mode without ajax control tool kit
I am new to entity framework , it is really very good , but I want to know what is the difference between using entity framework with stored procedure or without stored procedure , which one the faster and what is the benefits for using stored procedures with entity framework.
I know red-gate's ANTS Performance Profiler but it works with source code. I have an ASP.NET web application that is deployed on a remote server. I'm going to test its performance while it is working on the server.
My main goal is to detect what method of what class is slow and then is a bottleneck. Is there a way or a tool?