0

I have built several personal sites and now I and going to rebuild an existing one. I want to standardize on jQuery and Blueprint CSS.

I used to use a Master page for everything but that does not seem to match real well with something like Blueprint. Not to mention the pain of the master page renaming of the controls ids and applying them in js.

Kinda just looking for suggestions on how to use newer libraries / frameworks / methodologies on the new asp.net site.

Should I ditch Master pages altogether?

Should I stop creating my pages with VS page creator GUI and move to building most or all the html and server objects in code dynamically?

Should I look at ASP.net MVC as well?

Any other suggestions appreciated.

Thanks, Erik

4

2 回答 2

1

如果您继续使用 MasterPages,则可以从客户端 jQuery 引用您的服务器控件,例如:

$('#<%= MyControl.UniqueID %>')。

于 2009-02-11T21:24:36.700 回答
1

如果您打算尝试使用这些框架,我会看看 ASP.NET MVC。它允许对 HTML 进行更好的控制。

ASP.NET 控件并不总是呈现最简单的标记,这会使使用其他框架的过程复杂化。

于 2009-02-11T21:38:32.127 回答