Welcome Guest Search | Active Topics | Sign In | Register

Refresh Grid CustomColumn Options
Menon
Posted: Monday, July 27, 2009 2:32:42 AM
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
eo_support
Posted: Monday, July 27, 2009 6:54:31 AM
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!
Menon
Posted: Friday, July 31, 2009 9:45:44 AM
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
eo_support
Posted: Friday, July 31, 2009 1:56:58 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Can you create a test page that demonstrates the problem?

Thanks!
Menon
Posted: Tuesday, August 4, 2009 6:21:33 AM
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
eo_support
Posted: Tuesday, August 4, 2009 8:50:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Yes. We need the source project in order to run it here. Please make sure you isolate the problem first:

http://www.essentialobjects.com/forum/postst3013_I-run-into-a-problem-can-I-send-over-my-code-so-that-you-can-take-a-look.aspx

Thanks
Menon
Posted: Tuesday, August 4, 2009 10:21:04 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.