Geeks With Blogs

News

Locations of visitors to this page

View ► Sanjay Uttam [sanjay.uttam@gmail.com]'s profile on LinkedIn


Add to Google Reader or Homepage




Sanjay Uttam Predominantly .NET August 2008 Entries
Google Search Appliance API in VB.NET
A while back I ported the C# Google Search Appliance API to VB.NET. You can find it here. The original API was ported over from JAVA by MC+A. Enjoy ......

Posted On Saturday, August 30, 2008 2:57 PM

CSS Tags Specific to Browser [IE6, IE7]
I came across this posting on Ed Eliot's blog and had NO idea this existed but it made my life a lot easier. Full credit goes to him on this - the below is cut and pasted directly from his blog so I know where to find it in the future. The URL for this post on his blog is: http://www.ejeliot.com/blog/63 .box { background: #00f; /* all browsers including Mac IE */ *background: #f00; /* IE 7 and below */ _background: #f60; /* IE 6 and below */ padding: 7px; color: #fff;} I think it speaks for itself. ......

Posted On Thursday, August 28, 2008 11:46 AM

Login Control, ImageButton, Default Button...
I feel like I do a lot of bitching about the DefaultButton property. But anyway... What happens when you're using a Login control, and you decide to use an ImageButton for the Login button? You guessed it, you break the DefaultButton property. ''Make the login button of the login control the default button. This is useful when your login control uses an image button. ''Doing so makes the DefaultButton property do nothing. Dim loginControl As Control = Me.FindControl("Login1") If Not loginControl ......

Posted On Monday, August 25, 2008 12:09 PM

Login Control, Default Button, ugh.
Yes, you can definitely find this information elsewhere but...what happens when you want to use a login control on a page and also use the default button property so when a user hits enter it submits the login control's button. Nothing, because you have no idea what the hell the ID of the submit button is. Here is the workaround: <asp:LinkButton ID="lnkbtn1" runat="server" /> <asp:Panel ID="pnlLogin" runat="server" style="display:none" CssClass="modalPopup" DefaultButton="Login1$Login... ......

Posted On Friday, August 8, 2008 4:34 PM

Default Button Workaround for imagebuttons & linkbuttons, Part II
Okay...so, the post yesterday was clearly not as researched as it should have been. It's true...the Click() event does NOT work in FF...so, the solution I had to utilize the click event had a rather short lifespan. I tried to dynamically add the __onPostBack javascript event onKeyPress as well as onkeydown - to no avail. I'm not sure why it wouldn't work...but, it just wouldn't. (I'm using an image button, .NET 3.5, a lot of JS & AJAX on the page - not sure what, if any of that muddies the waters) ......

Posted On Friday, August 1, 2008 11:56 AM

Copyright © Sanjay Uttam | Powered by: GeeksWithBlogs.net