This is a migrated thread and some comments may be shown as answers.

MasterTable not rendering in multipage

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 01 Jun 2010, 10:34 PM
Hello Telerik team,

I have a problem with multiple RadGrids in separate PageViews of a RadTabStrip/RadMultiPage control set

Here is the setup and the problem follows:

1. I have a RadTabStrip and a RadMultiPage connected by the MultiPageID property.
2. This Tab is part of a table that is part of a Panel that is initially not displayed (style:display: none")
3. All of this is contained is an MS Update Panel
4. There are 10 tabs.
5. On 4 of the tabs, I have a RadGrid created on the PageView for each of the 4 tabs

*** HOWEVER** Since I am doing client-side data binding, these grids do *NOT* bind when the page first loads (IsPostback = false)

6. I have implemented the OnCommand client side event for each of the Grids (However, they do not seem to fire when the page renders)

The problem:

- The user selects a function and the client displays the hidden panel.
- The user selects one of the Tabs that has a grid
- The client code fires an ADO.Net data service that returns the data to the browsre
- The DataService callback cannot locate the MasterTables because they have not been rendered

Can you help me figure out why the master tables do not render on the initial page load?

HINT: If I load the page and then immediately do a full browser page refresh, the tables *WILL* render !?!?!?!?!?

Thanks
Bob

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 04 Jun 2010, 02:59 PM
Hello Bob,

Could you please try rebinding the problematic grids in the OnClientTabSelected client-side event handler and see if it makes any difference?

Let me know how it goes.

Sincerely yours,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bob
Top achievements
Rank 1
answered on 04 Jun 2010, 03:07 PM
Duh.  Of course it worked!  Silly me.

Thanks (next time, I'll make it a bit harder for you ;)
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Bob
Top achievements
Rank 1
Share this question
or