nmduc073 posted on August 20, 2010 07:12::64 view(s)
Hôm nay, mình phát hiện được 1 article tiếng Anh về cách chèn các file css, javascript, jQuery trên DNN rất hữu ích. Các bạn nên đọc để tham khảo.
Phần code chính của nó:
/// <summary>
/// Includes the jQuery libraries onto the page
/// </summary>
/// <param name="page" />Page object from calling page/control</param>
/// <param name="includejQueryUI" />if true, includes the jQuery UI libraries</param>
/// <param name="uncompressed" />if true, includes the uncompressed libraries</param>
/// <param name="includeNoConflict" />if true, includes the uncompressed libraries</param>
internal static void InjectjQueryLibary(System.Web.UI.Page page, bool includejQueryUI,
bool uncompressed, bool includeNoConflict)
{
int major, minor, build, revision;
[Read the rest of this article...]