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:639213
More Search Options
RSS Available
Matching Posts
Re: BoundColumn.DataFormatString formatting question
I looks to me like you might have to do a bit of it in the OnRowDataBound event. Here's some documentation on DataFormatString and formatting strings in ASP.NET in general. Maybe what's there will help point you in the right direction. http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.boundcolumn.dataformatstring.aspx http://msdn.microsoft.com/en-us/library/26etazsy.aspx
Posted to
Web Forms
(Forum)
by
billr578
on 1/20/2009
Re: url rewritting
We use ISAPI Rewrite (http://www.isapirewrite.com/) to do all of our URL rewriting for us. URL rewrites are handled in an httpd.ini file, much like you would manage rewrites for Apache. As for your specific problem with what you're using above, I'm not familiar with using UrlRewritingNet.UrlRewriter.dll. However, I'd check that your code is being called properly (is the rewrite even firing?) and that your regular expression is being matched properly. If the rewrite isn't firing, then
Posted to
Web Forms
(Forum)
by
billr578
on 1/20/2009
Re: Help related Performance Of user Control
I'm not sure there is really any benefit or drawback performance wise of having multiple controls on a page or not. However, from a code management standpoint, its probably easier to maintain the code if it is split up into separate controls. Also, if you have code that is duplicated across your application, you want to consider putting that duplicated code in a control that can be reused in other controls/pages. I know when I look at ASP.NET code that is all jamed into one page or control, it
Posted to
Web Forms
(Forum)
by
billr578
on 1/20/2009
Re: Accessing a variable in a base page
You probably want to set up a protected member since only your inherited class probably need access to that variable. Something like this should suffice (though I don't do much VB, so my syntax might be off): Public Class BasePage Inherits System.Web.UI.Page Protected iVertisement as String Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load iVertisement = "Test" End Sub End Class If access is needed outside of the inherited classes, then you should
Posted to
Web Forms
(Forum)
by
billr578
on 1/18/2009
Re: Custom Compare Validator Issue
That's pretty much what I'm doing in my code...
Posted to
Web Forms
(Forum)
by
billr578
on 1/10/2008
Custom Compare Validator Issue
We have a custom compare validator that we use to validate server side to compare strings. Occasionally, it seems to fail even though both strings are the same. I'm wondering it anyone has experienced something similar. I've included the code we're running in the ServerValidateEventHandler. IsValid ends up being false in these cases, the exception that's thrown in the else doesn't occur. This one is really bugging me, so any ideas anyone has (other than changing the way we validate
Posted to
Web Forms
(Forum)
by
billr578
on 1/10/2008
Re: Problem with FormView and DataView to get integer increment from database
The only thing I can think of is that you have no results, or the result you're expecting isn't in that spot in the result set. I'm not sure I've ever used that technique to return an identity column value either. But, without having your entire application & database to debug, my suggestion is to make sure you're: a.) using the right technique to return your identity column value b.) you actually have some data in results. you could check this by looping through all of the
Posted to
Web Forms
(Forum)
by
billr578
on 1/4/2008
Re: Problem with FormView and DataView to get integer increment from database
Yeah, sorry, I was busy at work all day. Can you tell me which line in your code at the beginning of the thread is line 140 so I have a place to start? Thanks!
Posted to
Web Forms
(Forum)
by
billr578
on 1/4/2008
Re: Problem with FormView and DataView to get integer increment from database
Put your code through debugger. Set a breakpoint there and see what gets returned from your database call. Another good test is call your SQL or Stored Procedure from Sql Query Analyzer with the parameter values you're passing from your code and see what gets returned.
Posted to
Web Forms
(Forum)
by
billr578
on 1/3/2008
Re: Problem with FormView and DataView to get integer increment from database
It looks to me that you're probably not getting any data back in your call to the database where you set up results. Are there any rows available in the DataView? Have you tried stepping through the code in the debugger to see what you're actually getting back?
Posted to
Web Forms
(Forum)
by
billr578
on 1/1/2008
Page 1 of 12 (119 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online