Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:229793
More Search Options
RSS Available
Matching Posts
Cloaking your Referer URL from other Sites?
I'm trying to figure out how to cloak/spoof my site referering URL from other sites. I'd like to make my referer URL either blank/empty or change it, so that a site that is sent a visitor from my site can't figure out the URL of my site. Does anyone know how to go about doing this. I've tried using the following without much luck: /// <summary> /// // assumes a fully-qualified "http://" url /// </summary> public static void CloakRefererUrl( string myUrl
Posted to
Security
(Forum)
by
developerJamiro
on 6/8/2009
Re: External table is not in the expected format.
I was getting the error "External table is not in the expected format." when trying to use an Excel 2007 file with a connection string that uses: Microsoft.Jet.OLEDB.4.0 and Extended Properties=Excel 8.0, Instead try using a connection string like: "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" + Server.MapPath(fileNamePath) ; Extended Properties=Excel 12.0;" ; I believe this new connection string should work for both .xlsx and .xls Excel files. Excel 2007 files are typically
Posted to
Other Databases
(Forum)
by
developerJamiro
on 6/27/2008
Regex Question: How To Shorten Description without removing HTML Tags
How would you shorten a description to a certain length with Regular Expressions that has HTML tags. I'd like to keep the HTML tags but not have them "calculated" in the shortening of the description. And also the end tag of an HTML tag must not be clipped out...for instance I don't want to remove the last </strong> tag. Here's how I currently shorten a description, but this method takes out the HTML tags (which I don't want). public static string ShortenDescription
Posted to
Web Forms
(Forum)
by
developerJamiro
on 1/18/2008
Re: Safari browser and asp:menu
Thanks, michielvoo.... Adding the safari.browser file to the App_Browsers folder with this is what solved my problem. ------------------------------------------------------------------------------------------ < browsers > < browser refID= "safari1plus" > < controlAdapters > < adapter controlType= "System.Web.UI.WebControls.Menu" adapterType="" /> </ controlAdapters > </ browser > </ browsers > -------------------------------
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
developerJamiro
on 1/14/2008
Re: <asp:wizard> how to hide next button.
You can also hide the Next and Previous step buttons like this: < StepNavigationTemplate > < asp : Button ID ="StepNextButton" runat ="server" CausesValidation ="false" CommandName ="MoveNext" Text ="Next" Visible ="false" /> < asp : Button ID ="StepPreviousButton" runat ="server" CausesValidation ="False" CommandName ="MovePrevious" Text ="Previous" Visible ="False"
Posted to
Web Forms
(Forum)
by
developerJamiro
on 1/4/2008
Re: NumericUpDownExtender within CollapsiblePanelExtender - buttons out of position in Firefox, more info
I couldn't get the standard Up/Down buttons to align correctly, so I just decided to use ImageButtons for the Up and Down buttons. This issue should probably be posted in the AjaxToolKit issues forum at Codeplex, if it isn't already.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
developerJamiro
on 1/1/2008
Re: Default Asp.net 2.0 Internet Url Validation?
Here's a slight update to the Url Regex: http(s)?://([\w-]+\.)+[\w-]+([\w\-\.,@?^=%& :/~\+#\(\)]*[\w\-\@?^=%& /~\+#\(\)])? I've added a space after both "& " and added a ? to the end.
Posted to
Web Forms
(Forum)
by
developerJamiro
on 7/12/2007
Re: unlock a User automatically
Here's a way to automatically unlock users with asp : Login's OnLoggingIn event. Just be sure to add OnLoggingIn ="Login1_LoggingIn" to the Login control. protected void Login1_LoggingIn( object sender, LoginCancelEventArgs e) { int passwordAttemptLockoutDuration = Membership.PasswordAttemptWindow; MembershipUser mu = Membership.GetUser(Login1.UserName, false ); if ((mu != null ) && (mu.IsLockedOut) && (mu.LastLockoutDate.ToUniversalTime().AddMinutes(passwordAttemptLockoutDuration
Posted to
Security
(Forum)
by
developerJamiro
on 6/22/2007
Re: Default Asp.net 2.0 Internet Url Validation?
Well here is the regex I came up with to validate a Internet Url: http(s)?://([\w-]+\.)+[\w-]+([\w\-\.,@?^=%&:/~\+#\(\)]*[\w\-\@?^=%&/~\+#\(\)]) It validates all of the links above. If you know of any other Url's that aren't able to be validated using this regular expression, please post them, or if you have a better regex solution.
Posted to
Web Forms
(Forum)
by
developerJamiro
on 5/23/2007
Re: Default Asp.net 2.0 Internet Url Validation?
Additional: ASP.NET default Internet URL regular expression: http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? also does not validate a url with a directory name (or file name) that has a: +, ~, :, (, ), "," comma, # For example: The following URLs will not validate using ASP.NET's default Internet URL regex: http://casa.colorado.edu/~skinners/coolback.html http://en.wikipedia.org/wiki/User:Jimmy http://en.wikipedia.org/wiki/Stuff_(magazine) http://www.eweek.com/article2/0,1895,1991365
Posted to
Web Forms
(Forum)
by
developerJamiro
on 5/23/2007
Page 1 of 7 (61 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online