|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi There,
I have a Page with Tabs. I have 4 Tabs. Each Tab has Grid. Now the situation is. The First Grid records affect the other Grids. That is i am using a dropdownlist in the Second Grid in CustomColumn, which get Data from the First Grid. Now i Need to Update the Data of this dropdownlist everytime when my First Grid is Modified.
I am just calling the Method that Loads this dropdownlist, but i see it still shows the old one. My question is do i have to Reload the whole Grid to see the Changes of this CustomColumn dropdownlist?
* I just realised, there is a small problem with the Grid i am facing recently since i moved from IE 7 to IE 8. I have a MaskEdit Column in one Grid. It throws Javascript error ''b.IndexOf is not a function" on Click (going to Edit Mode). But this happens only in the cases when i have more than 5 columns in the Grid. It works Perfect if i have only 5 columns.
Thanks
Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Yes. To refresh the drop down list on the server side you must reload the Grid.
We are not sure about the MaskEdit error. Will look into it and get back to you as soon as possible.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi There,
I tried to Load the Grid completed. I must mention to you that i am using ajaxtab and onclick of each tab i fire a javascript method ActiveChanged where i have my __doPostBack('<%= this.btnTrigger.UniqueID %>', ''); which fires server side method. At my server side method i call all the Grid and the dropdownlist sql query inside it.
Since on click of Tab 2 or 3, at that time it fires my sql query for Grid and Dropdownlist both.
I see it fires proper, but still my dropdownlist is not getting refreshed?
Any suggestions would be appreciated.
Thanks Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you create a test page that demonstrates the problem?
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi There, I have created the Demo Page for you http://www.vakakisnet.gr/CropApp/you will see a Grid from there click edit which will take you to the Page which has all the 10 Tabs. As mentioned before, i am firing a server side method on change of Tabs this server side method Loads Grid and Dropdownlist inside the Grid. Which does not work for me. Please let me know if you need the Source Code of the Page? Thank you again for the wonderful support. Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
|
|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi There,
Can you please tell me how can i mail the source project to you? Can you give me some email id where i can send it as attachment?
Thanks Menon
|
|