Tag | AJAX Posts

Problem:Recently I uploaded a ASP.NET2.0 website with a hosting provider (shared environment), and started getting this error when ever I wanted to load the providers declared on the config file:[SecurityException: Request for the permission of type 'System.Security.Permission... mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934... failed.] System.Security.CodeAccessS... demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessP... ...
In this post I will show you how to cancel a web Service call after it is invoked, I will also provide you some interesting findings (Maybe a Bug) in Asp.net Ajax Network Layer. There are plenty of examples available on how to abort an UpdatePanel AsyncPostback but none for the WebService. The following will show you how to do it. Since we are going to cancel a call we need a web method which wait for a long time to complete: The Web Method:[WebMethod()] public string LongOperation(int miliseconds) ...
It's been a while since I last blogged. I'm still doing my xna stuff on the side however, now that I'm working, and I'm engaged again, I'm having smaller and smaller amounts of time to dedicate towards xna. At work though, I'm still playing with .net. :) I'm recreating the Inventory Application that I made last year. This time with Ajax, Crystal Reports and an SQL Server. It's extremely complex, with lots of parts to it. Parts Technology Work Orders - Add notes, Complete, Due Dates for Work Orders ...
My second session at Tech Mela which was also the second session on the first day of Web Platform track was a Deep Dive on ASP.NET AJAX. The topic I did as Deep Dive was on Update Panel internals. Update Panel is the most popular ASP.NET AJAX Server control used widely for AJAX enabling your ASP.NET Pages. A better understanding of the same would help in using it in a better way. So, here I am providing the contents and the specifics discussed during my session. UpdatePanel is one of the important ...
Last month, I did a Virtual Classroom series on ASP.NET AJAX. It was a five day intense AJAX Webcast series with a lot of interaction by means of polls / questions from the attendees. The first day was an overview of different tenets of ASP.NET AJAX and the rest of the four days went into each one of the following topics in detail:- Microsoft AJAX Library ASP.NET AJAX Extensions AJAX Extenders AJAX Control Toolkit I thank all of those who took their time out and attended the same and I hope you found ...
I'm coming up to the midway point of my "How I am becoming a better developer in 6 months.", and I have a bit of catching up to do. Oddly enough, what I should have done is add in an area called "Get my passion back", although in April I don't think I would have posted "quit my job and go independent" as one of the goals. Anyway, I had a goal of reading a couple of tech books a month, but I'm just now starting to sink my teeth into some relevent geek-reading over the last month and a half. One of ...
The problem: If you have a user control for handling user input, meaning has some input controls, some validators and buttons using the same ValidationGroup, and you want to put that inside a repeater (or any control that has template repeat like DataList or Grid), and you click on the button on the user control of one of the repeater items, all the user controls will be checked for validation, not just the one in the repeater item you want. The reason: All the validators/buttons in every user control ...
Working on a web app, and we're using the AJAX Toolkit's Calendar control for selecting a date. I have a few drop down lists on the screen, but whenever I click the Cal control (which displays overtop of the drop lists), the drop lists appear on top of it...until the month is changed, and then it displays properly. I remember running into this sort of thing with DDL's earlier in my adventures with asp.net, and I remembered z-index settings to be the solution. Not so in this case. I came accross Scott ...
Another addition of my Ajax Control Development Article series. This time it is Asp.net Ajax Repeater. Check it out ...
I have been just informed that Scott Guthrie mentioned my Asp.net Ajax articles in his latest post. Check it out. If you find these articles useful, please vote for me to win the DotNetSlackers.com article contest ...
While visiting Asp.net forum, I found an interesting request, A forum member is trying to implement some validator controls where the member wants to call a Web Service method, since the nature of Asp.net Ajax is asynchronous the call does not return instantly. In the reply, another member from Microsoft provides some code which uses XMLHttpRequest to make a Synchronous call to web service. Certainly it does the Job but there is no flavor of Asp.net Ajax Framework. I am not sure the MS guy really ...
Wiktor Zychla has assembled a tiny AJAX framework contest between Visaul WebGui, ASP.NET AJAX and Ajaxium. Comparing a givven scenario he checked bandwidth consumption, requests per second, etc. The results as Wiktor wrote them are: "The VWG is an undoubt winner. It did a great job of serving the highest number of requests per second, 422, and is also a clear winner regarding the amount of data sent to and from the server." Contest context More than two years ago we've built a small web application ...
So I haven't blogged in while, I've been so busy I can't tell when it's night or when it's daytime... Well not really but you get the idea. I have been toying about the idea of actually coming up with some content (instead of just reporting other people's content ;-)) and I've decide it was time to do so. In the next few months (weeks if I can kick myself hard enough to do it) I'll write a series of post on Team Build. I've been playing quite a bit with it and I think there is a lot to talk about. ...
While visiting the Asp.net Ajax forum I found quite a few post on the User Name Checking when creating an User. This is very common request and it is available in many Websites, So I decided to create a small sample. The following shows the full code listing:<%@ Page Language="C#"%> <%@ Import Namespace="System.Web.Servi... %> <%@ Import Namespace="System.Web.Secur... %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml... ...
The post is a cautionary tail of the latest episode of common sense versus cool. AJAX is a great technology that allows webpages to have much richer content. Google Maps was the turning point for this technology as it brought the technology to the attention of the Technorati that has enjoyed a superficial level of hype ever since because it is encompassed as the lynch-pin of Web 2.0. The key part of AJAX is Javascript which is a language that all mainstream browsers, no matter what operating system, ...
A must read who wants to develop controls in Asp.net Ajax Framework. Covers in depth details of both client and server side programming. Check it out ...
Well, as promised I would start posting the code snippets and samples which I demoed at TechMela. I hope many of you who attended TechMela chose to attend the Web Platform track and stuck to it for the three days where we delivered exciting sessions on ASP.NET Futures, Silverlight and Windows Live. On the first day, the first session I delivered was on AJAX Enabling or Upgrading your ASP.NET 2.0 applications to AJAX. This article explains the steps involved. The first step in AJAX enabling your ASP.NET ...
There is a good audio talk show in .net Rocks with Mark Pollack who founded Spring.Net. Particularly this show would be more useful if you are not aware of the potential of Spring.Net. BTW Spring.Net has announced the release of Spring.NET 1.1 M1 (Milestone 1). New features and improvements in the release are below. * NUnit Integration: Aids in writing integration tests. Configuration of test cases via dependency injection and automatic transaction rollback * NHibernate 1.0/1.2 Integration: Simplify ...
Last couple of weeks I was really busy with some R&D works on Google Web Toolkit (GWT). May be you already know GWT is an open source software development framework for creating Ajax enabled web applications like Gmail. Wonderful thing about GWT is may be you don’t have any knowledge about Ajax or in depth knowledge in java script but yet you can develop very advanced Ajax enabled applications. So if you have a web application project and a team of java developers who don’t know much about web ...
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... As many of you have, I also have experimented with the pre-releases of .NET 3.5 and Visual Studio codenamed Orcas. I, for better or worse, installed this pre-release software on my primary development machine which has Visual Studio 2005. Despite having .NET 3.5 installed on my machine, my primary development occurred in .NET 2.0 via ...
While working on Ajax Data Controls Project, I need the generated HTML from an ITemplate. Here is the code that generates the html, some of you may find it useful. 1: StringBuilder output = new StringBuilder(); 2: StringWriter sw = new StringWriter(output, CultureInfo.InvariantCulture); 3: HtmlTextWriter htw = new HtmlTextWriter(sw); 4: 5: Control control = new Control(); // Create a Fake control to act as a Container 6: 7: template.InstantiateIn(cont... // This is the ITemplate 8: control.RenderControl(htw);... ...
I personally hate to open blogs, that just have list of links without more useful information. But as I wrote in Ways to store bookmarks/favorites post, blog is a convinient way to save favorites. So I will just save links for now, and hopefully will add more comments about them later. FIDDLER supports HTTPS, ensure that "Capture HTTPS Connects" and "Decrypting HTTPS traffic" are ticked in in "Fiddler options". However running Fiddler in "https mode" can have side effects, e.g. my connection to TFs ...
Yesterday we started accepting FREE registration for the 2nd Demo Day. If you remember from the 1st one, Demo Day is an event we love to hold being our way to expose knowledge and most importantly excitement regarding the latest pre-release technologies to the developer community in Egypt, mainly focusing on technologies bound to Microsoft, as our chosen method of getting things done, plus other technical inspirations that we'd think most developers would benefit from, at least as a new way of thinking. ...
In my job at Microsoft, I am forced to be a generalist, knowing about all development topics. I find it too easy to allow myself to find excuses to not commit the time to go deep and completely understand a topic. But sometimes along come some very intriguing topics that really peak my interest. The current set of technologies in the .net framework, specifically WCF, WPF, WF, and Cardspace were the first to grab my attention. And the Next Gen web UI stuff in the form of Silverlight really needs a ...
Yeah, Tech Mela is over now. I am back home after an extensive week of travel / planning / tensions and some useful presentations. Last month has been a busy month with me delivering "Next Web Day" Sessions in two cities, "AJAX Virtual Classrooms" for five days and a few trainings for our partners. But Tech Mela was the big daddy of all. The amount of work and planning we had to put to bring this up is phenomenon and the results have shown the same. TechMela was a huge success considering the volume ...
What is Code Camp? Code Camp is a FREE one day event held on Saturday July 14th 2007. This is the third year for Tampa Code Camp. The event will have speaker's from the local community and beyond. Speakers will be presenting some of the most requested topics like ASP.NET AJAX, Visual Studio Orcas, Silverlight, Widows Presentation Foundation, Sharepoint 2007 and SQL Server 2005. This event is like Tech-Ed for Free but it's community driven and its the only place you can get this content for free. ...
My daily Silverlight 'Pick of the Litter' from the web, I will add on as I come across others Performing a hitTest with Silverlight This is something folks are really wanting... it's done in JS, but uses part of the AJAX library. If you're cool with that, this is good to go! Enjoy! Silverlight Web Articles I've tagged and My Silverlight Articles and My Silverlight Tutorials ...
A Day of AJAX in Tampa! So, if you are in the Tampa Area and have not heard about this event you should check into it. There will be a free event at the Microsoft Office in Tampa on June 21, 2007. This event will be an entire day of AJAX training featuring Jim Zimmerman, Jay Kimble and our very own Developer Evangelist Joe Healy. Check it out here and make sure you register since space is limited. Click Here To Register ...
I have just started a new Project in CodePlex AjaxDataControls. I am planning to include GridView, DataList, Repeater, DetailsView, FormView and ObjectDataSource in the initial release. Since the Asp.net version of these controls does not have any object model in the client side as those were released long before Ajax framework, currently the only choice available working with this controls is to surround these controls in an UpdatePanel. UpdatePanel is a great option for developing Small/Mid size ...
While installing the eScrum template I ran into some pretty cryptic issues with the project management site working. This is the site that installer ask you what virtual directory you would like to associated it with. The app was returning me the error: Failed to retrieve WorkItemStore Service on server: SERVERNAME or there is no project found with name: PROJECT NAME. The unfortunate problem with this issue is that it has nothing to do with the actual project not being found on the server, but what ...
At TechEd this year, Infragistics showed a cool proof-of-technology demo based on the Silverlight 1.1 framework. The demo shows not only how developers and designers can use the power of Silverlight to create some amazing user experiences by combining rich media and content, but also demonstrates three prototype Silverlight-based controls we have been working on, an Image Slider control, Slider Panel control, and Chart control. If you were not at TechEd, you can check out the demo online at http://labs.infragistics.com ...
I have to say I am excited to see Microsoft release a new process template named eScrum. After installing it I must say I am pretty happy thus far. Steve Loethen goes into more detail about what the template offers. One issue I have with these new Microsoft project that use other downloadable Microsoft project to build their solutions are the constant list of separate download and moving dll. Just push the version you used with the download. In eScrum's case, they have you download ASP.NET AJAX, ...
eScrum: Agile Project Management Tool eScrum is an end-to-end Project management tool for Scrum. It is a web based tool built on the Microsoft Visual Studio Team Foundation Server (TFS) platform. Its components include a web interface,and a TFS Process template. With the increased adoption of Agile methodologies and TFS, eScrum fills an important gap of having an integrated solution for customers. eScrum external offerings: o Multiple ways to interact with your Scrum project, with integrity of data: ...
With less than 24 hours to go for TechMela to begin, I thought I should brief a little about the sessions that I am going to deliver in the Web Platform track. The first session is going to be on Upgrading your existing ASP.NET 2.0 Applications to AJAX. Many of you have invested already in ASP.NET 2.0 and built cool applications. Now you can find out how you can upgrade those existing applications to ASP.NET AJAX. The session is going to talk about the intricacies and tips / tricks while upgrading ...
Daniel Moth has an excellent post that explains what makes up the .NET Framework 3.5. This post also sparked a very good discussion on The Code Project. There are two elements that make up version 3.5 of the Framework: the "green bits" and the "red bits". This model is aimed at minimizing the impact of delivering new features and functionality. The red bits are those parts of the Framework that exist in release today, which include the .NET Framework 2.0 and 3.0 releases. The green bits are brand ...
I had a pleasure of looking into the new ASP.NET AJAX site and getting my new computer set up for some AJAX fun. And boy has it been a while since I have gotten the new tool sets. The control sets look great. The control list grew! http://ajax.asp.net/ajaxtoo... Everything links in, there are tool bars - I'm glad to be back in the AJAX land. I recommend watching the intro videos posted on the ASP.NET AJAX site [if you have not worked whit AJAX in a bit] http://ajax.asp.net/ So if it's been a while, ...
Let us not beat around the bush, Google is the default search engine for much of the Internet, I need look no further my blogs site visitor statistics for evidence of that! 46% of my visitors come via search engines and 93% of those come via Google. So thank you Google for sending me nearly half of my readers! Ok so Google is popular but I'm not married to Google, I don't own shares, so my loyalty only comes from Google being good at it's job and helping me find relevant sites after entering my search ...
Visit http://www.silverlight.net for more information, downloads, samples, etc. Silverlight is a browser plug-in that runs on IE, Firefox and Safari - Windows and Macs Silverlight is a vector rending engine that supports an upward compatible 2D subset of WPF graphic description language XAML Silverlight has built in media support for wmv, wma, mp3, jpeg and png files on both windows and MAC with a few lines of code and WITHOUT media player The 1.0 Version of Silverlight supports javascript client ...
TechMela is almost here. If you have been following my posts on TechMela you would get the volume of the efforts we are putting into this event. With 3 Days, 7 Tracks, 150 Sessions and 300 HOLs, its the biggest event we have ever managed to roll out and this could not happen in all the cities considering the efforts required and the varied audience requirements in different cities. TechMela Web Platform track is all about the Web and its new paradigm and the bunch of technologies floating around ...
Admittedly there are other Silverlight Tutorials available, and of course there is the QuickStart delivered with the SDK. I'm seeing some of the same questions asked again and again on the forums and at the same time seeing Silverlight presented in 'basic' tutorials with AJAX and Visual Studio all merged together. That's one way to do it, and is certainly a good user experience, but in my mind muddies the water for a good developer experience trying to get his/her arms around Silverlight. To that ...
My Recent article Asp.net Ajax Grid and Pager is a huge hit. Currently it is in Asp.net front page. I have recently added Column Drag-Drop Support. If you find the Control exciting, please vote me to win the monthly article contest at DotNetSlackers.com ...
Have you ever renamed a deployed database in SSMS and then tried to deploy changes using BIDS? I don't imagine that it is too common an occurrence as it does not work! I renamed the "Adventure Works DW" sample to "Adventure Works DW1" in SSMS and then told BIDS to deploy to the "Adventure Works DW1" database and got an error that the "Adventure Works DW1" database already exists - of course it does. If you capture the XML/A that BIDS is sending you will notice something strange. The ID and the Name ...
Tampa Code Camp for 2007 has just been announced. Registration just opened on June 4, 2007 so there is still plenty of room, but there is a maximum attendance of 400 people so space will fill up quickly. This year, the event has moved to the St. Petersburg College (ICOT Center) in Largo, Florida and will be held on July 14, 2007. The new location promises larger rooms and state of the art AV equipment. If you have never attended Code Camp or don't know what it is, Code Camp is a free one day event ...
http://aspnetresources.com/downloads/MS%20Ajax%20Client%20Life-Cycle%20Events.pdf
I have an UpdatePanel on a page within a web application that is using Forms Authentication. The UpdatePanel callback executes as a result of a custom JavaScript function that calls __doPostback. If a user loads the page in question, but then allows the forms auth ticket to expire on the server due to inactivity (i.e. goes to lunch, goes home for the day, etc) and then interacts with the web page to fire off the UpdatePanel callback, the partial postback fails b/c the forms auth ticket is expired. ...
In my previously article I have presented the Asp.net Ajax Grid, I am currently writing a comprehensive guide of Developing Asp.net Ajax controls. This will certainly help you to write your own custom control. If you have not checked my previous article I strongly recommend you to read it first.
Cream, as in 'Pick of the Litter' is always subjective, but this is my list for today as I view my Morning Paper, and will add on as I come across others IsolatedStorage and managed JavaScript Michael Schwarz is continuing with his run of Silverlight/JavaScript postings, well worth the time. Silverlight 1.0 and OnLoad Michael Schwarz continues with a discussion of the Beta 1 changes to onLoad. Call Scribtable Methods from JavaScript with Silverlight On May 21, 2007, I referenced a post by Dave Relyea ...
The Palm OS and hardware has seen it's share of hurdles over the last several years and tripped over most of them as the handheld market has moved to smart phones. The Treo was an early entry into that market and looked very promising. But was the inclusion of a Windows based Treo the beginning of the end? What to me looks like a last desperate grasp of a dying company comes the Palm Foleo. It looks like a low end, light weight, crappy laptop that's an Internet only device. (How many of these Internet ...
My recent article "ASP.NET Ajax Grid and Pager" has been published in DotNetSlackers.com. A fully designer supported Ajax Control, which mimics the GridView Control in client side. Please vote for me if you find it useful ...
We did the Next Web Day in Hyderabad last Sunday and had a good number of audience pouring in, despite it, being a Sunday and with short notice. Our sincere apologies though, for the short notice. I presented on Microsoft ASP.NET AJAX & Windows Live and my friend Pandurang Nayak presented on Silverlight. If you had missed the action you can catch up the same from our online webcasts, which we did, couple of weeks ago. The webcasts can be downloaded from http://www.microsoft.com/in... ...