Last post Aug 21, 2007 04:58 PM by boemans
Aug 21, 2007 04:21 PM|boemans|LINK
I am using a gridview to present the startdate and event name of some events that belong to a calendar.
What I want now is that you can click on the event name in the gridview and that it sets the selecteddate of the calendar to the startdate of this event.
I already transformed the BoundFields to TemplateFields, but now I'm stuck...
Aug 21, 2007 04:43 PM|mpt_fz|LINK
go to the .aspx source, change whatever the templete item to hyperlink.(Do not delete it, just change asp:textbox to asp: DropDownList for example - same for the end tag)
Aug 21, 2007 04:52 PM|limno|LINK
Here is the followup from your another question:
Aug 21, 2007 04:53 PM|boemans|LINK
Well, this is one column of my gridview:
So, it is already a label. But what code should I use to make a hyperlink of the label? I can write <a href="..." mce_href="...">...</a> for the label, but have now idea what I should write in the href...
EDIT: I didn't saw limno's solution. I will try this one first.
Aug 21, 2007 04:58 PM|boemans|LINK
this is the right solution for my problem!