472,125 Members | 1,412 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,125 software developers and data experts.

Calendar calling server function

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
0 819

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by SS | last post: by
6 posts views Thread by Mason | last post: by
4 posts views Thread by Andrew Chanter | last post: by
5 posts views Thread by Merex | last post: by
reply views Thread by Wyatt70 | last post: by
reply views Thread by GV | last post: by
3 posts views Thread by brianwolters | last post: by
7 posts views Thread by John Kotuby | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.