I have a .net calendar that starts and runs information from a database. By default, the day number has the opposite effect.
I am trying to do this with respect to the whole cell, so the user does not need to click only the text link.
I am a dayRenderer action. I have the following line to try and replicate the action, but the second argument I'm not sure how to set it.
It seems to give an identifier, for example. 3315, but I'm not sure how to get the required id manually for this code below. I hope this makes sense! I am new to .NET, so I don’t really understand my terminology!
e.Cell.Attributes.Add("OnClick",
string.Format("javascript:__doPostBack('{0}','{1}')",
Calendar1.ClientID, ***ID_NEEDED_HERE***));
source
share