My problem is as follows:
I have two buttons on a particular page. On the click of "Button A", it calls a function in another namespace (ExcelWriter()), returns to the Button A Click function and does more stuff, which at the end calls "Button B" Click function. The problem is that the page is not posting back after it goes through the "Button B" click sub.
So, it looks something like this:
Private Sub ButtonA_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonA.Click
Does some stuff....
Call ExcelWriter()
ButtonB_Click(sender, e)
End Sub
Private Sub ButtonB_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonB.Click
Does some stuff....
End Sub
Namespace SoftArtisans.Samples
Public Class ExcelWriterSamples
Shared Sub ExcelWriter()
Does some stuff...
End Sub
End Class
End Namespace
Any Ideas?
Thanks in Advance!
I have two buttons on a particular page. On the click of "Button A", it calls a function in another namespace (ExcelWriter()), returns to the Button A Click function and does more stuff, which at the end calls "Button B" Click function. The problem is that the page is not posting back after it goes through the "Button B" click sub.
So, it looks something like this:
Private Sub ButtonA_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonA.Click
Does some stuff....
Call ExcelWriter()
ButtonB_Click(sender, e)
End Sub
Private Sub ButtonB_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonB.Click
Does some stuff....
End Sub
Namespace SoftArtisans.Samples
Public Class ExcelWriterSamples
Shared Sub ExcelWriter()
Does some stuff...
End Sub
End Class
End Namespace
Any Ideas?
Thanks in Advance!