PDA

View Full Version : How to open a page with a button click



icarey
12 Jun 2010, 8:03 PM
I have a form with a button. This button is next to a combobox that displays data from a table.
When the user clicks the button I would like to open a page with an editor grid. This page already has and editor grid on it where the user updates a table. The edited or new data then appears in the combobox on the form

How can I open the page with the editor grid when the user clicks the button on the form?

Thanks,
Ivan

Animal
12 Jun 2010, 10:04 PM
Use a LinkButton (forum search for it)

You can set its URL dynamically, and because it uses an <a>, the user can see what he's about to do when he mouseovers it.

icarey
13 Jun 2010, 2:57 AM
thanks Animal
I found this post http://www.extjs.com/forum/showthread.php?80639-Ext.LinkButton-A-button-class-which-renders-an-lt-a-gt-element./page4&highlight=linkbutton
and applied the patch by grEvenX
Ivan