3

I have a page with two links that will open two different SharePoint modal dialog. Each of this modal dialog contains a SPGridView data control with Allow Filtering set to True. My problem is that only one of the spgridview is working fine, the other will throw a javascript error. In FireBug the error is CAMOpt is not defined. After comparing both spgridview I've found out that the visibility of the filter image is set to hidden. Please refer to the image below

Filtering image is not visible

Filtering image is visible

How can I fix this thing. Really appreciate any help. Thanks

2 Answers 2

1

accordingly to error with CAMOpt - make sure that js file that defines the function is referenced in popup, it seems to be - MENU.debug.js or MENU.js to build the menu.

Also the difference in visible/hidden is in filter option that is displayed when you mouse over the column.

0

Sounds like an issue with the way that particular grid column is set up. What type of column is it and what it the datatype to which you are binding?

1
  • I don't think its about the column, because I have the same spgrdiview with the same column working fine on a normal page (not Modal Dialog) Commented Nov 11, 2011 at 6:15

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.