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
P

Prasad Babu A

@Prasad Babu A
About
Posts
24
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Grid button click event
    P Prasad Babu A

    Hi, Try like this. btnRem.Attributes.Add("onclick", "window.showModalDialog('frmCustomerRemarks.aspx','BaseWork','dialogWidth:400px;dialogHeight:400px;center:no;');") bye Pessi.

    ASP.NET css tutorial question

  • Grid button click event
    P Prasad Babu A

    Hi, U need to write button code in DataGrid_ItemDataBound() event; In that event, 1st find that button and then write code like this. private void DataGrid_ItemDataBound() { Button btn = (Button)e.Item.FindControl("Button1"); btn.Attributes.Add("OnClick","window.open ('ss.aspx','sample');"); } I hope this will helps u. bye Pessi.

    ASP.NET css tutorial question

  • Uploading Multiple Files
    P Prasad Babu A

    Hi, U can upload multiple files. For that u need use ArrayList for storing HTML FileField controls. Later u traverse ArrayList and upload the files. Bye Pessi.

    ASP.NET html

  • Database Triggers
    P Prasad Babu A

    Hi, If u need to achieve ur requirements. U need to use Window Services or shedulars. WindowServices r very easy. Try to use that one. Bye Pessi

    ASP.NET database sysadmin help announcement

  • type ahead in dropdown list
    P Prasad Babu A

    Hi, We can do like that. but we have to use 3rd party control or AJAX methods. find for DBCOMBO, this is 3rd party tool. u can use with free-of-cost. try to find DBCOMBO or open www.dbcombo.com I hope this will helps u lot bye Pessi.

    ASP.NET csharp asp-net tutorial

  • Dropdown click
    P Prasad Babu A

    Hi, First u need to set AutoPostBack=true, then u have to write Code for SelectIndexChanged event. Then only it will works. Bye Pessi.

    ASP.NET tutorial question

  • asp.net problem
    P Prasad Babu A

    Hi, Better to store in one field at DB. U can use 1 for CheckBox Selection and 0 for CheckBox unselection. U can store that field value like 1,1,1,1,0,0,1...etc. This is very easy.. bye Pessi.

    ASP.NET csharp asp-net database help

  • Dropdown and Radiobutton Index
    P Prasad Babu A

    Hi, Plz find C# code. public int getIndex(RadioButtonList ddList, string val) { int i; string str; for (int i = 0; i <= ddList.Items.Count - 1; i++) { str = ddList.Items(i).Value.Trim; if (str == val) { return i; } } return 0; } public int getIndex(DropDownList ddList, string val) { int i; for (int i = 0; i <= ddList.Items.Count - 1; i++) { if (ddList.Items(i).Value == val) { return i; } } return 0; } I hope this will helps u. Bye Pessi.

    ASP.NET csharp database

  • Dropdownlist box and Radio Button Display
    P Prasad Babu A

    Hi, U can code like this. ddl.SelectedItem.Text = "three"; or ddl.Items.FindByText("Three").Selected = true; I hope this will helps u. Bye Pessi.

    ASP.NET database help

  • remove listbox item
    P Prasad Babu A

    Hi, Sorry, This is the code, i forgot items. ddl.Items.Clear(); //To Delete all ddl.Items.Remove("Sample"); //To delete particular Bye Pessi.

    ASP.NET question wpf wcf

  • remove listbox item
    P Prasad Babu A

    Hi, DropDownList/ListBox has Clear() method. U can use that method. ddl.Clear(); //To delete all items. ddl.Remove(x); //To delete perticular item Bye Pessi.

    ASP.NET question wpf wcf

  • (Very Urgent)server control events are not firing
    P Prasad Babu A

    Hi, Check once at InitializeComponent() method. In that check for ur button or linkbutton handler. private void InitializeComponent() { this.ddl.SelectedIndexChanged += new System.EventHandler (this.ddl_SelectedIndexChanged); this.Load += new System.EventHandler(this.Page_Load); } Bye Pessi.

    ASP.NET help csharp javascript sysadmin

  • Dropdownlist selected Item
    P Prasad Babu A

    Hi, how ur populating dropdownlist, 1st check that one. if u r populating at page_load, plz write ur code under this condition if(!IsPostBack) { //populate ur DropDownList } then u can write string selvalue = ddlItems.SelectedItem.Value; txtName.Text = selvalue; in SelectIndexChanged event. Bye Pessi

    ASP.NET csharp asp-net database help

  • What is AJAX?
    P Prasad Babu A

    Hi Friends, What is Ajax? what is importance of it? plz explain me? Thanks Pessi.:)

    ASP.NET question

  • dropdownlist SelectedIndexChanged not firing
    P Prasad Babu A

    Hi, If u want SelectIndexChanged method to run, u need to set AutoPostBack property of DropDownList to true. Then only it will fires. Try this, it will helps u... aspx ----

    codebehind: ----------- public partial class index1 : MC.Web.webPagebase { protected void Page_Load(object sender, System.EventArgs e) { if(!IsPostBack) { DropDownList1.DataSource = mc_type.GetAllTypes(); DropDownList1.DataTextField = "TypeText"; DropDownList1.DataValueField = "TypeAbbrev"; DropDownList1.DataBind(); }//end-if } protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { Label1.Text = DropDownList1.SelectedItem.ToString(); } Bye Pessi.

    ASP.NET help sysadmin question

  • Padleft Method
    P Prasad Babu A

    Hi, At ItemDataBound() method, u can achieve this one. Suppose int a = 10; Response.Write(a.ToString("000000")); like this u can bind to DataGrid At ItemDataBound() mentod. Bye Pessi.

    ASP.NET question database wpf wcf algorithms

  • Data Binding
    P Prasad Babu A

    Hi, U can do it. But need u need to write lot of code. Bye Pessi

    ASP.NET wpf wcf help tutorial

  • Dropdownlist
    P Prasad Babu A

    Hi Lavanya, U can populate the DropDownList in Page_Load or anyothers methods. otherwise u need to write javaScript functions. Bye Pessi.

    ASP.NET help

  • Javascript - Alert and Redirect???
    P Prasad Babu A

    Hi, I tried with ur code, its working fine. Try in new applicaiton. Bye Pessi.

    ASP.NET javascript question

  • HELP needed!!
    P Prasad Babu A

    Hi, I think ur using Server.MapPath() don't use that one. U can use directly those paths. if u use MapPath(), i will goes to ur application path. Bye Pessi.

    ASP.NET csharp asp-net database help question
  • Login

  • Don't have an account? Register

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