Showing posts with label webcontrols. Show all posts
Showing posts with label webcontrols. Show all posts

Tuesday, January 11, 2011

Plupload - A beautiful file uploader powered by jQuery

Plupload - A beautiful file uploader powered by jQuery: "

Plupload v1.3.0


Allows you to upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing some unique features such as upload progress, image resizing and chunked uploads.





Comments"

Saturday, December 26, 2009

How to make ASP.NET 3rd party controls run faster

How to make ASP.NET 3rd party controls run faster: "1. Abstract
The following document will explore the basics of enhancing 3rd party ASP.NET components performance by leveraging the Empty Client (an ASP.NET extension) pipeline.
Subtitle: 


Overview for ASP.NET based components that explores the basics of enhancing 3rd party ASP.NET components performance by leveraging the Empty Client (an ASP.NET..."

Tuesday, October 20, 2009

78 jQuery Scenarios to Fall in Love

78 jQuery Scenarios to Fall in Love: "I am in love with jQuery, are you? If you are not then you may not have seen the productivity in web design that can happen by using jQuery. I have collected some of the most interesting jQuery scenarios around the web that can make you fall in love...


"

Tuesday, April 14, 2009

Fixing Ajax Model Popup layout

There is a document type tag in our asp.net pages which we normally donot even consider as important by default VS2005 gererates this like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

The purpose of this tag is to obey a specific DTD for the document, simply use only valid tags in a valid hirarchy.
As i mentioned earlier VS2005 by default generates html 1.0, some time it is required to use more recent versions like html4.0 for more detail Why use HTML 4.0? .
so we change document type tag to this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



Now coming to the topic if one use a ModalPopup on a asp.net content page for example we have a master page

1- common.Master {with document type html 4.0}

2-default.aspx (content page inheriting common.master)



when one use modal popup the asp.net ajax control on default .aspx, you might face the issue that

the" pop up that was supposed to overlap the original page with fading effect on the original pge" appears on the
content area only i.e only covers the contenttemplate of mastermage.

in order to fix this issue just change the document type in master page back to html 1.0.

resource: http://forums.asp.net/t/1013301.aspx


Saturday, April 4, 2009

Indentation in list item text

While working with dropdownlist control once i was required to dispaly indented text for specific list items, in many of my attempts to achieve this i failed the continueing in search of solution i found this and really a very simple one:

ddl.Add(New ListItem(Server.HtmlDecode("nbsp;nbsp;") & "Maincat1","Maincat1"))
ddl.Add(New ListItem("subcat1-1"))
ddl.Add(New ListItem("subcat1-2"))
ddl.Add(New ListItem(Server.HtmlDecode("nbsp;nbsp;") & "Maincat2","Maincat2"))
ddl.Add(New ListItem("subcat2-1"))
ddl.Add(New ListItem("subcat2-2"))

*ddl is the name dropdownlist on my aspx page.