I am having a hard time opening a new page from a button click. I have 2 calendar controls to get 2 dates before i parse a report on another asp page. I display these dates in 2 labels to the user.
when you select the date from the 2 calendar controls and press the button. I set the postbackurl to where i need to go. I have to press it a second time to actually get to that page.
Please tell me a better way? I am looking for something obvious in my intelisense to set but I see nothing that is catching my eye.
Thanks,
Jason
when you select the date from the 2 calendar controls and press the button. I set the postbackurl to where i need to go. I have to press it a second time to actually get to that page.
Code:
Me.btn_Report.PostBackUrl = "~/WSCardDateReport.asp?firstdate=" & Me.lbl_Date1.Text & "&lastdate=" & Me.lbl_Date2.Text
Please tell me a better way? I am looking for something obvious in my intelisense to set but I see nothing that is catching my eye.
Thanks,
Jason