Click here to Skip to main content
15,890,512 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Sending Mail Pin
N a v a n e e t h2-Jul-07 22:40
N a v a n e e t h2-Jul-07 22:40 
AnswerRe: Sending Mail Pin
Sathesh Sakthivel2-Jul-07 22:57
Sathesh Sakthivel2-Jul-07 22:57 
GeneralRe: Sending Mail Pin
Sujay chakraborty15-Jan-09 17:38
Sujay chakraborty15-Jan-09 17:38 
QuestionRegular expression Error Pin
Narendra Mohan2-Jul-07 21:47
Narendra Mohan2-Jul-07 21:47 
AnswerRe: Regular expression Error Pin
Ed.Poore2-Jul-07 22:26
Ed.Poore2-Jul-07 22:26 
Questionisdecimal validation Pin
Vipin.d2-Jul-07 21:45
Vipin.d2-Jul-07 21:45 
AnswerRe: isdecimal validation Pin
DavidNohejl2-Jul-07 22:24
DavidNohejl2-Jul-07 22:24 
QuestionAjax Error in asp.net 2.0 Pin
nabeelkhan2-Jul-07 21:38
nabeelkhan2-Jul-07 21:38 
HI,
i have a DropDownList,Gridview and buttion on my WebForm.aspx,when User Change the Selection in the Dropdownlist ,i bind the Onclick event of the buttion control at run time,thats working pretty Good but when i click the button it send the Request on the server through XMLHTTPRequest Object and Fill the Gridview,but the PROBLEM is that the Grid cannot befill.i check the Dataset it has the data but could not show in the gridview.i have implement Ajax in Asp.net 2.0 manually,i mean to say i write the Code of XMLHTTPRequest Object in Javascript file and Send the Request to the Server Through Xmlhttprequest Object.i think the Gridview is not Initialize when the Post Request in come on the Server.
The Code of Javascritp is.
// JScript File

var xmlhttp;
function loadData(url)
{
xmlhttp=null;
// code for Mozilla, etc.
if (window.XMLHttpRequest)
{
xmlhttp=new XMLHttpRequest();
}
// code for IE
else
if (window.ActiveXObject)
{
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
if (xmlhttp!=null)
{
xmlhttp.onreadystatechange=state_Change;
xmlhttp.open("POST",url,true);
xmlhttp.send();
}
else
{
alert("Your browser does not support XMLHTTP.");
}
}
function state_Change()
{
// if xmlhttp shows "loaded"
if (xmlhttp.readyState==4)
{
// if "OK"
if (xmlhttp.status==200)
{
// ...some code here...
}
else
{
alert("Problem retrieving XML data")
}
}
}
The Code of the Aspx file

protected void Page_Load(object sender, EventArgs e)
{
string Query = Request.QueryString["UserId"];
if (!IsPostBack && Query == null)
{
DALayer dal = new DALayer();
DataSet dst = new DataSet();
dst = dal.Fillddl();
ddl.DataSource = dst;
ddl.DataBind();
ddl.Items.Insert(0, "Select UserId");
}
else
if (Query != null)
{
DALayer dal = new DALayer();
DataSet dst2 = new DataSet();
//Here the dataset is filling Well but GridView cannot show the data
dst2 = dal.AjaxGridFill(Query);
GridView1.DataSource = dst2;
GridView1.DataBind();
}
}


Questionerror :asp.net web service in visual c++ Pin
zahra_d842-Jul-07 21:22
zahra_d842-Jul-07 21:22 
QuestionDoubt regarding Report generation. Pin
SrividhyaS2-Jul-07 20:58
SrividhyaS2-Jul-07 20:58 
AnswerRe: Doubt regarding Report generation. Pin
Rahul.Goel2-Jul-07 21:11
Rahul.Goel2-Jul-07 21:11 
QuestionProblem with Response.Write() Pin
Narendra Mohan2-Jul-07 20:51
Narendra Mohan2-Jul-07 20:51 
AnswerRe: Problem with Response.Write() Pin
Sandeep Akhare2-Jul-07 21:03
Sandeep Akhare2-Jul-07 21:03 
GeneralRe: Problem with Response.Write() Pin
Narendra Mohan2-Jul-07 21:16
Narendra Mohan2-Jul-07 21:16 
Questionhtml table display........ Pin
Member 38798812-Jul-07 20:42
Member 38798812-Jul-07 20:42 
AnswerRe: html table display........ Pin
Sandeep Akhare2-Jul-07 20:45
Sandeep Akhare2-Jul-07 20:45 
AnswerRe: html table display........ Pin
honeyss2-Jul-07 20:45
honeyss2-Jul-07 20:45 
AnswerRe: html table display........ Pin
Imran Khan Pathan2-Jul-07 21:16
Imran Khan Pathan2-Jul-07 21:16 
Questioncreating textbox on fly Pin
hari4ur2-Jul-07 20:20
hari4ur2-Jul-07 20:20 
AnswerRe: creating textbox on fly Pin
Sandeep Akhare2-Jul-07 20:27
Sandeep Akhare2-Jul-07 20:27 
GeneralRe: creating textbox on fly Pin
hari4ur3-Jul-07 20:46
hari4ur3-Jul-07 20:46 
GeneralRe: creating textbox on fly Pin
Sandeep Akhare3-Jul-07 20:55
Sandeep Akhare3-Jul-07 20:55 
GeneralRe: creating textbox on fly Pin
hari4ur4-Jul-07 23:31
hari4ur4-Jul-07 23:31 
Questionhow to input text on hitting the enter key in asp.net Pin
Piyush Vardhan Singh2-Jul-07 19:35
Piyush Vardhan Singh2-Jul-07 19:35 
AnswerRe: how to input text on hitting the enter key in asp.net Pin
honeyss2-Jul-07 19:46
honeyss2-Jul-07 19:46 

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.