69pao国产精品视频-久久精品一区二区二三区-精品国产精品亚洲一本大道-99国产综合一区久久

ASP.NET WebPages 幫助器參考手冊(cè)

asp.net web pages - 更多幫助器

asp.net 幫助器 - 對(duì)象參考手冊(cè)

analytics 對(duì)象參考手冊(cè)(google)

helper 描述
analytics.getgooglehtml(webpropertyid) 為指定的 id 呈現(xiàn) google analytics javascript 代碼。
analytics.getstatcounterhtml(project, security) 為指定的項(xiàng)目呈現(xiàn) statcounter analytics javascript 代碼。
analytics.getyahoohtml(account) 為指定的賬號(hào)呈現(xiàn) yahoo analytics javascript 代碼。

bing 對(duì)象參考手冊(cè)

helper 描述
bing.searchbox([boxwidth]) 給 bing 傳遞搜索。您可以設(shè)置 bing.siteurl 和 bing.sitetitle 屬性來(lái)設(shè)定站點(diǎn)搜索和搜索框的標(biāo)題,通常是在 _appstart 頁(yè)面設(shè)置這些屬性。
bing.advancedsearchbox([, boxwidth] [, resultwidth] [, resultheight]
[, themecolor] [, locale])
用可選的格式顯示 bing 搜索結(jié)果在頁(yè)面上。您可以設(shè)置 bing.siteurl 和 bing.sitetitle 屬性來(lái)設(shè)定站點(diǎn)搜索和搜索框的標(biāo)題,通常是在 _appstart 頁(yè)面設(shè)置這些屬性。

chart 對(duì)象參考手冊(cè)

helper 描述
chart(width, height [, template] [, templatepath]) 初始化圖表。
chart.addlegend([title] [, name]) 給圖表添加一個(gè)圖例。
chart.addseries([name] [, charttype] [, chartarea]
[, axislabel] [, legend] [, markerstep] [, xvalue]
[, xfield] [, yvalues] [, yfields] [, options])
給圖表添加一系列數(shù)據(jù)。

crypto 對(duì)象參考手冊(cè)

helper 描述
crypto.hash(string [, algorithm])
crypto.hash(bytes [, algorithm])
返回指定數(shù)據(jù)的哈希。默認(rèn)算法是 sha256。

facebook 對(duì)象參考手冊(cè)

helper 描述
facebook.likebutton(href [, buttonlayout] [, showfaces] [, width] [, height]
[, action] [, font] [, colorscheme] [, reflabel])
讓 facebook 用戶(hù)連接到網(wǎng)頁(yè)。

fileupload 對(duì)象參考手冊(cè)

helper 描述
fileupload.gethtml([initialnumberoffiles] [, allowmorefilestobeadded]
[, includeformtag] [, addtext] [, uploadtext])
為上傳文件呈現(xiàn) ui。

gamercard 對(duì)象參考手冊(cè)

helper 描述
gamercard.gethtml(gamertag) 呈現(xiàn)指定的 xbox gamer 標(biāo)簽。

gravatar 對(duì)象參考手冊(cè)

helper 描述
gravatar.gethtml(email [, imagesize] [, defaultimage] [, rating]
[, imageextension] [, attributes])
為指定的電子郵件地址呈現(xiàn) gravatar 圖像。

json 對(duì)象參考手冊(cè)

helper 描述
json.encode(object) 用 javascript object notation (json) 把數(shù)據(jù)對(duì)象轉(zhuǎn)換為字符串。
json.decode(string) 轉(zhuǎn)換 json 編碼的輸入字符串為您指定的數(shù)據(jù)對(duì)象。

linkshare 對(duì)象參考手冊(cè)

helper 描述
linkshare.gethtml(pagetitle [, pagelinkback] [, twitterusername]
[, additionaltweettext] [, linksites])
使用指定的標(biāo)題和可選的 url 呈現(xiàn)社會(huì)網(wǎng)絡(luò)鏈接。

modelstate 對(duì)象參考手冊(cè)

helper 描述
modelstatedictionary.adderror(key, errormessage) 關(guān)聯(lián)錯(cuò)誤信息和一個(gè)表單域。使用 modelstate 幫助器訪問(wèn)成員。
modelstatedictionary.addformerror(errormessage) 關(guān)聯(lián)錯(cuò)誤信息和一個(gè)表單。使用 modelstate 幫助器訪問(wèn)成員。
modelstatedictionary.isvalid 如果沒(méi)有驗(yàn)證錯(cuò)誤,返回 true。使用 modelstate 幫助器訪問(wèn)成員。

objectinfo 對(duì)象參考手冊(cè)

helper 描述
objectinfo.print(value [, depth] [, enumerationlength]) 呈現(xiàn)一個(gè)對(duì)象和所有子對(duì)象的屬性和值。

recaptcha 對(duì)象參考手冊(cè)

helper 描述
recaptcha.gethtml([, publickey] [, theme] [, language] [, tabindex]) 呈現(xiàn) recaptcha 驗(yàn)證測(cè)試。
recaptcha.publickey
recaptcha.privatekey
設(shè)置 recaptcha 服務(wù)的公共和私有密鑰。通常是在 _appstart 頁(yè)面設(shè)置這些屬性。
recaptcha.validate([, privatekey]) 返回 recaptcha 測(cè)試結(jié)果。
serverinfo.gethtml() renders 呈現(xiàn)有關(guān) asp.net web pages 的狀態(tài)信息。

twitter 對(duì)象參考手冊(cè)

helper 描述
twitter.profile(twitterusername) 為指定的用戶(hù)呈現(xiàn) twitter 流。
twitter.search(searchquery) 為指定的搜索文本呈現(xiàn) twitter 流。

video 對(duì)象參考手冊(cè)

helper 描述
video.flash(filename [, width, height]) 為指定的文件呈現(xiàn)寬度和高度可選的 flash 視頻播放。
video.mediaplayer(filename [, width, height]) 為指定的文件呈現(xiàn)寬度和高度可選 的 windows media 播放器。
video.silverlight(filename, width, height) 為指定的 .xap 文件呈現(xiàn)所需的寬度和高度 的 silverlight 播放器。

webcache 對(duì)象參考手冊(cè)

helper 描述
webcache.get(key) 通過(guò) key 返回指定的對(duì)象,如果對(duì)象未找到則返回 null。
webcache.remove(key) 通過(guò) key 從緩存中刪除指定的對(duì)象。
webcache.set(key, value [, minutestocache] [, slidingexpiration]) 通過(guò) key 把 value 放置到指定名稱(chēng)的緩存中。

webgrid 對(duì)象參考手冊(cè)

helper 描述
webgrid(data) creates a 使用查詢(xún)數(shù)據(jù)創(chuàng)建一個(gè)新的 webgrid 對(duì)象。
webgrid.gethtml() renders markup 顯示數(shù)據(jù)在 html 表格中。
webgrid.pager() 為 webgrid 對(duì)象呈現(xiàn)一個(gè)頁(yè)面。

webimage 對(duì)象參考手冊(cè)

helper 描述
webimage(path) 從指定的路徑加載一個(gè)圖像。
webimage.addimageswatermark(image) 為指定圖像加水印。
webimage.addtextwatermark(text) 為圖像添加指定文本。
webimage.fliphorizontal()
webimage.flipvertical()
水平/垂直翻轉(zhuǎn)圖像
webimage.getimagefromrequest() 當(dāng)圖像被傳送到一個(gè)文件上傳頁(yè)面時(shí),加載圖像。
webimage.resize(width, height) 調(diào)整圖像大小。
webimage.rotateleft()
webimage.rotateright()
向左或向右旋轉(zhuǎn)圖像。
webimage.save(path [, imageformat]) 保存圖像到指定路徑。

相關(guān)文章