Hi thanks for all reply i use "ctl00$ContentPlaceHolder1$editName" as ID and comeout from the pbm
sivaprakas
Posts
-
javascipt document.getElementByID() problem using MasterPage -
javascipt document.getElementByID() problem using MasterPagehai i new to using masterpage when i use this code any of page in my website javascript code appears how to overcome this problem very urgent <script language=javascript>function test() { alert(document.getElementById("editName").value)); } </script> but without using masterpage this code working perfectly
-
Sql Record Selecthi anyone give query to select first 4 records , select last 4 records , select next 4 records and select previous 4 records in MSSqlServer
-
:^) Crystal Report [modified]:^) Hi i use crystal repprts to create report, can i insert tables in the crystal report can i display the data with multiline pls help me i want to display 4 records per page how to display 4 records i want to display the records in the following format Rec1 Rec2 Rec3 Rec4 i try this format but in the record2 place display the Record1 again pls help me to this format in CrytalReports very Urgent
modified on Tuesday, February 05, 2008 2:56:39 AM
-
Read DropDownList ItemsYes
-
Read DropDownList ItemsI use Html Button and Javascript code to Add items to Asp:DropDownList Control and use Asp:Button Click event to read Asp:DropDownList added items but when i click Asp:Button the Asp:DropDownList Added Items are disappeared how to read the dropdwon list items pls help me
-
Login Controljust write this code on button click(at Code Window) if(username.Text!="" && passsword.Text!="") { here login process } else { string focusScript = "<script language='javascript'>alert('UserName or Password incorrect ");</script>"; Page.RegisterStartupScript("FocusScript", focusScript); }
-
i need coding for asp.netSqlConnection con; SqlCommand cmd; SqlDataReader dr; string pvtConnStr; string trck = ""; pvtConnStr = here give ur connection String; con = new SqlConnection(pvtConnStr); try { con.Open(); cmd = new SqlCommand("select username,password from user_table", con); dr = cmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { if (UserName.Text == dr[0].ToString() && PassWord.Text == dr[1].ToString()) { Response.Redirect("Default.aspx"); } } Label2.Visible = true; Label2.Text = "InValid User Access"; } //Response.Redirect("Default2.aspx"); con.Close(); } catch (Exception ex) { Label2.Visible = true; Label2.Text = "Problem connect to Database"; } it works perfectly
-
Can you help me in asp.net? Thank youdo the follwing steps step1: step2: function change_focus(e) { var keycode; if (window.event) keycode = window.event.keyCode; else if (event) keycode = event.keyCode; else if (e) keycode = e.which; else return true; if( keycode == 13 ) { document.form1.TextBox2.focus(); } } this steps solve ur problem
-
Retrive Asp:DropDownList Addes Items [modified]Hi, I develop a project in ASp.net in my project i use java script function to add textbox value to Dropdownlist when i click ASp.Butoon the Dropdownlist values age disappeared i can't get dropdownlist values how can i get pls help me sn-asp:TextBox list-asp:DropDownList function Button8_onclick() { var t alert("Hai"); //alert(document.form1.elements["dl"].value); //alert(document.getElementById("sn2").value);if(document.getElementById("sn").value!="") { if(document.getElementById("list").value=="1") { t = document.getElementById("sn").value st = new Option(t,t)document.getElementById("snum1").add(st); } if(document.getElementById("list").value=="2") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum2").add(st); } if(document.getElementById("list").value=="3") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum3").add(st); } if(document.getElementById("list").value=="4") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum4").add(st); } if(document.getElementById("list").value=="5") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum5").add(st); } if(document.getElementById("list").value=="6") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum6").add(st); } if(document.getElementById("list").value=="7") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum7").add(st); } if(document.getElementById("list").value=="8") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum8").add(st); } if(document.getElementById("list").value=="9") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum9").add(st); } if(document.getElementById("list").value=="10") { t = document.getElementById("sn").value st = new Option(t,t) document.getElementById("snum10").add(st); } } code Window protected void Button10_Click(object sender, EventArgs e) { for (int j = 0; j < snum10.Items.Count; j++) { //tListt.Items.Add(snListt.Items[j].ToString()); snd[10] = snd[10] + "/" + snum10.Items[j].ToString(); } } snd[] string Array snum1 DropDownlist
mo
-
Problem with form data after submittinggiva some code example
-
Crysaltal ReportI made a simple report CrystalReport1.rpt which was added to my project Now I want to use this report in my project: CrystalReport1 = new CrystalReport1(); But I get this compile-error: The type or namespace name 'CrystalReport1' could not be found (are you missing a using directive or an assembly reference?) What is wrong?
-
Session Variable Problemsir i changed my system firewall settings now i can acccess website installed on my system from any where on my LAN except from LOcal Server why this happen have to change any firewall settings on local server help me
-
Session Variable Problemi did't close the browser window i work on the same browser without logout but the session variable can't be accesssble why this happen pls help me
-
Session Variable ProblemIn my ASp.net Website Application there is no Global.aspx file pls help me how to set global.aspx file r how to keep session i have give value to session variable in login page
-
Session Varialble ProblemHi i have developed an Asp.Net Website i use Session Variable to track the user it work properly in my local system i have installed my website on local server and test it but the session not work properly in the local server when i access it from my machine the session varialble losss its datas how to prevent it please help me
-
Session Variable ProblemHi i have developed an Asp.Net Website i use Session Variable to track the user it work properly in my local system i have installed my website on local server and test it but the session not work properly in the local server when i access it from my machine the session varialble losss its datas how to prevent it please help me :doh: