Hello all.
I am new to ASP.NET, and I have a problem which I am unable to solve.
Background:
ASP.NET 1.1
C#
Code behind model
Problem:
I have a page with a submit button and a calendar control. I use the following to find out which control posted back:
public static string getPostBackControl(Page page) {
string strControl = "";
string ctrlName = page.Request.Params.Get("__EVENTTARGET");
if (ctrlName != null && ctrlName != string.Empty) {
strControl = page.FindControl(ctrlName).ID.ToString();
} else {
Go to the complete details ...