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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
V

Vengatachalapathy Palanivel

@Vengatachalapathy Palanivel
About
Posts
15
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Microsoft JScript runtime error: Object required
    V Vengatachalapathy Palanivel

    The problem is due to the accessing an object before its fully loaded. For jQuery, try using $(document).ready(function(){--- jQuery functions go here ----}); Please let me know, if you still face the problem.

    Regards, Vengat P

    ASP.NET help

  • how to enable javascript within a ajax control
    V Vengatachalapathy Palanivel

    Have you added your button control inside the tag of the Update panel... and one more thing you also need to know whether it is a post back trigger or asynchronous trigger... If you are not aware of this, Just try this the following piece of code <Triggers> </Triggers >

    Regards, Vengat P

    ASP.NET question java javascript tools tutorial

  • Set Authentication for webconfig
    V Vengatachalapathy Palanivel

    Does he has access to the server in which your application is hosted ? Its impossible to access the web config and machine config file from browser...

    Regards, Vengat P

    ASP.NET csharp database security help

  • Higlight dropdown list item when i select 2nd dropdown list
    V Vengatachalapathy Palanivel

    you can make use of Javascripts functions to solve this problem. On change event of second dropdown, call a Jscript function. In this Jscript function identify the selected value and based on it select the appropriate value in first dropdown. Hope this helps you.

    Regards, Vengat P

    ASP.NET help tutorial

  • Dynamic tooltip
    V Vengatachalapathy Palanivel

    You can make updatable tooltips by making use of the following steps using Javascript. For the first time, On mouse over event you can create a "DIV" control using "createElement" method with the respective text. Then, you can update the content of the "DIV" element innertext on mouse out event(you can hide this "DIV"). While creating the control make the "Control ID" uniform across all the cells, so that you don't need to recreate the control every time. If it's already there you can just make the display property to 'block' or else create the control newly. Hope this helps you.

    Regards, Vengat P

    Visual Basic question announcement

  • Accessing css from javascript in a ASPX form.
    V Vengatachalapathy Palanivel

    Hi you can make use of this piece of code

    gridViewCtl.rows[index].cells[i].childNodes[0].className = 'your_class_name';

    Hope this helps.

    Regards, Vengat P

    Web Development javascript css database question

  • IIS6 and Ajax Tools
    V Vengatachalapathy Palanivel

    Have you installed Ajax Framework in Windows 2003 Server also or not??

    Regards, Vengat P

    ASP.NET sysadmin tools

  • partially disabling browser functionality...
    V Vengatachalapathy Palanivel

    I think, you can open the page in a modal window...

    Regards, Vengat P

    Web Development help

  • Header Problem in Gridview
    V Vengatachalapathy Palanivel

    In which event, you are trying to find the control??

    Regards, Vengat P

    ASP.NET help

  • The Switch Statement
    V Vengatachalapathy Palanivel

    Switch case is better in performance than if-else-if ladder. While using switch case, compiler optimizes the code for the fastest execution. you can check this Url also: http://www.blackwasp.co.uk/SpeedTestIfElseSwitch.aspx[^]

    Regards, Vengat P

    C# css com tools architecture question

  • How to paste only valid value in textbox.
    V Vengatachalapathy Palanivel

    I am also new to windows application, but i'm sure that, you can bind the value of textbox again with the help of a global variable(that will be updated for each key press event and text change event). Sample: private string strTestVal = string.Empty; on keypress event: in if condition strTestVal = textBox1.Text.ToString(); on text change event: textBox1.Text = strTestVal;

    Regards, Vengat P

    C# tutorial

  • How to paste only valid value in textbox.
    V Vengatachalapathy Palanivel

    I think, this piece of code will help you out...

    private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
    if ( Convert.ToInt16(e.KeyChar) >= 48 && Convert.ToInt16(e.KeyChar) <=57)
    {
    e.KeyChar = e.KeyChar;
    }
    else
    {
    e.KeyChar = Convert.ToChar(0);
    }
    }

        private void textBox1\_TextChanged(object sender, EventArgs e)
        {
            char\[\] strSample = new char\[((System.Windows.Forms.TextBox)(sender)).Text.ToString().Length\];
    
            strSample = (((System.Windows.Forms.TextBox)(sender)).Text).ToCharArray();
    
            for (int i=0; i<strSample.Length;i++)
            {
                if (Convert.ToInt16(strSample\[i\]) >= 48 && Convert.ToInt16(strSample\[i\]) <= 57)
                {
                    continue;
                }
                else
                {
                    ((System.Windows.Forms.TextBox)(sender)).Text = "";
                    break;
                }
            }
            
        }
    

    Try this and let me know if you have any concerns. Regards, Vengat P

    C# tutorial

  • textbox entry restrict
    V Vengatachalapathy Palanivel

    Try validating the control using Javascript and regular expressions. Hope this helps you. Regards, Vengat P

    ASP.NET tutorial

  • How to paste only valid value in textbox.
    V Vengatachalapathy Palanivel

    If that's a web application or windows application . If it's a web application, then you can go about by Javascripts.

    C# tutorial

  • passing parameters to web service
    V Vengatachalapathy Palanivel

    Basically the web method signature should not be altered. It should be only of the form public static string[] GetCompletionList(string prefixText, int count, string contextKey) { .... } Here prefixText = field value (on which the details has to be filtered) count = number of values to be returned in the array contextKey = the Column name on which the prefixText has to be applied. And moreover, if you want to pass more parameter to this web service - you have two options, 1. Pass using Session variables by enabling the Session in web method 2. You can append values to the contextKey with some delimitters and in the web method you can make use of a split function to read the parameters passed. Hope this helps you. Regards, Vengat

    Web Development question database data-structures learning
  • Login

  • Don't have an account? Register

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