RichDataPicker

Written by Ben Higgins


Continued from page 1

In your code behind page or between your script tags addrepparttar following code. If you are using inline ASP.NET code not Visual Studio .NET then you will need to remove "Handles button1.click".

Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click

Calendar1.SelectedDate = RDP1.SelectedDate

End Sub

In this example,repparttar 133385 DP.RichDatePicker tag by default creates a text box with today’s date in it. Next torepparttar 133386 text box is a browse button. Once you select a date by clicking onrepparttar 133387 browse button and submitting it,repparttar 133388 date you selected will be hi-lighted onrepparttar 133389 ASP.NET Calendar.

For a complete list of featuresrepparttar 133390 RichDatePicker component offers and an evaluation copy, go to www.richercomponents.com

Ben Higgins is a Internet Support Specialist with ORCS Web, Inc. Webteam - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.

Ben Higgins is a Internet Support Specialist with ORCS Web, Inc. Webteam - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.


ISAPI Rewrite

Written by Pam Dean


Continued from page 1

".", "*", "?", "+", "(", ")", "{", "}", "[", "]", "^" and "$". This becomes important when typing (www.domain.com) it would have to look like (www.domain.com)

Parentheses are used to group items together to be marked as what is to be matched, such as "(apple)*" would match all ofrepparttar string "appleappleapple".

You can see more helpful expression tips here, http://www.isapirewrite.com/docs/examples

Some examples ofrepparttar 133384 rules you will see inrepparttar 133385 httpd.ini file look like this:

#manual redirect of one domain RewriteCond Host: (www.)?domain1.com RewriteRule (.*) /domain1$2

#redirecting to another URL RewriteCond Host: (www.)?domain1.com RewriteRule (.+) http://www.domain2.com$1 [R]

#Rewrite just one domain but keeprepparttar 133386 old link working RewriteCond Host: (www.)?domain1.com RewriteRule (?!/domain1)(.*) /domain1$2 [I]

Many tricks come with a catch, and this is no exception. One disadvantage that I have come across is thatrepparttar 133387 response.write from ASP or ASP.NET does not work well in conjunction with this component. Absolute paths are required since relative paths are done after ISAPI Rewrite handlesrepparttar 133388 request and aren't redirected as would be expected. The workaround is to use absolute paths withrepparttar 133389 full domain name inrepparttar 133390 redirect. If Server.Transfer is to be used, it should be tested as well. It runs into similar issues.

Additionally, when using ASP or ASP.NET,repparttar 133391 new virtual root folder should be marked as an application so thatrepparttar 133392 new virtual root's folder is used for global.asa(x), web.config and /bin.

Pam Dean is Web Support Specialist with ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use