Tag | ASP.NET Posts

Few months ago I've been seeing many users in the forum asking how to generate dynamic textbox on the form and save the values to the database on Button click, so I've decided to write this post and wrap up all the examples that I wrote before on how to accomplish the task using different controls so that when I encounter such or similar questions again in the forum, I can simply refer them to this post. Here are those examples: Using ASP Table: FAQ: Dynamically Adding Rows in ASP Table on Button ...
Technorati Tags: ASP.NET,TreeView,jQuery When we expand TreeView node JavaScript function TreeView_ToggleNode gets executed (it’s part of the TreeView control itself). So we will “override” this function and add our own functionality to perform scroll to the expanded node. To find source code of TreeView_ToggleNode function you can use IE Developer Toolbar or Firebug. I removed some code from this function that I don’t need to make it shorter. Here is the result. Everything should be pretty self ...
Technorati Tags: ASP.NET,TreeView,jQuery If we have TreeView inside of the div with the fixed width and height we want selected node to be visible after postback. Here is small JavaScript function that does this (you don’t have to use jQuery as I did to get the result): 1: function ScrollToSelectedNode() 2: { 3: //* get selected node id 4: //* 'tvwScrollTo' - is our tree view id 5: var selectedNodeID = $('#<%=tvwScrollTo.ClientID %>_SelectedNode').val(); 6: 7: if (selectedNodeID != '') 8: { ...
Visual WebGui was chosen by Channel Web within 20 Coolest Cloud Platform Vendors among the list you can also find Amazon EC2, Google App Engine, Microsoft's Windows Azure and AT&T. Cloud computing is poised to make big gains in 2010, Here, we take a look at the 20 coolest cloud platform vendors vying for solution providers' attention. Its Visual WebGUI platform is a way to enable enterprises to create rich and responsive Web applications with solid performance and security. And while Visual WebGUI ...
In this Issue: Andrea Boschin, and Walter Ferrari Shoutouts: Scott Guthrie has a great post up: About Technical Debates (and ASP.NET Web Forms and ASP.NET MVC debates in particular) SilverlightShow has Featured Author: Interview with Silverlight MVP Andrea Boschin SilverlightShow reports Silverlight MVP András Velvárt tells the story behind the creation of his portal www.response.hu, and two of his award-winning projects SilverlightShow also has an Interview with Telerik Silverlight Unit Manager ...
Technorati Tags: TreeView,ASP.NET,JavaScript TreeViewClientID_Data.selec... where TreeViewClientID_Data is the name of the TreeView javascript object that has “selectedNodeID” property. We can easily load this object and get selected node id like this: 1: Sys.WebForms.PageRequestMan... 2: 3: function EndLoadedHandler(sender, args) 4: { 5: //* make sure that object is fully loaded 6: var data = eval('<%=tvwScrollTo.Cli... %>_Data'); ...
In this Issue: Fredrik Normén(2), Antoni Dol, Alex van Beek, Rishi, Mike Taulty, Giorgetti Alessandro, Michael S. Scherotter, Jesse Liberty, Jeremy Likness, and Anoop Madhusudanan. Shoutouts David Kelley announces a podcast: Lunch With Interact - MVVM For Tards I don't keep a close eye on it, but sometime in the last two days, @SilverlightNews has hit 4000 followers... thanks to all the readers! From SilverlightCream.com: Aspen – A sample app using Silverlight 4 and .Net 4.0 – part 5 of X – New Repository ...
"Our customers were astounded how fast we could present them with the first prototype of their application… We considered using ASP.NET Ajax but in the end decided that the ease of UI development was a major reason for choosing Visual WebGui" Learn why Chakraborty Software chose Visual WebGui Ajax applications platform as the development tool for the user interface (UI) of their HR web based solution, what made them choose it over asp.net Ajax and how Visual WebGui helped them save 25% on their overall ...
In this Issue: Deborah Kurata, and Praveen. Shoutouts: David Anson announced: Update to free ConvertClipboardRtfToHtmlText tool and source code gives more compact output Jeff Handley reports My Stretch Goal: To Ship RIA Services Source Code ... give him some feedback Laurent Bugnioin posted The MVVM landscape at MIX10 ... I hope to see them all :) Benjamin Roux posted this: The Memoirs of Sir Isaac Newton's life in Silverlight, and there are other manuscripts on the site as well. It turns out I had ...
On February 4th, I will be presenting .NET 4.0 and Visual Studio 2010 at the Microsoft office in Reston as part of my company’s continued efforts to provide education on Microsoft technologies. This presentation will cover a wide breadth of technologies that are being launched by Microsoft this year. The presentation is geared towards technical decision makers including Architects, CTO, CIO, Project Managers, IT Managers, and senior development resources. This a totally free Microsoft sponsored event ...
My name is Phil, im from the UK. Currently I'm going through a career change, working in South Africa as a Junior asp.net developer. For the most part I will be coding in VB rather than C# as that is what the organisation I'm working for use. My own background is in web publishing, content management and taxonomies where I have around 10 years experience working in London, Liverpool, New York and South Africa for many high profile clients such as; Save the Children Her Majesty's Court Service The ...
In this Issue: Jim Wightman, Richard Waddell, Fredrik Normén(2), Einar Ingebrigtsen, Sergey Barskiy, Chris Klug, Dan Wahlin, Walt Ritscher, and Jonas Follesø. Shoutouts: You saw the beginning of Silverlight TV ... now John Papa announces Get Your Questions Answered on Silverlight TV Mark Monster is discussing the architecture of his MeXperience application: MeXperience – Step 2 – Architecture and more From SilverlightCream.com: Another brief Silverlight in WinPE post Jim Wightman has another video ...

I will start to use this blog as a blog for my ASP.NET activities, so stay tuned.

 

/Tibi

MVC 2 is adding many new features that make views more elegant to write. For example, the new EditorFor() Html helper returns the appropriate HTML input elements for a given property so you don’t have to explicitly specify text box, dropdown, or whatever control you need and can even use the [UIHint] attribute to specify the editor you want to use (either an OOTB or custom editor). This results in view markup that often looks like this: 1: <p> 2: <%=Html.LabelFor(m => m.FirstName)%> ...
Once you enable the Developer Dashboard in SharePoint 2010. See below for instructions by Jie Li using Powershell or STSADM: STSADM: stsadm -o setproperty -pn developer-dashboard -pv OnDemand Windows PowerShell: $svc=[Microsoft.SharePoint.... $ddsetting=$svc.DeveloperDa... $ddsetting.DisplayLevel=[Mi... $ddsetting.Update() You can write log information out to the Developer Dashboard ...
So Brian Jackett tagged me in his blog post, suggesting that I post some goals for 2010. Like Brian, I have a formal goal document at work for professional goals. Unlike Brian, I’m not nearly as ambitious with my goals. Professional I used to have a huge list of technologies that I wanted to learn. After a few years of having that same list, I’ve finally gotten more realistic about what I can accomplish in a year. This year, I’m going to focus on: SharePoint 2007 Development -- I've scheduled my ...
This article is a two-part series regarding the LinqToWikipedia provider. The first article will cover the basic concepts of Linq as well as the client usage of this particular provider while the second article will explore the inner workings of the LinqToWikipedia provider to give you an understanding of what it takes to create your own IQueryable provider. NOTE: You should download the latest build from Codeplex so you can follow along with the code samples. What is Linq? Let's spend a moment and ...
In this Issue: Justin Angel, Brett Balmer, and Fredrik Normén(2). Shoutouts: The Silverlight Team Blog announced IIS Smooth Streaming Player Development Kit Beta 2 released John Papa opens up Silverlight TV with Keith Smith on Premier of Silverlight TV Jeff Barnes announced ARCast.TV Special - An Architects Perspective on Silverlight 3 From SilverlightCream.com: AutoMagically Implementing INotifyPropertyChanged Geez... how do you discuss one of Justin Angel's posts in a couple sentences or less? ...
Hey there everyone. I was recently tasked to pitch a book to my publisher. As a first step I need to come up with an outline for the Table of Contents. This book is the standard cookbook style with an added focus on the MVC side of ASP.NET. I have been poking about at other similarly styled books to get some ideas. I think comparing ASP.NET Web Forms to ASP.NET MVC would provide some folks with a good reference point when looking at the two ways of doing things. (Thanks to my friend James Shaw for ...
In this Issue: Andrew Marshall, Jim Wightman, Matthias Shapiro, Alan Mendelevich, David Anson, Mike Taulty, Fredrik Normén(2), Jeremiah Morrill, and Benjamin Roux. Shoutouts: John Stockton has an interesting post up on The Illusion of Performance Scott Barnes discusses How do I get started in User Experience? Laurent Bugnion posted a Quick tip: Finding Silverlight 4 documentation fast From SilverlightCream.com: Silverlight and CUDA interop Andrew Marshall is posting about lashing up Silverlight and ...
This is just an extension of my earlier post. You can easily render an Action on a standard ASP.Net page with the following code. The SimpleViewDataContainer is the same one from my previous post. HtmlHelper helper = new HtmlHelper(new ViewContext(), new SimpleViewDataContainer()); helper.ViewContext.HttpContext =new HttpContextWrapper(HttpCont... helper.RenderAction<Home... ...
In this Issue: Richard Waddell, Benjamin Roux, Sergey Barskiy, Alex Knight, Chris Klug(2), András Velvárt, Brian Genisio, Jeff Prosise, Matthias Shapiro, and Mike Taulty. Shoutouts: Adam Kinney is taking Blend training on the road: Silverlight Design Days – Free Blend Training on Tour... keep checking back, and find one close to home! New Silverlight MVP Koen Zwikstra announced Silverlight Spy 3.0.0.7 From SilverlightCream.com: The Seeker: Sidebar 2 – Blendable Seeker via ControlTemplate Richard ...
I'm working on a existing project, where we've recently added in MVC, but there's a lot of existing Asp.Net code. I wanted MVC to generate the link for me instead of hard coding it. Here's how I did it. I started by creating a class that implments IViewDataController, so I can construct the helper I need. Then I can new up the HtmlHelper, set it's Context, and I have access to all of the MVC goodness inside of my old page. public class SimpleViewDataContainer : IViewDataContainer { public SimpleViewDataContainer() ...
In this post, we will get ourselves familiar with one of the popular Twitter API – Twitterizer & the famous Facebook SDK which was recently released by Microsoft. We will be using them in quite few of our up coming project will be doing in the near future. Go to these pages and make sure you download the packages and have the DLLs ready. “Twitter”izer This is very famous .Net library to enable easy communication with Twitter. The official Google Code page for this is - http://code.google.com/p/tw... ...
I have a Model popup from ajax control toolkit in my page.that point to a asp:panel that will going to show a close button in the top left corner. When using with update panel and lots of ajax stuff ended up getting the following javascript error in IE only , it worked perfectly in firefox Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method i searched alot on the internet for the solution, solution was there that suggest just move the button outside ...
Just read about this new “Fact or Fiction?” ad campaign for PHP developers that Wintellect completed for Microsoft. These pages are navigated to via banner ads from a media buy that will target PHP developers (see attached image examples). The idea is to draw PHP developers into the ASP.NET and VSTS platforms. A big media buy went along with this to post these banners around the web… So we should be seeing these ads around the internet soon. I love these ads. You get the Fiction, then the Fact, then ...
So there is this meme going around about people posting their CodeMash schedules, so I thought I would be a sheep and do the same. Primary Secondary Wednesday AM Practical B/TDD (Phil Japikse) PM Competency & Leadership in Software (Mary Poppendieck) Thursday 9:45am – 10:45am What Makes Ruby Different? (Joe O’Brien/ Mark Peabody/ Leon Gersing) Agile Iteration 0 (Ken Sipe) 11:00am – 12:00pm Maintainable ASP.NET MVC (Chris Patterson) An Introduction to MongoDB (Mike Droll) 1:45pm – 2:45pm 3:35pm ...
But first, a brief introduction as to what prompted this line of posting. At PDC ‘09 I had the pleasure of making acquaintances with Jon Galloway and Steve Andrews who challenged me to do more than practice & talk with co-workers and put together a talk and the suggested topic for said talk was – functional programming. Well, I’m not quite at the talk stage yet, but figured that the blog format worked as a good starting point. So, what is functional programming? Wikipedia offers the following ...
I had to struggle a little with a problem in using ASP.NET TreeView, which I had customized for one of the projects. The issue was to execute some client side script, after the TreeView has completed loading Nodes asynchronously. However, as I found out - unlike other controls TreeView does not provide a ready mechanism to hook custom code after the nodes are loaded asynchronously (using PopulateOnDemand property) Problem description: When we use ASP .NET TreeView control, it provides us an option ...
Over the last six months the ASP.NET team has been steadily releasing preview, then beta, and now release candidate builds of ASP.NET MVC 2. Given that the final release is not too far away, I thought it was a good time to start a new multi-part ASP.NET MVC 2 blog series that discusses the new features and how best to take advantage of them “Scott Guthrie” The first two blogs: ASP.NET MVC 2 Intro Strongly Typed Html Helpers ...
In this Issue: Michael Washington, and Fredrik Normén(2, 3). Shoutout: You know who Jeff Prosise is, or you should! ... check out the Tech Focus Series he's got advertised... I signed up! Wintellect's Free Tech Focus Series From SilverlightCream.com: Silverlight Message Board using the CloudDB.com 'cloud' database Michael Washington cranked up a subscription to CloudDB and produced a MessageBoard in Silverlight 3... Silverlight - Navigate to a specific Page using a Hyperlink Fredrik Normén responds ...
In this Issue: Mark Monster, Colin Eberhardt, Andy Beaulieu, Stephen Price, Tim Heuer, Vibor Cipan, Koen Zwikstra, Jeff Prosise, Dan Wahlin, and David Poll. Shoutouts: I know I've congratulated a few of the new and re-awarded MVPs for January 1st, but Tim Heuer has the big list on his site, so I'll just give a link to Tim: January 2010 Silverlight MVPs Jeff Blankenburg had a contest up on January 1st... obviously it's over, but it was fun to work through: Click The Button - The Contest Jesse Liberty ...
A while back I blogged about creating an MVC Delete Link with the AjaxHelper. This was based on another blog post from Stephen Walther where he explained the drawbacks of using hyperlinks for delete scenarios. HTTP and REST best practices state that GET requests should never modify a resource. The most “RESTful” implementation is is use a DELETE verb. In Walther’s post he shows two primary examples: 1) using AJAX to issue a true “DELETE” request, and 2) using individual forms to do the delete operations. ...
Technorati Tags: ASP.NET,C#,GridView Many developers from the forums (forums.asp.net) are asking if how to implement fix header in GridView while scrolling. We all know that there are lots of examples out there that provide a solution that are available, however some of the solutions provided are not cross browser compatible. While searching for a cross browser solution, I found this article at devarchive.net and it seems very interesting to me. So I play around with the extender provided by devarchive ...
When debugging, you might see that MojoPortal starts up many different ASP.NET Web servers, one for each Web project. Hidden in the readme README.VisualStudio.txt included with the SVN trunk is the workaround. Good to know!! Additional info: You may notice when debugging that multiple web servers are spawned. This is because there are multiple web applications in the solution as features are split into separate projects. All the files for features get copied up to the main mojoPortal.Web project ...
I have been dabbling with the Windows Azure Platform for most of 2009 (Check out my past posts) but at the end of December my boss Marc H gave me the go ahead to be “full time” on Azure in 2010. This was excellent news! I think Cloud Computing is an exciting, fascinating and often misunderstood area – which has the potential to significantly change how we develop and deploy systems in the next few years. And I am the lucky chap who gets to live and play in that space – at least until Marc realises ...
Well, another year, and heck …. even another decade and 2010 is going to be such an important year, or kick-off year for technology that I thought I would take a stab at making some technology predictions on what I think might happen this year. Technology always has these “next thing” items coming forward that it is really hard to even really know what is for real. Technologies might be quite good – but it will also take additional things like community ground swell or true behind-the-scenes business ...
This year Microsoft decided to have an open call for sessions for the MIX 2010 in Las Vegas. This conference, in case you don’t know it yet, is a great 3 days about modern client technologies, such as ASP.NET, Windows Presentation Foundation and of course Silverlight. This year, MIX is taking place from the 15th to the 17th of March 2010 in the Mandalay Bay hotel in Vegas. Today, the voting began! I didn’t count them, but there seems to be more than 100 sessions lined up, and the competition is fierce: ...
Hey all! I am finally going to put my full steam into setting up my VirtualDNUG users group. With the help of the good folks over at ineta (they are providing a LiveMeeting license for us) I am hoping to host a great environment for learning. I will probably start off with topics on ASP.NET MVC and the various side projects that surround that world (Turbine, Spark View Engine, FubuMVC, etc.) but I am totally open to just about any other cutting edge .net topics as well. If you are interested in attending ...
Since I enjoyed the first edition of the ASP.NET MVC in Action book I figured I would jump on this second edition of this book and framework as quickly as I could. I just read this post from Jeffrey Palermo: http://jeffreypalermo.com/b... Which basically states that they are actively working on the next edition of the book. More importantly, the chapters that they have completed so far are in a publicly viewable location: http://github.com/jeffreypa... ...
I have had a couple of discussions with some former co-workers in the past couple of weeks regarding "what I am doing now", and each one of them seems to have the same "whoa, thats different" comment on it. To be honest, I felt the same way. It really seems like over the past 7-8 years, Microsoft has gone against the grain of what they had been doing back in the traditional ASP days, in continuing to produce new technologies (.Net Framework / ASP.Net / Atlats / AJAX / XAML / WPF / WCF / Silverlight ...
Tech bloggers like to have a predictions post at the beginning of each year (or the end of the previous one). I’ve never actually written one before, although I have made year-ahead predictions in panel discussions for the now defunct NYSIA. Since there’s no panel this year, and since I’m taking better care of this blog, I’d thought I’d give clairvoyance a whirl right here. The following predictions are pretty random and probably not comprehensive, but I’m making it my new year’s resolution to prevent ...
A few weeks ago I blogged about the concept of a “joined” filter to apply filters to actions without attributes. I promised to demonstrate some practical uses, beyond the hello world example in that post, and now it is time to deliver :) Jimmy Bogard talks about how he does MVC view models using an AutoMapFilter to transform the model from the controller into the view model for the view. This is an excellent use of AOP to separate the concern of mapping from the concerns in the controller. When I ...
Hi this Article is aimed at discussing only the outlines of ASP.NET DataBinding. ASP.NET provides a rich set of controls for working with data.ASP.NET provides the DataBound controls,DataSource Controls to work with data. DataBound Controls : We can use DataBound Controls in our application's to generate the user interface for working with data.The DataBound Controls are used to display the data and modify the data. There are three types of DataBound Controls are available. List Controls Tabular ...
In this 01022010 Issue: Michael Washington, nmarun, Andrea Boschin, John Papa, Victor Gaudioso, and Jesse Liberty. From SilverlightCream.com: Closed Captioning with Silverlight (using MVVM) Michael Washington explains his 'closed captioning' Silverlight 3 solution, but take note, it's also MVVM... good long article and code too! COM Automation with OpenOffice – Silverlight 4 Here's a cool Silverlight 4 B demo... nmarun is doing COM Automation with OpenOffice... with all the code as well. Writing ...
Wow, it only seems like just last week I was sitting at my PC trying to determine what I was going to concentrate on in software development for 2009. I had also just started the Frederick .NET User Group (FredNUG) in September 2008 and I was trying to figure out how to get speakers scheduled. Then, things started to quickly fall into place. My local INETA mentor, Frank La Vigne, provided me with a few names of well respected .NET MVPs who would most likely be interested in speaking at FredNUG. (Thanks ...
Happy New Year 2010 from SilverlightCream! In this Issue: Fredrik Normén, Damon Serji, Gavin Wignall, András Velvárt, Vibor Cipan, and CrocusGirl. Shoutouts: The Silverlight Team Blog has an interactive customizable New Year's card up for your use: Happy Holiday Season and Happy New Year from the Silverlight team I've added a WebCam/Mic tag to Silverlight Cream, and tagged 13 prior posts, so you can now search for them on the search page. From SilverlightCream.com: WCF RIA Services – Dynamically ...
EnGraph is looking for an ASP.NET developer to join our team. We are a small company in Lenexa, KS that creates .NET applications for Paratransit agencies. A good candidate would be very comfortable with ASP.NET, Forms Authentication and JavaScript. A huge bonus would be knowledge of IIS, Google Maps API, AJAXPro, ActiveReports, WPF and SQL. We are accepting resumes immediately and look to hire as soon as January 18th. We would consider contract or full-time and we would require office attendance. ...
So the issue is, you have a very large ASP.Net MVC app with many controllers and actions and don't know (or do) on how to restructure it for better maintenance. This article contains some thoughts around what my experiences were with building a large scale app with 10K+ lines of jQuery and 266 Actions dispersed over 98 Controllers. In the beginning: Yes God created .... no I created a relatively small scale Mvc app based on a very limited set of requirements, more like a XP or Agile experience or ...
In this Issue: John McFetridge, Fredrik Normén(2, 3), Jeff Blankenburg, Rishi, and Expression Blog. Shoutouts: Jesse Liberty reports a Silverlight HVP Design Update Michael S. Scherotter announced Maximum.TV Launches Spanish Language Silverlight TV Site From SilverlightCream.com: Developing Business Applications with Silverlight 3 ,Prism and Ria Services John McFetridge has a great tutorial PDF up on Prism, Silverlight 3, and RIA Services. Silverlight exception handling using WCF RIA Services and ...