472,127 Members | 1,855 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

DataGrid problem

I am using c# and I made a Static DataGrid. I have my own function to set columns and template columns the way I want at runtime. I have been using the same grid class I made for many projects so far without a problem till now.

In one page I have one column with a dropdown list. I change it in many rows and click update which generates update statements based on the grid. It works perfectly, I intergrate it to my fellow developers project and test it and it works. When we move it to our web server computer we get a strange problem. When I click on update it sends a update statement to the SQL server but with the wrong info on the ddl column it always uses the initilal value of the datagrid to update. No error messages just seems like the ddl get reset back to what it was before then the update occurs. It only does this on the web server not our 2 computers.

One of my other pages has a checkbox column I check items and click details and I store the primary keys of the selected columns in a textbox which I then execute a javascript to transfer it to the popup window which displays the details of the selected columns. Again this works on my computer and my co-workers. When moved to server I check on checkboxs and click on details button. My details button checks to make sure there is something checked and does what it usually does but it says there is no checkboxs checked and after I click the button the check boxs have unchecked themselves. Note on my computer when my popup window contains all the details the checkboxs are still checked on the previous window.

I have no idea what is wrong. All viewstates are set to true when it's executing on server as well. I am not sure if there is some sort of cacheing option or problem which is only happening on our server. Anyone have any ideas?

I would really appricate any help thanks
Mar 17 '07 #1
0 969

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Chris Plowman | last post: by
reply views Thread by Emerson | last post: by
5 posts views Thread by Jeff | last post: by
4 posts views Thread by The Alchemist | last post: by
9 posts views Thread by tshad | last post: by
4 posts views Thread by tshad | last post: by
9 posts views Thread by rn5a | last post: by
2 posts views Thread by =?Utf-8?B?Y3JlYXZlczA2MjI=?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.