adamdavies
Programmer
I have a few things i seem to be stuck on, if anyone can help.
1. I have set up a panel with a yes and no button, when i click delete on the datagrid a call the panel to be visible.
It asks if i would like to continue and delete the item, if yes i want it to call
Sub DataDelete(ByVal Sender As Object, ByVal E As DataGridCommandEventArgs)
from the button event
Private Sub Yes_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Yes.ServerClick
how do i do this, i cant call datadelete from inside Yes_ServerClick.
2. If i add a new item and again click
Private Sub Submit_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Yes.ServerClick
i would like to open a new aspx page in the same page
Can open a new aspx page but not in the page using jscript
3. Need to run a batch file on the server, can create a textfile on server would then like to run a batch file to send the text file to the com port to print.
Sorry so many questions, but ive been stuck on these issues for a while.
Thanks
adam
1. I have set up a panel with a yes and no button, when i click delete on the datagrid a call the panel to be visible.
It asks if i would like to continue and delete the item, if yes i want it to call
Sub DataDelete(ByVal Sender As Object, ByVal E As DataGridCommandEventArgs)
from the button event
Private Sub Yes_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Yes.ServerClick
how do i do this, i cant call datadelete from inside Yes_ServerClick.
2. If i add a new item and again click
Private Sub Submit_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Yes.ServerClick
i would like to open a new aspx page in the same page
Can open a new aspx page but not in the page using jscript
3. Need to run a batch file on the server, can create a textfile on server would then like to run a batch file to send the text file to the com port to print.
Sorry so many questions, but ive been stuck on these issues for a while.
Thanks
adam