A cov ntaub ntawv nrog ASCX cov ntaub ntawv txuas ntxiv yog ASP. NET Web User Control cov ntaub ntawv uas sawv cev rau Active Server Control Extension.
Yeej, ASCX cov ntaub ntawv ua kom yooj yim siv tib txoj cai hla ntau ASP. NET lub vev xaib, txuag lub sijhawm thiab lub zog thaum tsim lub vev xaib.
Piv txwv li, ntau cov ntaub ntawv ASPX ntawm lub vev xaib yuav txuas mus rau ib qho ASCX cov ntaub ntawv uas muaj cov lej rau lub vev xaib cov ntawv qhia zaub mov. Hloov chaw sau tib txoj cai ntawm txhua nplooj ntawv ntawm lub vev xaib uas xav tau cov ntawv qhia zaub mov, txhua nplooj ntawv tuaj yeem taw tes rau ASCX cov ntaub ntawv, ua kom tswj hwm thiab hloov kho cov ntawv qhia zaub mov ntawm txhua nplooj ntawv yooj yim dua.
Xav seb cov ntaub ntawv ASCX zoo npaum li cas ntawm kev ua kom yooj yim ASP. NET programming, cov ntaub ntawv no feem ntau siv rau lwm qhov sib xws ntawm lub vev xaib, xws li headers, footers, thiab lwm yam.
Yog tias koj paub tias koj cov ntaub ntawv ASCX tsis muaj dab tsi cuam tshuam nrog ASP lub vev xaib, zoo li yog tias koj rub tawm ib qho los ntawm kev sib tsoo thaum sim kom tau txais daim ntawv qhia nyiaj hauv tuam txhab lossis lwm cov ntaub ntawv, ces koj yuav tsum kho nws txawv dua li ASP tiag. NET cov neeg siv tswj cov ntaub ntawv (ntxiv rau hauv qab no).
Yuav qhib cov ntaub ntawv ASCX li cas
Microsoft's Visual Web Developer thiab Visual Studio tuaj yeem qhib thiab kho cov ntaub ntawv ASCX, nrog rau Adobe's Dreamweaver.
Yog tias koj xav qhib ASCX cov ntaub ntawv ntawm Mac, TextMate yuav tsum ua haujlwm.
Txawm hais tias cov ntaub ntawv ASCX txuas nrog los ntawm sab hauv ASPX cov ntaub ntawv (uas tuaj yeem pom hauv browser), ASCX cov ntaub ntawv nws tus kheej tsis yog xav qhib los ntawm browser. Yog tias koj tau rub tawm ASCX cov ntaub ntawv thiab xav kom nws muaj cov ntaub ntawv (xws li cov ntaub ntawv lossis lwm cov ntaub ntawv khaws tseg), nws yuav muaj qee yam tsis raug rau lub vev xaib thiab tsis yog tsim cov ntaub ntawv siv tau uas koj tau ua tom qab, nws muab qhov server-sab. ua ntaub ntawv thov.
Yog tias qhov ntawd tshwm sim, sim rub tawm cov ntaub ntawv dua lossis txawm tias tsuas yog hloov npe cov ntaub ntawv los siv qhov txuas ntxiv uas koj xav tau. Qee zaum qhov ntawd ua haujlwm.
Piv txwv li, yog tias koj npaj siab rub tawm cov ntaub ntawv PDF tab sis tau muab cov ntaub ntawv ASCX hloov, tsuas yog hloov npe ASCX ntawm cov ntaub ntawv rau PDF, xws li file.ascx rau file.pdf.
Renaming a file to use a different extension is not the same as converting the file to a new format. Hauv qhov no, koj tsuas yog hloov npe cov ntaub ntawv kom zoo rau nws cov hom ntawv tiag tiag (PDF hauv qhov piv txwv no), qee yam hauv lub vev xaib yuav tsum tau ua tab sis tsis ua tiav rau qee qhov laj thawj. Qhov no tso cai rau OS paub txog qhov program twg yuav tsum tau siv los qhib cov ntaub ntawv (zoo li tus nyeem ntawv PDF).
How to convert ASCX File
A cov ntaub ntawv hloov pauv feem ntau yog cov cuab yeej pom zoo rau kev hloov ntau hom ntaub ntawv, xws li cov yeeb yaj kiab, suab paj nruag, duab, cov ntaub ntawv, thiab lwm yam.
Txawm li cas los xij, hloov cov ntaub ntawv zoo li ASCX cov ntaub ntawv rau lwm yam yuav ua rau nws ua haujlwm tsis zoo, yog li nws yuav tsis yog ib yam uas koj xav ua, tshwj xeeb tshaj yog tias cov ntaub ntawv ASCX tau txais online thiab tsis ua haujlwm zoo.
Piv txwv li, hloov cov ntaub ntawv ua haujlwm nrog. ASCX cov ntaub ntawv txuas ntxiv mus rau lwm yam txhais tau tias tag nrho cov ntaub ntawv ASPX uas tau taw qhia rau ASCX cov ntaub ntawv yuav tsis nkag siab tias cov ntaub ntawv yog dab tsi, thiab yog li ntawd yuav tsis nkag siab txog kev siv nws cov ntsiab lus los ua cov ntawv qhia zaub mov, headers, thiab lwm yam.
Txawm li cas los xij, qhov kev hloov pauv rov qab tuaj yeem yog qee yam koj xav tau: hloov nplooj ntawv ASPX rau ASP. NET Web User Control cov ntaub ntawv nrog ASCX txuas ntxiv. Ntau phau ntawv hloov pauv yuav tsum ua kom qhov no tshwm sim, yog li nco ntsoov ua raws li Microsoft cov lus qhia ua tib zoo.
Microsoft muaj lwm qhov kev qhia txog kev xa cov ntaub ntawv ASCX rau hauv Kev Tswj Xyuas Kev Ruaj Ntseg (ib daim ntawv DLL). Yog tias koj paub dab tsi txog DLL cov ntaub ntawv, tej zaum koj twb paub lawm tias cov ntaub ntawv ASCX coj zoo li cov ntaub ntawv DLL sib koom ntawm koj lub khoos phis tawj Windows.
Xav paub ntxiv ntawm ASCX Cov Ntaub Ntawv
ASCX cov ntaub ntawv thiab ASPX cov ntaub ntawv yog tsim los ntawm cov lej zoo sib xws, tab sis Cov Ntaub Ntawv Tswj Tus Neeg Siv Web tsis muaj html, lub cev, lossis cov ntsiab lus.
Microsoft txoj kev yuav ua li cas-rau tsim ASP. NET cov neeg siv tswj tau piav qhia cov kauj ruam uas nws yuav siv los tsim cov ntaub ntawv ASCX, thiab Bean Software muaj qee qhov piv txwv zoo txog kev ntxiv Web User Control cov ntaub ntawv rau nplooj ntawv ASP. NET.
Tseem qhib tsis tau koj cov ntaub ntawv?
Yog tias tom qab sim cov kev pabcuam saum toj no, koj cov ntaub ntawv tseem yuav qhib tsis tau zoo, muaj lub sijhawm zoo uas koj tsis tshua cuam tshuam nrog ASCX cov ntaub ntawv. Qee cov ntaub ntawv tawm tswv yim siv cov ntaub ntawv txuas ntxiv uas zoo ib yam li ". ASCX" txawm tias cov hom ntawv tsis cuam tshuam.
Piv txwv li, ACX cov ntaub ntawv yuav zoo li lawv muaj feem cuam tshuam rau qee txoj hauv kev rau ASCX cov ntaub ntawv tab sis cov no yog Atari ST Program cov ntaub ntawv uas tuaj yeem siv rau hauv lub computer nrog Atari ST emulator zoo li Gemulator. Lawv yuav tsis qhib nrog ASCX cov ntaub ntawv qhib.
Lub tswvyim tib yam muaj tseeb rau lwm cov ntaub ntawv xws li ACSM, ASAX, thiab ASX (Microsoft ASF Redirector) cov ntaub ntawv. Yog tias koj muaj ib qho ntawm cov ntaub ntawv, lossis lwm yam ntaub ntawv uas tsuas zoo li ASCX cov ntaub ntawv, tshawb xyuas nws cov ntaub ntawv tiag tiag kom paub seb cov kev pab cuam twg tuaj yeem qhib lossis hloov nws.
ASHX cov ntaub ntawv zoo ib yam li ASCX cov ntaub ntawv tab sis yog ASP. NET Web Handler cov ntaub ntawv.
FAQ
Kuv yuav suav nrog cov ntaub ntawv CSS hauv cov ntaub ntawv ASCX li cas?
Koj tuaj yeem ntxiv CSS inline, siv tus cwj pwm zoo hauv HTML ntsiab lus; sab hauv, siv lub ntsiab lus hauv ntu; los yog sab nraud, suav nrog cov khoom txuas mus rau cov ntaub ntawv CSS sab nraud.
Koj ntxiv cov ntaub ntawv ASCX hauv ASP. NET li cas?
Ntawm lub vev xaib ntawv qhia zaub mov, mus rau Add New Item > Web User Control. Sau lub npe rau kev tswj hwm, xaiv cov lus programming koj xav siv, thiab nyem Add. Los ntawm lub neej ntawd,.ascx cov ntaub ntawv npe txuas ntxiv ntxiv rau lub npe tswj.
Koj ntxiv cov lus pom hauv ASCX li cas?
Xaiv kab koj xav kom tawm tswv yim thiab xaiv Comment/Uncomment hauv toolbar. Xwb, nias Ctrl+K thiab tom qab ntawd Ctrl+C los tawm tswv yim, thiab Ctrl+K thiab tom qab ntawd Ctrl+U to uncomment.