MrDave's (David Yack) WebLog

Vote: DataSource Wizard - help get rid of useless names like DataSource1

So you have an ASP.NET 2.x page that has 2-3 Data Source controls on it – you choose SqlDataSource or ObjectDataSource etc.  Regardless you end up with them getting named by default ObjectSource1 ObjectSource2 etc.


When you add one of these and select configure, it asks you everything else except for if you want to give the control a different ID


Why do I care you ask….Well if you have a few of these on the page, and you go to hook them up to a control like a DropDownList or a GridView it’s clearly dumb luck if you can remember which one you added first so you know what it does.


I opened a Feedback issue that you can vote on that suggests making it easy to change the name as part of the wizards.  My theory is you are already there configuring the control, that clearly would be an easy place to modify the ID value.


Place your vote here

 

Comments

TrackBack said:

^_^,Pretty Good!
# April 10, 2005 5:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)