Where are the functions "LoadStates", "LoadSuffixes" etc. declared ?

On Jan 30, 9:37 am, Learner <[email protected]> wrote:
> HI,
>
>   I have template column in my DataGrid
>
> <asp:TemplateColumn HeaderText="Title" FooterText="Title">
>                                                                               
>   <HeaderStyle Font-Bold="True" HorizontalAlign="Center"></
> HeaderStyle>
>                                                                               
>   <FooterStyle Font-Bold="True" />
>                                                                               
>   <ItemStyle Width="50px" CssClass="SFGridItem"
> VerticalAlign="Bottom"></ItemStyle>
>                                                                               
>   <ItemTemplate>
>                                                                               
>           <asp:Label id="lblTitle" runat="server"
> CssClass="SFGridItem" width="50px" Text= '<%# DataBinder.Eval
> (Container.DataItem, "Title") %>' />
>                                                                               
>   </ItemTemplate>
>                                                                               
>   <EditItemTemplate>
>                                                                               
>           <asp:DropDownList id="drpTitle" runat="server"
> CssClass="SFGridItem" Width="50px" DataSource="<%# LoadTitles() %>"
> DataMember="Title" DataTextField="Title" DataValueField="TitleID">
>                                                                               
>           </asp:DropDownList>
>                                                                               
>   </EditItemTemplate>
>                                                                         
> </asp:TemplateColumn>
>
> I have two other Template columns like this with DataSource=LoadStates
> () and DataSource=LoadSuffixes(). I couldn't figure out what is wrong
> with these columns but I get the below errors
>
> Error   1       Name 'LoadTitles' is not declared.      test.aspx       1     
>   1
> Error   2       Name 'LoadSuffixes' is not declared.    test.aspx       1     
>   1
> Error   3       Name 'LoadStates' is not declared.      Test.aspx       1     
>   1
>
> All the remaining columns are just fine. These errors are not letting
> me run the page.I also declared these three functions in the code
> behind page so chance of not decalring them. But not sure if some
> other error may be causing this 'not declared' error to display.
>
> Thanks in advance.
>
> -L

Reply via email to