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
A

Anbuselvan

@Anbuselvan
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Inserting new values to checkboxlist in Jaavascript
    A Anbuselvan

    You are right! :) Here is a JavaScript sample. Markup Part: ========= function AddMoreItems() { var newNode = null; var objList = document.getElementById('CheckBoxList1'); if (objList != null) { var tblBody = objList.getElementsByTagName('TBODY'); newNode = tblBody[0].rows[tblBody[0].rows.length-1].cloneNode(true); if (newNode != null) tblBody[0].appendChild(newNode); } return false; }

    Code Behind Part: ============= protected void Page_Load(object sender, EventArgs e) { CheckBoxList1.Items.Add(new ListItem("Hello")); CheckBoxList1.Items.Add(new ListItem("Welcome")); submitBtn.Attributes.Add("onclick", "return AddMoreItems();"); } I hope you got some idea! Enjoy! P.Anbuselvan IT Consultant Emirates Group IT, UAE

    ASP.NET question csharp asp-net help

  • Inserting new values to checkboxlist in Jaavascript
    A Anbuselvan

    Hi, Check this link... http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.checkboxlist.checkboxlist(vs.80).aspx[^]

    P.Anbuselvan IT Consultant Emirates Group IT, UAE

    ASP.NET question csharp asp-net help

  • User Controls, Master Pages, CSS and putting it all together
    A Anbuselvan

    Hi, There are two ways available to resolve your issue. 1. Simple and easy way. Put all your CSS styles in a style sheet and save into your project. string should be: Add the following code to your control's page load event: Page.ClientScript.RegisterClientScriptBlock(GetType(), , , false); 2. Some more work but efficient. Create a function in for your master page like, public void AddCssLink(string cssfile) { HtmlGenericControl styleCtrl = new HtmlGenericControl("link"); styleCtrl.Attributes.Add("href", "Styles/" + cssfile); styleCtrl.Attributes.Add("rel", "stylesheet"); styleCtrl.Attributes.Add("type", "text/css"); Page.Header.Controls.add(styleCtrl); } from your control's page load event, Master.AddCssLink(""); Happy programming. With Best Regards, P.Anbuselvan IT Consultant Emirates Group IT, UAE

    ASP.NET question css winforms help

  • passing Value from one windows form to another
    A Anbuselvan

    Hi, If you are using McAfee anti virus scanner, do the following: 1. Right click the McAfee task bar icon and open "VirusScan Console" window. 2. From VirusScan console window righ click the "Buffer Overflow Protection" option and disable it. 3. Run your application again. Happy Programming!!! :) Regards, P.Anbuselvan Sr.Software Engineer Hyderabad

    C# help question

  • What a character !!
    A Anbuselvan

    Hi, You can also try this ... string oldWord = "Hello Welcome"; string newWord = ""; for (int c = 0; c < 26; c++) { int newchar = (int)'a'+c; newWord += oldWord.Replace(' ', (char)newchar ); } System.Diagnostics.Debug.WriteLine(newWord); Result: "HelloaWelcomeHellobWelcomeHellocWelcomeHellodWelcomeHelloeWelcomeHellofWelcomeHellogWelcomeHellohWelcomeHelloiWelcomeHellojWelcomeHellokWelcomeHellolWelcomeHellomWelcomeHellonWelcomeHellooWelcomeHellopWelcomeHelloqWelcomeHellorWelcomeHellosWelcomeHellotWelcomeHellouWelcomeHellovWelcomeHellowWelcomeHelloxWelcomeHelloyWelcomeHellozWelcome" Happy Programming!!! :) Regards, P.Anbuselvan Sr.Software Engineer Hyderabad

    C# c++ question

  • extracting substring
    A Anbuselvan

    Hi, Change your code like this... string comm="CONTSCAN E:\\projects backup\\ankitclam backup\\Clamtest\\testing\\hello.txt\r\n"; /* int x=comm.Length; x=x-9; string path; path=comm.Substring(9,x); MessageBox.Show(path); */ comm = comm.Replace("CONTSCAN ",""); comm = comm.Replace("\r\n",""); System.Diagnostics.Debug.WriteLine(comm); Happy Programming!!! :) Regards, P.Anbuselvan Sr. Software Engineer Hyderabad

    C# database testing beta-testing

  • ActiveX component can't create object
    A Anbuselvan

    Hi All, I solved my problem. Follows the informations from the given link http://support.microsoft.com/default.aspx?scid=kb;en-us;Q200271 for the solution. Regards P.Anbuselvan

    Visual Basic com help

  • Insert a [Enter] in a String
    A Anbuselvan

    Hi Friend, Try this for better. Text1.Text = "Anbu" & VbNewLine & "Selvan" Have a nice coding. P.Anbuselvan

    Visual Basic html tools help

  • ActiveX component can't create object
    A Anbuselvan

    Hi all, I received 'ActiveX component can't create object' while creating Winsock control dynamically. How will I overcome this problem. Thanks, P.Anbuselvan

    Visual Basic com help
  • Login

  • Don't have an account? Register

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