0

yui calendar control in asp .net datagrid

I am new to yui and am very impressed with their controls. I would like to update an asp.net application which uses htc calendars to use yui's calendar control. I've been able to create and use a calendar for most of the pages. However, I have an aspx page that uses a datagrid which contains calendars in each row. Since it's in a growing datagrid there could be a dynamic number of calendars. I'm used to creating calendars during initialization. Does anyone know how to include a yui calendar to each new row of an asp.net datagrid. A snippet of my code is shown below:

<asp:datagrid id=dgTags runat="server" AllowSorting="True"
DataSource="<%# dsdata.tables(0).defaultview %>"
AutoGenerateColumns="False" CssClass="Grid" BorderColor="black" BorderStyle=Solid>
<ItemStyle CssClass="GridItem" />
<AlternatingItemStyle CssClass="GridItem" />
<SelectedItemStyle CssClass="GridSelectedItem" />
<EditItemStyle CssClass="GridEditItem" />
<HeaderStyle CssClass="GridHeader" />
<FooterStyle CssClass="GridFooter" />
<Columns>
<asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update" CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>
<asp:TemplateColumn SortExpression="tagvalue" HeaderText="TagValue">
<ItemStyle VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<asp:TextBox id="txtReadonlyTagValueDisplay" runat="server" ReadOnly=True Text='<%# DataBinder.Eval(Container, "DataItem.TagValue") %>' CssClass="GridReadOnlyCell" >
</asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
????? How do I add a new YUI calendar here ?????
</EditItemTemplate>
</asp:TemplateColumn>
</columns>
</asp:datagrid>

by
1 Reply
  • You should ask this in the YUI forum, they'll be much better able to help :)Community Manager, YDN
    0

Recent Posts

in General Discussion at YDN