Daily Archives: April 26, 2006

Pictures from Deeper in .NET and Wisconsin

Some pics of my fun trip to Deeper in .NET in Wisconsin and a look around WI afterwards!

Flying out of Burlington VT, I finally got a decent picture of Lake Champlain. Of course this is nothing compared to what I was looking at.

Flying into Chicago here is the torquoise Lake Michigan.


Avonelle and Val

Bill Hatfied and Korby Parnell

Dinner at a local brew pub

The wings of the Milwaukee Art Museum.
This building is amazing. Look for pics
on the MAM site.

Local legend Dale Chihuly at MAM

My dear friend Martha Downs and
Korby at MAM.

What? Skiing in Wisconsin!

The
Tyrol Basin Golf Course, err,
Ski and Snowboard Area.


a VERY impressive woodpile!

Combining ink controls and server controls on a web page

A reader of my recent Ink on the Web article in CoDe Magazine (samples available here) emailed me with an odd problem that I had to see in action before I realized what was going on.

The problem was this. She had a web form with an ink-enabled winforms control on it that worked fine. But when she added an asp:dropdownlist, the page crashed. She said she got no error message.

I tried the same thing and received a big fat error saying “Control ‘dropdownlist1’ of type ‘dropdownlist’ must be placed inside a form tag with runat=server”.

Aha! In order to do most of the tricks I am performing with moving the ink control’s data from the client side to the server side require the form to not be a server-side form. Therefore “runat=server” does not exist in the form tag.

The solution is to have separate forms on the page for the ink control and the server side controls.

Kirk Allen Evans reminds us that only one server side form can be visible at a time, so you have to design your page around these limitations unfortunately. You don’t be able to have server controls in a form, then below that an ink control in another form and then below that more server controls in a third form.

The general html of the page would look like this:

 
<html>
<HEAD> …some stuff in here </HEAD>
 
<body>
<script> ..some scrpts here </script>
 
<!–this is the form that handes the inkable control. It does NOT have runat=server–>

  <form id=”inkForm” name=”inkForm” action=”Handler.ashx” method=”post”>

     <object id=”ComplexInkControl” classid=”InkControls.dll#InkControls.MyInkControl” style=”width: 100px;
     height: 100px”
VIEWASTEXT></object>

  </form>
 
<!–this is the form that has server side controls–>

   <form id=”serversideFORM” runat=server>

        <asp:DropDownList ID=”DropDownList1″ runat=”server” AutoPostBack=”True”>
             <asp:ListItem>a</asp:ListItem>
            
<asp:ListItem>b</asp:ListItem>
             <asp:ListItem>c</asp:ListItem>
            
<asp:ListItem>d</asp:ListItem>
         
</asp:DropDownList><br />

         <asp:Label ID=”Label1″ runat=”server” Text=”Label”></asp:Label><br />

     </form>

</body>

</html>

Don’t Forget: www.acehaid.org

Vermont IT Jobs: Windows C/C++ Software Developer in Williston VT

MicroStrain, Inc., a leading microminiature sensor developer, is seeking a Visual C++ developer responsible for creating and maintaining their flagship, wireless sensor network application, Agile-Link. Qualified candidates will be required to write documentation for Agile-Link’s development, code design, and testing. In addition, candidates must have strong teamwork skills to interact with various engineers, sales, and support staff in the development of custom applications and software development kits. 

Applicants must have 3+ years of software design and development experience on the Microsoft Windows platform, including an understanding of software life cycle design. Proven, advanced knowledge of C/C++, object oriented design, hardware/software interaction, and the Microsoft Foundation Classes (MFC) are required. Candidates must demonstrate a strong debugging foundation, and a clear, critical writing and verbal skill set to describe any such discovered issues.

A strong working knowledge of Visual Basic, the Microsoft .NET framework, and open source operating systems such as Linux and FreeBSD are a plus. A Bachelors of Science Degree in Computer Science or better is preferred.

http://www.microstrain.com/employment.aspx Our employment page

Please send electronic resume to: humanres@microstrain.com and mention that you came thru vtdotnet.

Don’t Forget: www.acehaid.org