By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,680 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,680 IT Pros & Developers. It's quick & easy.

Calendar calling server function

P: n/a
Hi,
I have a datagrid that needs to change when the date changes in my text
box. If I manually type my date in and tab(postback) , this works fine but
when i call a calendar popup window using javascript I can't seem to call
the server side function to change my datagrid. I am currently calling my
calendar through javascript on my onclick event of my button and the date
gets place on my text box very nicely:

function PopupCalendar() { var strWindowFeatures =
"toolbar=no,resize=no,titlebar=no,"; strWindowFeatures = strWindowFeatures +
"location=no,directories=no,status=no,scrollbars=n o,"; strWindowFeatures =
strWindowFeatures + "menubar=no,width=235,height=180,maximize=null ";
newWindow =
window.open('CalendarSelect.aspx?formname=TimeShee tEntry.txtDate','DateSelec
t',strWindowFeatures); }

I need to call a server side sub some how. Does anyone know how to do this?

Sub SubmitBtn_Click(sender As Object, e As EventArgs)
get datagrid info
end sub

Thanks,

Todd
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.