Search

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

Matching Posts

  • Re: OnClientClick not working properly for image button when more than 1 javascript mentioned

    Hi A1ien51 , Thanz for ur interest but its not working. even though i called the 2 function in a single function its not evaluating the second function. In my scenario i can't do what u said. what i need is 2 different javascript functions has to be invoked in OnClientClick event. eg. imgbtnBolo.OnClientClick = "javascript:return CheckPanelInputs();"; if (m_ClientEvent.Trim().Length > 0) imgbtnBolo.OnClientClick = "javascript:return CheckPanelInputs();return " + m_ClientEvent;
    Posted to Client Side Web Development (Forum) by pkarthik8 on 1/7/2008
  • OnClientClick not working properly for image button when more than 1 javascript mentioned

    i have created client click event for an image button by setting OnClientClick property imgButton.OnClientClick = "javascript:return CheckInputs1();CheckInputs2()"; when the image button clicked, it evaluates only the first client function CheckInputs1() not the second function . Even though the first function returns true or false it never evaluates the second function. After evaluating first script it directly goes to the server side click event. (i have checked like this also '<asp
    Posted to Client Side Web Development (Forum) by pkarthik8 on 1/7/2008
    Filed under: C#, Javascipt, VS 2005
  • How to sort ArrayList by Price range in C#

    I have inherited IComparable to my class and i'm trying to sort the arraylist using CompareTo(obj) method. for name its sorting perfectly. I need to sort the arraylist according to Price for a given range; say From price and To Price how to perform this. I have tried a way but not works correctly. I have given the code below which i have tried Code public int CompareTo(object obj) { int RetVal = -1; try { ProductItem cmpItem = obj as ProductItem; switch (ItemSortBy) { case ProductItemSortBy.Name
    Posted to C# (Forum) by pkarthik8 on 9/22/2007
    Filed under: asp.NET 2.0 C#
  • Re: How to create virtual folder in IIS for ASP.NET 2005 web project

    Hi Benson Yu, Thankz a lot ur reply helped me and i chosed second option (impersonation) and it worked perfectly. (FYI i'm not using local 2005 SQL Server, I'm connecting to 2003 SQL Server located in another machine) Once again Thankz Regards, Karthik
    Posted to VS Web Deployment Projects (Forum) by pkarthik8 on 8/13/2007
  • How to create virtual folder in IIS for ASP.NET 2005 web project

    I have installed VS 2005 and created a web application as file system and i'm using SQL 2003 database in another machine and when i run my project its going fine. (Connecting to db) Now i created a virtual folder in IIS and mapped my web project folder to it. ( " http://localhost/Test/ " ) Now when i access my application thru the address its throwing Server Error (i have VS 2003 also in my machine) i don't want to connect to SQL 2005. Any settings have to be done in IIS ?? Thankz
    Posted to VS Web Deployment Projects (Forum) by pkarthik8 on 8/10/2007
    Filed under: VS 2005 Web Deployment Projects
  • How to get values of the dynamically created server controls

    i have created a component which will create server controls dynamically from database using Activator.CreateInstance method. This is rendering all the control in the page perfectly. Now i need to get the user entered values of the generated controls How to get it ? Any help would be appreciated. Karthik.
    Posted to Web Forms (Forum) by pkarthik8 on 6/8/2007
    Filed under: Dynamic Control Generation, dynamic controls, adding dynamic controls, custom controls
  • How to create controls using Activator.CreateInstance method

    While adding control created by Activator.CreateInstance method getting error "Specified cast is not valid." Code Assembly asm = Assembly.LoadFrom("C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322\\System.Web.dll"); object obj = Activator.CreateInstance(asm.GetType("System.Web.UI.WebControls.TextBox") ) as object ; this .Controls.Add((Control) obj); I'm using this code to create controls dynamically. Can any one provide solution Thanks in advance Karthik
    Posted to Getting Started (Forum) by pkarthik8 on 6/5/2007
    Filed under: ASP.NET, Asp.Net 1.1, c#
Page 1 of 1 (7 items)