Click here to Skip to main content
15,886,026 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionneed help: Script to save image from URL to local directory Pin
ratiphi12-Feb-07 15:33
ratiphi12-Feb-07 15:33 
AnswerRe: need help: Script to save image from URL to local directory Pin
Guffa12-Feb-07 21:23
Guffa12-Feb-07 21:23 
Questionjavascript error in .net Pin
uowzd0112-Feb-07 14:40
uowzd0112-Feb-07 14:40 
AnswerRe: javascript error in .net Pin
enjoycrack12-Feb-07 15:24
enjoycrack12-Feb-07 15:24 
GeneralRe: javascript error in .net Pin
uowzd0112-Feb-07 16:12
uowzd0112-Feb-07 16:12 
QuestionAdd a Blank Row to Gridview? Pin
BORN...again!12-Feb-07 13:28
BORN...again!12-Feb-07 13:28 
AnswerRe: Add a Blank Row to Gridview? Pin
enjoycrack12-Feb-07 15:25
enjoycrack12-Feb-07 15:25 
QuestionNavigateUrl='<%=CodeBehindFunction %>' does not work Pin
-Dr_X-12-Feb-07 12:02
-Dr_X-12-Feb-07 12:02 
Basically a have a link set in the appsettings section of the web.config file. I want to read the value from the aspx page if possible without even creating code behind function.
<<asp:hyperlink id="lnkSecureHome" style="FONT: bold 8pt Arial; COLOR: #067606; vertical-align: top; padding-right: 15px;" Runat="Server" NavigateUrl='<%=System.Configuration.ConfigurationManager.AppSettings("AppsHomePage").ToString %>' >Home<</asp:hyperlink>
This fails as it literally points to 'http://localhost/...%3c%25=System.Configuration.ConfigurationManager.AppSettings...'.
However,
<<td>
  <<%=System.Configuration.ConfigurationManager.AppSettings("AppsHomePage").ToString%>
<</td>
works as expected displaying the value.
How do I set the property with in the html of an aspx page?
I know I can set the value in the form_load event but just curious how you do it from the html.

Michael

I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious.
Vince Lombardi (1913-1970)

AnswerRe: NavigateUrl='&lt;%=CodeBehindFunction %&gt;' does not work Pin
andyharman14-Feb-07 8:20
professionalandyharman14-Feb-07 8:20 
Questioni need a code for user login time Pin
suresh_kumar_s12-Feb-07 9:16
suresh_kumar_s12-Feb-07 9:16 
AnswerRe: i need a code for user login time Pin
Rahithi12-Feb-07 10:31
Rahithi12-Feb-07 10:31 
AnswerRe: i need a code for user login time Pin
enjoycrack12-Feb-07 15:27
enjoycrack12-Feb-07 15:27 
QuestionDownloading file not working Pin
Program.X12-Feb-07 9:05
Program.X12-Feb-07 9:05 
AnswerRe: Downloading file not working Pin
Jon Sagara12-Feb-07 10:21
Jon Sagara12-Feb-07 10:21 
QuestionInstantiation Pin
Civic0612-Feb-07 8:19
Civic0612-Feb-07 8:19 
QuestionWhat does "Clean Solution" do? Pin
robert11012-Feb-07 6:05
robert11012-Feb-07 6:05 
AnswerRe: What does "Clean Solution" do? Pin
Ed.Poore12-Feb-07 8:42
Ed.Poore12-Feb-07 8:42 
QuestionMaximum Attachment Size Pin
happyheartcs12-Feb-07 5:39
happyheartcs12-Feb-07 5:39 
AnswerRe: Maximum Attachment Size Pin
robert11012-Feb-07 6:17
robert11012-Feb-07 6:17 
GeneralRe: Maximum Attachment Size Pin
happyheartcs12-Feb-07 8:27
happyheartcs12-Feb-07 8:27 
GeneralRe: Maximum Attachment Size Pin
robert11012-Feb-07 8:46
robert11012-Feb-07 8:46 
GeneralRe: Maximum Attachment Size Pin
happyheartcs12-Feb-07 22:30
happyheartcs12-Feb-07 22:30 
GeneralRe: Maximum Attachment Size Pin
robert11013-Feb-07 2:54
robert11013-Feb-07 2:54 
GeneralRe: Maximum Attachment Size Pin
happyheartcs13-Feb-07 2:58
happyheartcs13-Feb-07 2:58 
GeneralRe: Maximum Attachment Size Pin
robert11013-Feb-07 3:00
robert11013-Feb-07 3:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.