Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

treuveni

@treuveni
About
Posts
82
Topics
37
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Countdown timer with updatepanel
    T treuveni

    jkirkerx wrote:

    You have to use javascript for countdown timers.

    I can't because i'm getting all kinds of parameters from server side and then activating the timer.

    ASP.NET help question

  • Countdown timer with updatepanel
    T treuveni

    Joshua Omundson wrote:

    Are you getting any type of error messages or is the button just not being disabled?

    Nop, i don't get any error, the button is just not being disable.

    Joshua Omundson wrote:

    Can we also see the code when you are disabling the button

    I'm doing it at the page load event in side some if condition. Also tried puting it inside the time tick event. When i debuged it i saw that the if statment return true.

    ASP.NET help question

  • Deleting row of Grid on button click
    T treuveni

    Hi, You can use editble grid view

    ASP.NET csharp css help tutorial

  • Countdown timer with updatepanel
    T treuveni

    Hi, I'm trying to creat a timer that count down and when it reaches 00:00 to alert with a popup and disable the form. Here is the client side code:

    I'm disabling the timer at the Timer_Tick event, checking when the minutes and seconds are 0. My problem is that i can't disable the form or the submit button. Can someone please assist me?

    ASP.NET help question

  • Ambiguous propertiy
    T treuveni

    Thanks for the reply, O.K. i really using VS 2005 with visual studio, but i can't understan what i need to do in order to handle the case sensitive problem.

    MSDN:

    2.If you cannot rename the members in the defining type, remove the cited programming element from your code. You cannot access an element that appears to Visual Basic to have multiple definitions.

    ASP.NET help question

  • Ambiguous propertiy
    T treuveni

    Hi, I can't find some property in web service, but if i write it anyway i'm getting this error: 'Property Name' is ambiguous because multiple kinds of members with this name exist in class 'WebService Class Name' Can some one please help me???:confused:

    ASP.NET help question

  • What this code is doing?
    T treuveni

    Hi, Can someone please explain me what those lines are doing?

    document.getElementById("form1").target="FormName";
    document.getElementById("txtLabel").value="SendingFile";
    document.getElementById("form1").submit();
    document.getElementById("form1").target="_self";
    document.getElementById("txtLabel").value="";
    iframeAttach.document.getElementById("txtAttached").value="";

    Thanks

    JavaScript question

  • Creat New Security Group At AD
    T treuveni

    nope, all of them ar currect

    C# csharp com windows-admin security help

  • Creat New Security Group At AD
    T treuveni

    System.DirectoryServices.AccountManagement.PrincipalOperationException was caught Message=Unknown error (0x80005000) Source=System.DirectoryServices.AccountManagement ErrorCode=-2147463168

    C# csharp com windows-admin security help

  • Creat New Security Group At AD
    T treuveni

    Hi, I'm trying to add new group, but getting an error: error (0x80005000) this is my code- /// <summary> /// Creates a new group in Active Directory /// </summary> /// <param name="sOU">The OU location you want to save your new Group</param> /// <param name="sGroupName">The name of the new group</param> /// <param name="sDescription">The description of the new group</param> /// <param name="oGroupScope">The scope of the new group</param> /// <param name="bSecurityGroup">True is you want this group /// to be a security group, false if you want this as a distribution group</param> /// <returns>Returns the GroupPrincipal object</returns> public GroupPrincipal CreateNewGroup(string sOU, string sGroupName, string sDescription, GroupScope oGroupScope, bool bSecurityGroup) { PrincipalContext oPrincipalContext = GetPrincipalContext(sOU); GroupPrincipal oGroupPrincipal = new GroupPrincipal(oPrincipalContext, sGroupName); oGroupPrincipal.Description = sDescription; oGroupPrincipal.GroupScope = oGroupScope; oGroupPrincipal.IsSecurityGroup = bSecurityGroup; oGroupPrincipal.Save(); return oGroupPrincipal; } /// <summary> /// Gets the principal context on specified OU /// </summary> /// <param name="sOU">The OU you want your Principal Context to run on</param> /// <returns>Returns the PrincipalContext object</returns> public PrincipalContext GetPrincipalContext(string sOU) { PrincipalContext oPrincipalContext = new PrincipalContext(ContextType.Domain, sDomain, sOU, ContextOptions.SimpleBind, sServiceUser, sServicePassword); return oPrincipalContext; } The code thaken from here- Everything in Active Directory via C#.NET 3.5 (Using System.DirectoryServices.AccountManagement)[^] i think the error comming from here- GroupPrincipal oGroupPrincipal = new GroupPrincipal(oPrincipalContext, sGroupName); what i'm doing wrong? :(

    C# csharp com windows-admin security help

  • Query XML with LINQ
    T treuveni

    Pete O'Hanlon wrote:

    Whereever you see xmlns in your XML, that's the namespace that you need to include to pick it up.

    Still same error "Sequence contains no elements"

    C# csharp database linq com xml

  • Query XML with LINQ
    T treuveni

    Pete O'Hanlon wrote:

    you've forgotten to add the XML namespace to the query

    Like this? XNamespace myNamespace = "some attribute"; var query = from response in xmlDoc.Elements(myNamespace + "PersonsMin") select response; XNamespace is the XAttribute?

    C# csharp database linq com xml

  • Query XML with LINQ
    T treuveni

    Hi, I've the following XML-

    <MessageParts xmlns="http://www.address.com">
    <Status xmlns="">
    .
    .
    .
    .
    <Data>
    <PersonsMin xmlns="some attribute">
    .
    .
    .
    <Parts>
    .
    .
    .
    </Parts>
    </PersonsMin>
    </Data>
    </Status>
    </MessageParts>

    I'me trying to get all the elements in PersonsMin. var query = from response in xmlDoc.Elements("PersonsMin") select response; But i'm getting "Sequence contains no elements". What i'm doing wrong?

    C# csharp database linq com xml

  • Convert string to datetime
    T treuveni

    10x :-D

    C# question help

  • Convert string to datetime
    T treuveni

    Ennis Ray Lynch, Jr. wrote:

    DateTime.ParseExact("20011215", "yyyyMMdd"); //note the capital M's

    What about the IFormatProvider at the constructor? There is no constructor at the ParseExact that takes 2 parameters

    modified on Wednesday, June 15, 2011 3:37 PM

    C# question help

  • Convert string to datetime
    T treuveni

    Hi, I have a string with the format yyyymmdd. I'm trying to convert it to date time by DateTime.Parse(myString), but i'm getting an error. How can i convert it?

    C# question help

  • Windows Authentication On IIS
    T treuveni

    Hi, When i'm trying to get the user that login to windows when my application is on IIS i'm getting this user: IUSER. I think it's somethink from the IIS because it works fime when it's running on my local computer. i tried adding to the web.config-

    <authentication mode="Windows"/>
    <identity impersonate="false"/>

    But still nothing. Can someone please help me? :doh:

    ASP.NET windows-admin security help question

  • Rundom function
    T treuveni

    John Simmons / outlaw programmer wrote:

    Well why didn't you f*ckin say that in your original message? How are we supposed to read your simple little mind when it generates almost no electrical energy on its own?

    f*ck you

    C# help lounge

  • Rundom function
    T treuveni

    I don't want to use the random class. i want to ceate this by my own.

    C# help lounge

  • Rundom function
    T treuveni

    Hi, I'm trying to create a function that gets 2 numbers and returns a random number between those two number. help please

    C# help lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups