Search

You searched for the word(s): userid:829584

Matching Posts

  • Re: directory info

    Hi, the folder can also be outside your project. check if your account that runs your website has access to the needed path. if your path in on a network resource use the unc-name of it. sample DirectoryInfo di = new DirectoryInfo(@ \\Servername\share\directoryName ); you can also run the piece of code unter a user with permissions, use impersonation. Read this KB-article support.microsoft.com/kb/306158 Regards
    Posted to Getting Started (Forum) by siedler on 12/23/2009
  • Re: directory info

    Hi, on your Dev-machine your WebServer runs under your user account and this user has access to your path. On the Server the IIS-Process runs normally under an special account with less privs. (ASPNET or NetworkService) See the microsoft-kb 306158 to change the user of your iis process.
    Posted to Getting Started (Forum) by siedler on 12/23/2009
  • Re: After user enters data in one field, automatically copy the same text into a second field.

    Hi, try something like this in your PageLoad_Event string script = string.Format("javascript: copy('{1}', '{0}'); ", TextBox2.ClientID, TextBox1.ClientID); TextBox1.Attributes.Add("onblur", script); in your html add this <script type="text/javascript"> function copy(source, target) { document.getElementById(target).value = document.getElementById(source).value; } </script> Hope this helps
    Posted to Client Side Web Development (Forum) by siedler on 12/22/2009
  • Re: DATAGRID VIEW DISPLAYING DEFAULT TIME

    Hi, use the dataformatstring option with HtmlEncode to false. DataFormatString="{0:ddd MM, yyyy}" and use the date format you like. sample <asp:BoundField DataField="BirthDate" DataFormatString="{0:ddd MM, yyyy}" HtmlEncode="false" HeaderText="ddd MM, yyyy" />
    Posted to Data Presentation Controls (Forum) by siedler on 12/2/2009
  • Re: opening page in a browser window

    Hi, read this posts: http://www.dotnetspider.com/resources/920-Popup-windows-ASP-NET-using-C.aspx or http://forums.asp.net/p/1001747/1321503.aspx Hope it helps
    Posted to Web Forms (Forum) by siedler on 10/10/2009
  • Re: Adding a listitem to a DropDownList

    Hi, read this post. http://forums.asp.net/t/1375306.aspx it describes the usage of the AppendDataBoundItems property.
    Posted to Getting Started (Forum) by siedler on 2/11/2009
  • Re: Remote connection

    Hi, read this http://www.codeguru.com/csharp/.net/net_asp/tutorials/article.php/c8477
    Posted to Oracle (Forum) by siedler on 2/10/2009
  • Re: code to close web form

    Hi, you have to use a client-side script for doing this like <script language='JavaScript'> window.opener='x'; window.close(); </script>
    Posted to Web Forms (Forum) by siedler on 2/10/2009
  • Re: Enum Helper Class (Enum Descriptions)

    Hi, u can convert your int to your enum-type with enums.Color color = (enums.Color)Enum.Parse(typeof(enums.Color), "1");
    Posted to Getting Started (Forum) by siedler on 2/6/2009
  • Re: Enum Helper Class (Enum Descriptions)

    Hi, try this code from page http://netcode.ru/dotnet/?lang=&katID=30&skatID=264&artID=7319 public static string GetEnumDescription(Enum value) { FieldInfo fi = value.GetType().GetField(value.ToString()); DescriptionAttribute[] attributes = (DescriptionAttribute[])fi.GetCustomAttributes (typeof(DescriptionAttribute), false); return (attributes.Length > 0) ? attributes[0].Description : value.ToString(); } sample string e1 = enums.GetEnumDescription(enums.Color.Red);
    Posted to Getting Started (Forum) by siedler on 2/6/2009
Page 1 of 18 (171 items) 1 2 3 4 5 Next > ... Last »