Pergunta

I have a PopupExtender that shows some information when a button in the GridView is pressed. This button exists on every row.

I also have a DropDownList present in every row that is populated by querying a database. I do this because it may be populated with different items depending on the row.

The problem I have is that the PopupExtender is slow to pop-up because of the RowDataBound event of the GridView that repopulates the DDLs from the database when the PopupExtender's associated button is pressed.

How can I make the PopUpExtender pop-up faster?

Foi útil?

Solução

You may need to consider jQuery Dialog instead of Asp.Net ajax popup extender. http://jqueryui.com/dialog/.

Also, do you really need gridview, You can try ListView control instead of GridView.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top