Webboy2008
asked on
asp.net / servervariable
<obout:Grid runat="server" ID="grid1" AutoGenerateColumns="false " PageSize="5" Width="950"
DataSourceID="sds1"
FolderStyle="http://localhost:15275/eServices/UIStyleControls/Obout/Grid/styles/style_2"
AllowAddingRecords="false"
>
About the code. how can i write iike
FolderStyle='http://" + servervariable('host") + "/eservice...."?
I just want to pick up the host from the url and land inline asp.net code on aspx
DataSourceID="sds1"
FolderStyle="http://localhost:15275/eServices/UIStyleControls/Obout/Grid/styles/style_2"
AllowAddingRecords="false"
>
About the code. how can i write iike
FolderStyle='http://" + servervariable('host") + "/eservice...."?
I just want to pick up the host from the url and land inline asp.net code on aspx
There is a better way of addressing pages from your application. Simply start the URL with ~, what is the root of your application. For example, if your app's path is "http://localhost:15275/eServices/", then set FolderStyle="~/UIStyleCont rols/Obout /Grid/styl es/style_2 "
ASKER
i tried and it does not work
Use &Lt% eval(" ") %ft&
ASKER
Use &Lt% eval(" ") %ft& ?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.