You are here:   Blogs
Register   |  Login

Search

Minimize

PPG&A Blogs

Minimize
Author: Phil Porter Created: 12/10/2009 4:04 PM
We’ll be blogging about software development in general and some of the tools used in the process. Please register and get involved! SOURCE CODE SAMPLES MAY BE INCLUDED IN SOME BLOGS. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

 Did you know that Google has a search feature that searches public source code?

Read More »

I like things that are easy to implement and that complement the end users experience.  I think I’ve found one that fits this perfectly.  Most users want the option to change the number of records on a show table page and would like the system to remember it the next time they visit the page.  The control Pagination.ascx in the shared folder is common to every show table page and is the perfect candidate to implement this type of functionality.  

Read More »

System.IO.StringWriter writer = new System.IO.StringWriter();
dataTable.WriteXml(writer, XmlWriteMode.WriteSchema, false);
string xmlFromDataTable = writer.ToString();
 

Use XmlWriteMode.WriteSchema to include the schema in the output.
 

Read More »

I like things that are easy to implement and that complement the end users experience.  I think I’ve found one that fits this perfectly.  Most users want the option to change the number of records on a show table page and would like the system to remember it the next time they visit the page.  The control Pagination.ascx in the shared folder is common to every show table page and is the perfect candidate to implement this type of functionality. 

Read More »

Putting the script manager on a master page is a great place to consolidate a common element of an asp.net page that is used across ever page of your asp.net application.  This works well until there is a special need to interact with the script manager.  Fortunately there are ways to interact with the script manager without having to hard code special conditions in the master page which could lead to breaking changes later.  

 

Read More »

I typically post my code samples in C# (C-Sharp) but there are many other productive programmers who use VB.NET as their primary language and are just happy and have no intention of learning C#.  So what to do when there is some VB code you want to convert to C# or C# to VB.  There are many online tools available just for converting code snippets that are free to use.  One such tool is from Telerik called Code Converter.

Read More »

While using the quick add links in a generated Iron Speed application the quick add page can leave an entry in the session navigation history.  After saving the parent record this can have the undesired effect of returning the user to the quick add page rather than the show table page they were expecting.

Read More »

If you are a web developer and have not download Firebug just go get it.  You can click here or type http://getfirebug.com in your browser address bar.  It’s an indispensable tool when developing and debugging you web applications

Read More »

When using IS quick add links a popup window will display with the associated page for adding new context.  This works well but there are a few issues with the theme buttons of the page.  The issue is that the new page will have the same buttons as a standard add page which can be counter intuitive.  Changing the Save button to Save and Return and setting the visibility of the Save and New button to false helps eliminate some confussion.

Read More »

Archive

Minimize

WARRANTIES

Minimize

SOURCE CODE SAMPLES MAY BE INCLUDED IN SOME BLOGS. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Other marks and trade names used in this publication are the property of their respective owners.