Learn when you want, where you want with convenient online training courses. Sign up now!
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>Cal Extender Event</title>
//just about all calendar properties, etc are avail by using
//If you wanted to send back a more complex argument then I have used
//then de-serialize on the server side :)
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" />
<asp:TextBox ID="txtCal" runat="server" />
<asp:Button ID="btnCal" runat="server" Text="Show Calendar" />
public partial class Default7 : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
string eTarget = Request.Params.Get("__EVENTTARGET");
string eArg = Request.Params.Get("__EVENTARGUMENT");
if (!string.IsNullOrEmpty(eTarget) && !string.IsNullOrEmpty(eArg))
private void doStuff(string cTarget, string cArg)
Open in new window
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.