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
N

Neh C

@Neh C
About
Posts
11
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Edit GridView
    N Neh C

    Try writing the row deleting event in your code behind file

    protected void OnRowDeleting(GridViewDeleteEventArgs e)
    {
    ...
    }

    if you don't need this event make sure that it is not called in your aspx file..

    HTH, Neh

    ASP.NET help question

  • How to spliting a string
    N Neh C

    Yes, thanks for pointing that out.. :)

    Regards, Neh

    C# tutorial

  • How to spliting a string
    N Neh C

    Just use - ToCharArray()

    string strTest = "1100110101";
    char[] cList = strTest.ToCharArray();

    modified on Friday, April 16, 2010 7:33 AM

    C# tutorial

  • how to clear the fields of controls in asp.net with c#
    N Neh C

    set the

    CausesValidation = "false"

    property of the clear button.

    ASP.NET csharp tutorial asp-net

  • how to call gridview sort event explicitly?
    N Neh C

    myGridview.Sort("Column1", SortDirection.Descending);

    ASP.NET tutorial question

  • How to give a document to print in a specific printer
    N Neh C

    am looking into it.. will let u know..

    C# tutorial

  • How to give a document to print in a specific printer
    N Neh C

    Tested the code below.. works fine.. let me know if u r facing an issue.

            printDocument1.DocumentName = "C:/Test.doc";
            printDocument1.PrinterSettings.PrinterName = @"\\\\my-domain\\AAA-HP9050-P1";
            printDialog1.Document = printDocument1;
            if (printDialog1.ShowDialog() == DialogResult.OK)
                printDocument1.Print();
    

    HTH, Neha

    C# tutorial

  • How to give a document to print in a specific printer
    N Neh C

    It is a Crystal - ReportDocument.. used in a web app.. has your query been resolved?

    C# tutorial

  • How to give a document to print in a specific printer
    N Neh C

    You can have a dropdown allowing the user to choose the printer and then based on the selected value set the PrintOptions.PrinterName in the code-behind file - in the print button's click event.. Example protected void btnPrint_Click(object sender, EventArgs e) { if (ddlPrinter.SelectedValue == "S")//Printer 1 myReportDocument.PrintOptions.PrinterName = @"\\my-domain\AAA-HP9050-P1"; else if (ddlPrinter.SelectedValue == "A")//Printer 2 myReportDocument.PrintOptions.PrinterName = @"\\another\OOO-hp4250-p2"; }

    HTH Neh

    C# tutorial

  • iam using visual studio 2005 with ajax control library but after design the form during runtime form is displaying blank page
    N Neh C

    r u using a formview or gridview.. if so then the controls will display only if there is data..unless u specify the emptydatatext..

    ASP.NET csharp visual-studio design

  • confirmation message box from code behind
    N Neh C

    ctrl.Attributes.Add("OnClick", "if(!confirm('Do you want to Delete?!')) return false;");

    ASP.NET csharp asp-net
  • Login

  • Don't have an account? Register

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