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

open raddataform in NewItemTemplate mode

1 Answer 57 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Shaimaa
Top achievements
Rank 1
Shaimaa asked on 21 Feb 2012, 09:57 AM
hi ...

I wish to know if it is possible to view the rad dataform in new item mode when i click on a button which is not the one on the form.
I am not using the command buttons on the raddataform.

I really need a quick solution to do this.

Regards,
Shaimaa

1 Answer, 1 is accepted

Sort by
0
Philippe
Top achievements
Rank 1
answered on 06 Jul 2012, 01:14 AM
Isnt it just:

if (m_radDataForm.CanAddItems)
m_radDataForm.AddNewItem();

and to delete:

if (m_radDataForm.CanDeleteItems)
m_radDataForm.DeleteItem();

or something to that effect :P
Tags
DataForm
Asked by
Shaimaa
Top achievements
Rank 1
Answers by
Philippe
Top achievements
Rank 1
Share this question
or