Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > GridView Control is not posting back correctly

Thread Tools

GridView Control is not posting back correctly

Muhammad Usman
Posts: n/a
Hi All

I am using ASP 2 in VS beta 2. I am using a gridview and have
bounded it with datatable. I have added dropdownlist to the gridview
cell dynamically.

DropDownList DropListJoins = new DropDownList();
DropListJoins.SelectedIndexChanged += new

void DropListJoins_TextChanged(object sender, EventArgs e)

//gvQueryPane is the gridview object

Now on index changed postback the callback function of indexchanged isnt
called but the pageload event is called and on refresh it erases the
dropdownlist control from the cell.

How do i overcome this problem.

Muhammad Usman

*** Sent via Developersdex ***
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form not posting correctly on cellphone Ronny ASP .Net Mobile 0 11-20-2007 12:49 PM
GridView not paging correctly Ronald S. Cook ASP .Net 1 04-09-2007 05:10 PM
Calendar Control posting back spitapps ASP .Net Web Controls 1 01-28-2007 11:57 PM
How to stop asp control from posting back? Charlie ASP .Net 1 10-25-2004 08:13 PM
Pages not posting back GrantMagic ASP .Net 1 10-05-2004 03:30 PM