It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Topic: path of src in script tag from root

Topic: path of src in script tag from root

Postby sanam on Tue Oct 21, 2008 7:07 am

Hello
Please tell me How I can write the path of src in Register tag from root of web.
I try this . but the below error occur.

tag is :
Code: Select all
<%@ Register tagprefix="uc2" Src="<%=Page.ResolveClientUrl("~/DatePicker/DatePickerCtrl.ascx")%>" tagname="DatePickerCtrl" %>


error is:
The server block is not well formed.
sanam
 
Posts: 1
Joined: Tue Oct 21, 2008 6:19 am

Postby rangana on Tue Oct 21, 2008 11:10 am

The code you've shown is more of ASP/vbscript and not Javascript.

Anyway, a mod might come and move this thread on the appropriate section for you.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 7 guests