Click here to Skip to main content
15,914,500 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Runtime Error On Server Pin
AprNgp3-Aug-09 22:56
AprNgp3-Aug-09 22:56 
Questiondropdownlist problem Pin
indian223-Aug-09 21:06
indian223-Aug-09 21:06 
AnswerRe: dropdownlist problem Pin
Blue_Boy3-Aug-09 21:09
Blue_Boy3-Aug-09 21:09 
AnswerRe: dropdownlist problem Pin
Christian Graus3-Aug-09 21:16
protectorChristian Graus3-Aug-09 21:16 
QuestionHow To Start Crystal Reports In VisaulStudio 2008 Pin
axman_podili@yahoo.co.in3-Aug-09 21:05
axman_podili@yahoo.co.in3-Aug-09 21:05 
QuestionHow to use RecordSelectionFormula in Sql Server Reporting Services 2005 useing ASP.NET? Pin
nileshjethava3-Aug-09 21:04
nileshjethava3-Aug-09 21:04 
QuestionCrystal report Allignment problem Pin
Any_India3-Aug-09 20:35
Any_India3-Aug-09 20:35 
Questionontextchanged event Pin
Member 38798813-Aug-09 20:09
Member 38798813-Aug-09 20:09 
Hi guys,

I have a textbox in that i have mentioned autopostback [property true and its event(ontextchanged") i am executing my code bolck is there name already exist or not in database...,

but this ontextchanged event getting fire on my button click event only...,
its not excuting the textchanged place...,

is there anything i want to add in that place to fire the event?....,


this my sample code bolck:


<asp:textbox id="txt_section" cssclass="textboxGQ" runat="server"
="" ontextchanged="txt_section_TextChanged" autopostback="True"><asp:label
id="lbl_avail" runat="server" text="">



protected void txt_section_TextChanged(object sender, EventArgs e)
{
AdminDAL objadmin = new AdminDAL();
DataSet DS = new DataSet();
DS=objadmin.DAL_Availabilty(txt_section.Text);
if(DS.Tables[0].Rows.Count>0)
{
count=Convert.ToInt32(DS.Tables[0].Rows[0]["sectname"].ToString());
}
if (count > 0)
{
lbl_avail.Text = "Section Name Already Exists";
}
else
{
lbl_avail.Text = "Section Name Available";
}
}

Thanks & Regards,
Member 3879881,
please don't forget to vote on the post

AnswerRe: ontextchanged event Pin
Christian Graus3-Aug-09 20:23
protectorChristian Graus3-Aug-09 20:23 
GeneralRe: ontextchanged event Pin
Ricardo Casquete3-Aug-09 21:59
Ricardo Casquete3-Aug-09 21:59 
AnswerRe: ontextchanged event Pin
Ricardo Casquete3-Aug-09 21:59
Ricardo Casquete3-Aug-09 21:59 
Questionhow to get value from javascript on page load event Pin
rahul.net113-Aug-09 19:58
rahul.net113-Aug-09 19:58 
AnswerRe: how to get value from javascript on page load event Pin
Christian Graus3-Aug-09 19:59
protectorChristian Graus3-Aug-09 19:59 
GeneralRe: how to get value from javascript on page load event Pin
rahul.net113-Aug-09 20:11
rahul.net113-Aug-09 20:11 
GeneralRe: how to get value from javascript on page load event Pin
Christian Graus3-Aug-09 20:18
protectorChristian Graus3-Aug-09 20:18 
GeneralRe: how to get value from javascript on page load event Pin
rahul.net113-Aug-09 20:33
rahul.net113-Aug-09 20:33 
GeneralRe: how to get value from javascript on page load event Pin
Christian Graus3-Aug-09 21:03
protectorChristian Graus3-Aug-09 21:03 
GeneralRe: how to get value from javascript on page load event Pin
Arun Jacob3-Aug-09 21:07
Arun Jacob3-Aug-09 21:07 
GeneralRe: how to get value from javascript on page load event Pin
rahul.net113-Aug-09 21:08
rahul.net113-Aug-09 21:08 
Questionplease help me Pin
sivasampathkumar3-Aug-09 19:49
sivasampathkumar3-Aug-09 19:49 
AnswerRe: please help me Pin
Christian Graus3-Aug-09 19:51
protectorChristian Graus3-Aug-09 19:51 
AnswerYou are too stupid to use a computer Pin
Christian Graus3-Aug-09 20:21
protectorChristian Graus3-Aug-09 20:21 
QuestionServer Application Unavailable error in IIS 5.1 Pin
Chesnokov Yuriy3-Aug-09 19:41
professionalChesnokov Yuriy3-Aug-09 19:41 
AnswerRe: Server Application Unavailable error in IIS 5.1 Pin
Abhijit Jana3-Aug-09 19:46
professionalAbhijit Jana3-Aug-09 19:46 
Questiondoes not contain definition for row index [modified] Pin
haleemasher3-Aug-09 19:41
haleemasher3-Aug-09 19:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.