Okay I have something for you!
1. <appSettings> should be placed outside of <system.web> - not inside as you have it now.
2. <authorization><allow users="*" /> <authorization> you forgot an "/" in your closing tag </authorization>.
3. <globalization...
Solved the problem! I don't know why I didn't see this from the start! :D
<!--
<appSettings>
<add key="da-DK" value="100"/>
<add key="de-DE" value="742,87"/>
<add key="en-US"...
Thank you jen89.
You are right, when programming in C# you use []. I already know this, but thank you anyway! Certanly something one could easely over look.
However, I'm still stuck with my problem. It's like there's no connection between my aspx file and the web.config. And everywhere i read...
Hi everyone!
As the subject says I have problems retrieving appSettings from my web.config file.
The web.config file is placed at the root as it should be and I have the following name/values added:
<appSettings>
<add key="da-DK" value="100"/>
<add...
If anyone should have the same problem as I, here's a link to a small program called Resourcer. I found it in my desperate search for a solution - and it worked! :D
http://www.dnzone.com/ShowDetail.asp?NewsId=33
This can be used to created resx files.
Regards
Kenni
I want to create a resource file (resx) but I don't know how to do this. It seems as if it is the easiest thing in the world if you have Visual Studio.Net - however I'm not that forunate.
So is there a way to create one without VS.Net and how should it be formatted. I know it uses XML-format...
Thank you jn03! I tried changing the focus away from the submit button, but it didn't fix my problem. :D
I'm not sure it's a matter of focus in my case it's just a question of somehow telling the browser or keeping the browser from resending the information when someone clicks...
Heres the code for the Codebehind file! When I hit my add row button on page it is handled by "btnSubmitTask_Click". No Problem. But it's the refresh/update in browser part that's triggy since it'll keep calling the handler adding the same row.
I have found other posts about this...
Thank you for taking your time to look at this post! :D
I have a page with a list of data comming from a database. On the same page one can add a new row to that list!
When hitting "add new row to list" button the page does a postback calling a method in it's codebehind that adds the...
Okay I figured it out! Here's the all too simple solution to my problem!
In my Codebehind file I forgot to declare my Textbox controls! Simply adding the following line made me able to access my <asp:Textbox ID="Textbox_Subject"> 's attributes.
I declared it this way:
public TextBox...
Maybe I should get some sleep, 'cause it seems that even the simplest things are becoming big problems now!
Problem:
1) I have a asp:Textbox named Textbox_Subject on my aspx.
2) I have a Codebehind file for the above aspx.
?) How do I clear/alter the text in that Textbox from within my...
Tanx buddy!
<asp:imagebutton> works for me! I also tried adding a runat="server" to my original button. But i can't get it to post back! Not at the moment anyway! :D
The reason why I'm interested in using my old-style button is because I have a feeling that its cleaner than using the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.