Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. KenniM

    Error with appsettings

    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=&quot;*&quot; /> <authorization> you forgot an &quot;/&quot; in your closing tag </authorization>. 3. <globalization...
  2. KenniM

    Error with appsettings

    Hi AgentM! I just tested you code in my own web.config and there were no errors. Could you post some more of your web.config file? Best Regards Kenni
  3. KenniM

    Problem retrieving appSettings from Web.Config

    Solved the problem! I don't know why I didn't see this from the start! :D <!-- <appSettings> <add key=&quot;da-DK&quot; value=&quot;100&quot;/> <add key=&quot;de-DE&quot; value=&quot;742,87&quot;/> <add key=&quot;en-US&quot...
  4. KenniM

    Problem retrieving appSettings from Web.Config

    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...
  5. KenniM

    Problem retrieving appSettings from Web.Config

    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=&quot;da-DK&quot; value=&quot;100&quot;/> <add...
  6. KenniM

    Creating a resx file without VS.NET

    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
  7. KenniM

    Creating a resx file without VS.NET

    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...
  8. KenniM

    Refreshing keeps adding to Database!

    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...
  9. KenniM

    Refreshing keeps adding to Database!

    If anyone can help It would really be great! Links, post anything to guide me here! :D Thanks! Kenni
  10. KenniM

    Refreshing keeps adding to Database!

    Heres the code for the Codebehind file! When I hit my add row button on page it is handled by &quot;btnSubmitTask_Click&quot;. 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...
  11. KenniM

    Refreshing keeps adding to Database!

    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 &quot;add new row to list&quot; button the page does a postback calling a method in it's codebehind that adds the...
  12. KenniM

    Button probs calling method!

    Thank you Harm Meijer! It works now! :D Cheers Kenni
  13. KenniM

    Changing Textbox from Codebehind???

    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=&quot;Textbox_Subject&quot;> 's attributes. I declared it this way: public TextBox...
  14. KenniM

    Changing Textbox from Codebehind???

    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...
  15. KenniM

    Button probs calling method!

    Tanx buddy! <asp:imagebutton> works for me! I also tried adding a runat=&quot;server&quot; 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...
  16. KenniM

    Button probs calling method!

    Someone? ... anyone! :D
  17. KenniM

    Button probs calling method!

    Okidoki! here goes... I have a form with two input controls and a submit button! When I click my submit button I want the aspx to PostBack and use a codebehind class method called &quot;UpdateTasklist()&quot;. This is not a problem if I use the <asp:button...> but I have my own (way cooler)...
  18. KenniM

    Problem referencing a class!

    Also, I'm not sure what exactly is the Namespace of my app! Is it TaskManager? or is there somewhere I need to specify this! Anyone? :D
  19. KenniM

    Problem referencing a class!

    Hi Rob, thanks for your help! Unfortunately I can't get it to work! But maybe I'm not that far from succeeding! More info on situation: My files look like this: ----------------- components (directory containing .cs class files) default.aspx default.aspx.cs ----------------- all clases are...
  20. KenniM

    Problem referencing a class!

    I have tried to find a post on this subject but haven't been able to find one that helps me! 1) I have a directory containing my .cs classes. 2) I have a codebehind file from where I want to use these classes. ?) Can I do this without compiling my classes to a dll? I've read that you can...

Part and Inventory Search

Back
Top