I need to add 3 additional button in Add/Edit page.
How can i do?
thanks
I need to add 3 additional button in Add/Edit page.
How can i do?
thanks
Similar to this topic: http://www.hkvforums.com/viewtopic.php?f=4&t=33217
All you need to do is to use "Page_Render" server event that belongs to either "Add" or "Edit" page.
I've alredy tried this solution but it does not work
Fatal error: Call to a member function Add() on a non-object in XXX on line 838
Okay then. That solution above cannot be implemented for "Add" and "Edit" page, indeed. :(
Put the following code into your "Page_DataRendering" server event:
$header = "<button class='btn ewButton' name='myFirstBtn' id='myFirstBtn' type='submit'>My First Button</button> <button class='btn ewButton' name='mySecondBtn' id='mySecondtBtn' type='submit'>My Second Button</button> <button class='btn ewButton' name='myThirdBtn' id='myThirdBtn' type='submit'>My Third Button</button>";
mobhar wrote:
Put the following code into your "Page_DataRendering" server event:
$header = "<button class='btn ewButton' name='myFirstBtn' id='myFirstBtn' type='submit'>My
First Button</button> <button class='btn ewButton' name='mySecondBtn' id='mySecondtBtn'
type='submit'>My Second Button</button> <button class='btn ewButton' name='myThirdBtn'
id='myThirdBtn' type='submit'>My Third Button</button>";
It works
Thanks a lot.