I have never used Visual Studio 2010, ASP.NET, or ASP.NET AJAX but I'm doing my best to learn. To that avail, I'm usingProgramming ASP.NET 3.5, a book that Jesse Liberty co-authored. This book was written with Visual Studio 2008 as the programming tool of choice. I'm using VS2010.
As I follow this book line by line and do the given exercises, we have an existing web form project active and he asks for the reader to right-click on the application root in Solution Explorer, click on Add New Item, and then Select AJAX Web Form from the list of templates. The problem is that in my VS 2010 (with the AJAX Control Toolkit installed) there is no option in the list of templates for an AJAX Web Form. There is an option for an AJAX-enabled WCF Service, but no AJAX Web Form.
As I explained, I'm brand new to this and only on page 95 of this book. what I need to do or to add to an ASP.NET web form to make it an AJAX Web Form? And as a follow-up, will I need to add a reference for jQUery along with the AJAX reference?
One final question, I tried to create a blank AJAX Web Site (project) in VS 2010 by clicking on File->New->Web Site-> but there was no AJAX Web Site template for the next selection. I can create an ASP.NET Web Form. So my last question is how does one create a new AJAX Web Form web site in VS 2010.
I installed the AJAX Toolkit (for .NET4) onto a new Toolbox tab in Visual Studio 2010. However, when I try to drag any of these controls onto my Web form in design mode, they won't stick. My mouse pointer changes to 'disabled' (a circle with a diagonal line thru the middle) as soon as it hovers anywhere over my target form. Is there some additional action I need to take to make VS "recognize" these AJAX Toolkit controls?
i have created loing form and create user form. then how to apply login rights..? i have 2 types of user. admin and normal user admin can move and use all pages while normal user can acces limited pages.
I have one big panel called Panel1. Withine Panel1 I have Panel2 and Panel3. WHen I drag the panels into Panel1, Panel2 is on top of Panel3. How can I get them side by side?..
another is how can i create a windows form in .aspx file... with using ajax control or coollet..
Is is possible to build a form, accept parameters and from THAT construct a new .ascx page AND the code behind for that page? What I'm proposing is having some code snippets that just need parameters added and can then be used to create a web user control that can be added to existing pages. This .ascx file would be a real file after creation, not dynamic every time.
I have a standard web app. My default page has a WebMethod and the WebMethod gets invoked by Json from client script. On my webForm I have an area that displays messages to the user showing the stage in the process and this is just a <asp:label>. if The webmethod had been a standard method, I would simply have done something like myLabel.Text = "sometext". However, the webMethod knows nothing about the label and so I need to bubble the value to the form. If I had called the webmethod from the codebehind in the form I may have been able to use delegates/events, but the call was made by the client, so I have not wired the webmethod up to any codebehind. How do I push my text back to the form in an asyncronous manner. So the code works in this way: Form load populates some controls on the client. The user perfoms some drag and drop then presses a standard html input button that calls a client ajax/json method passing the dragged values to the webmethod. I then need to feed back to the screen at several points in the webmethod process to inform the user of the current status.
I would like to create and deploy an ASP.NET web form on SharePoint server which can create document in SharePoint list (or library). Since I'm not experienced in both these technologies so would appreciate if someone guides me to the right tool. Should I use Visual Studio or SharePoint designer ? Also, I was reading an article on MSDN about "Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder". Is it the best practise or should I go with webpart/solution based deployment?
I've designed and built this form using Visual Studio 2010 in design mode and set the appropriate controls for each function example txtemail for the text field. Here's a link to the form I did so far you may view my source code, the mission im trying to accomplish is to reset the form by clearing all fields and clearing all validations.
I'm currently studying the Asp.Net VB in TAFE too.
I have a webform that has a button. When the button is clicked, it gathers some records from a database and is supposed to update the UI with each record pulled. But for some reason, the UI only updates when the operation completes. I've posted the markup below. I can post the code if needed.
I have a page with a ScriptManager / UpdatePanel. I currently need to PostBack to a https page from an http page (different ports). I also need the same session data. Currently, I copy my form to a new form, and when I postback to my new Target on a new Port, I get a crash in xmlHttp..something. I will have to post more details later.
I'm currently wondering if this is possible. And does anyone know of such a fix. I even tried to Turn off Partial Rendering and I still get crashes. I can't do this until I pull out the scriptManager / UpdatePanel.
I had another thread on this problem but I wanted to start this one so no one had to look at the code I posted in the other thread. I have a successful connection but want to display data from the SQL database on my website in my Windows form application. Here's the code I have so far. Used some of the ADONET Tutorial1 here. The table Ray Rover Activation has a number of different columns but to start out I just wanted to see if I could display data for the EmailAddress column.
Code:
[code]....
If I comment out the Sub DoStuff I don't get any errors but neither is anything displayed other than the messagebox message. If I don't comment out DoStuff then I get an error, "Incorrect syntax near the keyword 'FROM'". Maybe someone could enlighten me some on what I need to do get the data in the column EmailAddress to display.
I'm just starting with using VWD and asp.net to create web sites.
I can't get a handle on how to use absolute positioning of asp server controls like the label, textbox, dropdown, etc. on a web form.
I've set the option in settings under CSS styling to change positioning to absolute when dragged from toolbox.
I've set the web form to use absolute positioning at every tag and property I can find.
When I first add the web form, I select absolute positioning. For each control I set absolute positioning and so on. I can see the tags in the source have the style property setup with position: absolute.
But the controls on the form will not move on the page to a absolute position.
Sometimes I can get a button or textbox to move, but not always.
I'm used to designing windows forms and this has been very frustrating.
I am trying to change the connection string for the registration form in VS 2010.
This is because it links to the local database in the App_Data which I need it to link to another database. I have changed the connection string in the webconig file and this works file for other forms I have created but does not allow me to create new users.
I have used the ASP.net 4.0 template when creating this website.
In the load event of a web user control I have the following code which I am using to call a function in order to populate a HTML Text Area.The page hosting the control loads fine the first time it loads but on postback it throws the error
Quote:System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client I have seen people suggest <%@ Page ... validateRequest="false" %>
Firstly I would like to handle this at control level rather than on the hosting page .
Code: if (!Page.ClientScript.IsStartupScriptRegistered("AddText")) { Page.ClientScript.RegisterStartupScript [code]....
i have a Dynamic Questionnaire that is created using dynamic data from the Database. My data in the Database contains the fields like
QuestionID - Primary key Question - The Question Text Answer - The Answer Required - This is a Validation , i used this to enable the Required validator in asp.net DataType - This is the Datatype, it can be a Heading also. ReadOnly - This check if that Question is a Read-only , This happens most of the time , when it is a Calculated Field, meaning its values depends on other fields values. Order - This is the order the Questions will appear Section - This is the section, So the Questions are Grouped. Normally in Page1 you will have Questions for Section 1....... Deleted- This is a bit Field , its either 1 or 0 , 1 is active, so this will be to Filter only active Questions QuestionType- This is the Type of Control the Data should be Presented with, It can be a Dropdown ,checkbox or textbox.. QT_ID - There can be many Templates of the Question , this makes sure we use the Correct Template for the Questionnaire
So with this kind of Data , i want to use know , what asp.net Control can i use to achieve this.
After opening an existing proyect in visual studio 2010, the web form in design view doens't work. All server control puts a gray box with the following message : Error Creating Control - imgTransportistaSession state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration><system.web><httpModules> section in the application configuration.
adding a scrolling news section to a web site? I'm thinking about allowing a user to enter news into a database and use Javascript to make the news scroll once its displayed on the page. Is this how it is typically done?
I have been given a task to write a program to automatically create a 2010 exchange mailbox. My research tells me to use powershell but I can't seem to find the namespace to reference and would like some sample code. I found some code on the web but I don't know what the namespace is for PowerShell. I think it might be System.Management.Automation but when I try to reference the namespace it does not exist in the list of dotnet. All I have is System.Management and System.Management.Instrumentation.
I have a directory with sources of a web application (developed with visual studio 2008) without solution's files. Now I want to create a new web application in visual studio 2010, whit the existing sources.
I would like to create a secure login page for a pre-defined set of users (so no creating username/passwords by the users themselves). I've looked up a few sites and they all seem to using Microsoft's Membership or something. I am not very sure as to why that's used, but all you need to know is that I will be creating the login details. I just need to make the login secure, ie, no duplicate logins, no logins from different browsers and cookies and sessions and encryption and all that.